[Bug 4417] New: hurd does not have CBAUD define, new getty.c fails to compile

bugzilla at busybox.net bugzilla at busybox.net
Sun Oct 30 17:51:49 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=4417

           Summary: hurd does not have CBAUD define, new getty.c fails to
                    compile
           Product: Busybox
           Version: 1.19.x
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: mjt+busybox at tls.msk.ru
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Created attachment 3715
  --> https://bugs.busybox.net/attachment.cgi?id=3715
patch to make CBAUD usage conditional

On hurd, CBAUD is not defined in <termios.h>.  So new getty.c (which were
rewritten in 1.19) fails to compile.

It looks like it is sufficient to check for CBAUD definition and enable that
place conditionally, since busybox correctly uses cfsetspeed() to set speed of
the device.  The attached patch does just that.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list