public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Updated headers (take 2)
       [not found] <20010207064226.26176.qmail@web310.mail.yahoo.com>
@ 2001-02-08 17:10 ` J. Johnston
  0 siblings, 0 replies; only message in thread
From: J. Johnston @ 2001-02-08 17:10 UTC (permalink / raw)
  To: edward; +Cc: newlib, cygwin

edward wrote:
> 
> Sorry! I cvs diff'd against a test directory, instead of the actual cvs
> directory. Enclosed are the real patches. Also, removed duplicate
> prototypes for getw/putw in stdio.h. Diff's against updates as of
> midnight.
> 
> Enclosed are patches to header files for mostly missing prototypes.
> Also enclosed is one real patch to putw/setw, which has a missing
> argument in the prototype.
> 
> Cheers,
> edward.
> 
> Summary:
> 
> newlib/libc/include/grp.h        : initgroups   <- yes it's a stub, but
> it's nice to have the prototype
> newlib/libc/include/stdio.h      : getw
> newlib/libc/include/stdio.h      : putw
> newlib/libc/include/string.h     : memccpy
> newlib/libc/include/sys/signal.h : killpg
> newlib/libc/include/sys/stat.h   : mknod                <- yes it's a stub, but it's
> nice to have the prototype
> newlib/libc/include/sys/unistd.h : getpgid
> newlib/libc/include/sys/unistd.h : setpgrp
> newlib/libc/include/sys/unistd.h : vhangup
> 
> ChangeLog:
> 
> Mon Feb  7 02:57:33 2001  Edward M. Lee  <tailbert@yahoo.com>
> 
>         * libc/include/grp.h: add prototype for initgroups
>         * libc/include/stdio.h: fix prototype for putw; remove duplicate
> prototypes of getw/putw
>         * libc/include/string.h: add prototype for memccpy
>         * libc/include/sys/signal.h: add prototype for killpg
>         * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN
>         * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
> vhangup
> 
> __________________________________________________

Edward,

  The patch has been checked in with some modifications.  First of all, memccpy is
already in string.h.  Your putw change added a variable name "w" which we 
avoid so it was reverted.  There were no duplicate prototypes for getw and putw.  
Adding a prototype for mknod breaks Cygwin since it doesn't match the empty prototype
in syscalls.cc.  When syscalls.cc changes, the mknod prototype can be added back.  
The killpg() function prototype has been changed to match the Single Unix specification.  The Cygwin
developers here have changed it in the online sources so it matches.  The final change was to note
that
you removed a duplicate prototype for sysconf.

-- Jeff J.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-08 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20010207064226.26176.qmail@web310.mail.yahoo.com>
2001-02-08 17:10 ` Updated headers (take 2) J. Johnston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).