Skip to content
Tcl Source Code History Of Ticket 219405
Login

History Of Ticket 219405

Artifacts Associated With Ticket 219405

  1. Ticket change [43c7466ca9] (rid 116619) by nobody on 2000-10-26 05:12:31:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 6316 Bug
      Version: 8.3.1
      SubmitDate: '2000-09-27'
      LastModified: '2000-10-25'
      Severity: LOW
      Status: UnAssn
      Submitter: techsupp
      OS: Linux-SuSE
      OSVersion: 7.0
      Machine: PII/400
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Reinhard Max
      
      Comments:
      I assume that it is sufficient to look, if the respective header files
          exist instead of testing, if the APIs actually work at configuration
          time. This seems to be right for Linux, but I don't know if it is also
          true for other systems.
      
      ReproducibleScript:
      unix $ ./configure
      [...]
      checking termios vs. termio vs. sgtty... termios
      [...]
      unix $./configure </dev/null
      [...]
      checking termios vs. termio vs. sgtty... none
      [...]
      
      ObservedBehavior:
      When unix/configure is called with stdin not being a tty the test wheather termios, termio or sgtty is availible fails and the "-mode" option to "fconfigure" isn't compiled in.
      
      DesiredBehavior:
      unix $ ./configure </dev/null
      [...]
      checking termios vs. termio vs. sgtty... termios
      [...]
      
      Patch:
      --- unix/tcl.m4
      +++ unix/tcl.m4 2000/09/13 09:53:43
      @@ -1215,60 +1215,23 @@
       #--------------------------------------------------------------------
      
       AC_DEFUN(SC_SERIAL_PORT, [
      -    AC_MSG_CHECKING([termios vs. termio vs. sgtty])
      
      -    AC_TRY_RUN([
      -#include <termios.h>
      -
      -main()
      -{
      -    struct termios t;
      -    if (tcgetattr(0, &t) == 0) {
      -       cfsetospeed(&t, 0);
      -       t.c_cflag |= PARENB | PARODD | CSIZE | CSTOPB;
      -       return 0;
      -    }
      -    return 1;
      -}], tk_ok=termios, tk_ok=no, tk_ok=no)
      +    AC_CHECK_HEADER(termios.h, tk_ok=termios, tk_ok=no)
      
           if test $tk_ok = termios; then
              AC_DEFINE(USE_TERMIOS)
           else
      -       AC_TRY_RUN([
      -#include <termio.h>
      -
      -main()
      -{
      -    struct termio t;
      -    if (ioctl(0, TCGETA, &t) == 0) {
      -       t.c_cflag |= CBAUD | PARENB | PARODD | CSIZE | CSTOPB;
      -       return 0;
      -    }
      -    return 1;
      -    }], tk_ok=termio, tk_ok=no, tk_ok=no)
      +       AC_CHECK_HEADER(termio.h, tk_ok=termio, tk_ok=no)
      
           if test $tk_ok = termio; then
              AC_DEFINE(USE_TERMIO)
           else
      -       AC_TRY_RUN([
      -#include <sgtty.h>
      -
      -main()
      -{
      -    struct sgttyb t;
      -    if (ioctl(0, TIOCGETP, &t) == 0) {
      -       t.sg_ospeed = 0;
      -       t.sg_flags |= ODDP | EVENP | RAW;
      -       return 0;
      -    }
      -    return 1;
      -}], tk_ok=sgtty, tk_ok=none, tk_ok=none)
      +       AC_CHECK_HEADER(sgtty.h, tk_ok=sgtty, tk_ok=none)
           if test $tk_ok = sgtty; then
              AC_DEFINE(USE_SGTTY)
           fi
           fi
           fi
      -    AC_MSG_RESULT($tk_ok)
       ])
      
      PatchFiles:
      unix/tcl.m4
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.3.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "detection of the system's tty API is bad."
    11. type initialized to: "Bug"
  2. Ticket change [b215c96ad1] (rid 98274) by dkf on 2000-11-19 18:33:11:

    1. icomment:
      I don't know what the consequences of doing this are.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. subsystem changed to: "95. contrib ports"
    5. username: "dkf"
  3. Ticket change [6e23c940fa] (rid 128825) by rmax on 2001-02-07 13:55:48:

    1. icomment:
      Submitted a hopefully better and more portable patch as patch #103639 and #102923..
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  4. Ticket change [5c8af6a93f] (rid 115316) by dkf on 2001-02-08 21:48:39:

    1. subsystem changed to: "53. Configuration and Build Tools"
  5. Ticket change [279254bf39] (rid 88545) by hobbs on 2001-04-03 13:29:11:

    1. assignee changed to: "hobbs"
  6. Ticket change [72161117ea] (rid 100800) by hobbs on 2001-04-05 05:14:14:

    1. closedate changed to: "2001-04-04T22:14:14"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Fixed in 8.4a3/8.3.3, see patch at 402923.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"