[RFC] Move/Rename include/wait.h ("wait.h")

J.T. Conklin jtc@redback.com
Thu Dec 9 10:54:00 GMT 1999


>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
Andrew> I'd like to put forward the proposal that the file
Andrew> ``include/wait.h'' be either:
Andrew> 	o	renamed to include/gnu-wait.h (?)
Andrew> 	o	moved to gdb/gdb-wait.h

If it's not used by other programs, I'd recommend that it be moved to
gdb_wait.h (with an underscore, not a dash).  I created gdb_string.h
and gdb_stat.h long ago for the same sort of reasons.

We might also want to consider creating a gdb_fcntl.h header to wrap
fcntl.h.  It would would define O_BINARY to 0 on hosts that don't
distinguish between text and binary files; instead of having that
definition scattered throughout various *.c files.

        --jtc

-- 
J.T. Conklin
RedBack Networks


More information about the Gdb-patches mailing list