Re: libc0.3: TIOCFLUSH ioctl segfaults

2003-03-19 Thread Robert Millan
On Tue, Mar 18, 2003 at 08:13:05PM -0500, Roland McGrath wrote: > > Package: libc0.3 > > Severity: normal > > > > TIOCFLUSH ioctl causes segfault: > > Passing 0 where a pointer is required usually does. > This is not a bug. ok, i fixed the call properly and added some notes about this kind of po

Re: libc0.3: TIOCFLUSH ioctl segfaults

2003-03-18 Thread Roland McGrath
> Package: libc0.3 > Severity: normal > > TIOCFLUSH ioctl causes segfault: Passing 0 where a pointer is required usually does. This is not a bug. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

libc0.3: TIOCFLUSH ioctl segfaults

2003-03-18 Thread Robert Millan
Package: libc0.3 Severity: normal TIOCFLUSH ioctl causes segfault: $ cat test.c #include #include main () {ioctl (open("/tmp/file", O_CREAT|O_RDONLY|O_WRONLY), TIOCFLUSH, 0);} $ gcc -g test.c -o test $ LD_LIBRARY_PATH=/lib/debug gdb ./test [...] (gdb) r Starting program: /tmp/test Program rec