Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Brendan Kehoe
Mon, 06 Apr 1992 12:50
fileutils 3.2 and TIOCGWINSZ
Author: Brendan Kehoe
Date: Mon, 06 Apr 1992 12:50
Date: Mon, 06 Apr 1992 12:50
10 lines
920 bytes
920 bytes
When configured for a sparc, the symbol _POSIX_SOURCE gets defined because SunOS 4.1 and up have POSIX_VERSION in their sys/unistd.h header. As a result, the definition of TIOCGWINSZ isn't gleaned when ls.c includes sys/ioctl.h. The resulting behavior is ls defaulting to 80 column output for `-C' et al., since the COLUMNS env variable isn't defined by anything (e.g., bash). Is there any clean way to get around this? I just commented out the offending code in configure that sets _POSIX_SOURCE. Brendan
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads