Header patches for missing prototypes

edward tailbert@yahoo.com
Mon Jan 8 00:28:00 GMT 2001


Hello CygPeeps

I am not sure if these patches should be to cygwin or not, but here
they are.
The following functions are not defined in any of the header files.

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

winsup/cygwin/include/wchar.h    : wprintf

I have included two patches: newlib.patch and winsup.patch in a
compressed tar file.

run as follows:

cd /path/to/parent/of/newlib_and_winsup
gzip -cd newlib.patch | patch -p0
gzip -cd winsup.patch | patch -p0

Here are the ChangeLog's

newlib/ChangeLog:

Mon Jan  8 02:57:33 2001  Edward M. Lee  <tailbert@yahoo.com>

	* libc/include/grp.h: added prototype for initgroups
	* libc/include/stdio.h: added prototypes for getw, putw
	* libc/include/string.h: added prototype for memccpy
	* libc/include/sys/signal.h: added prototype for killpg
	* libc/include/sys/stat.h: enable mknod/lstat for CYGWIN
	* libc/include/sys/unistd.h: added prototypes for getpgid, setpgrp,
vhangup

winsup/cygwin/ChangeLog:

Mon Jan  8 03:00:31 2001  Edward M. Lee  <tailbert@yahoo.com>

	* include/wchar.h: added prototype for wprintf


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
edward.tar.gz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: edward.tar.gz
Type: application/x-gzip
Size: 1698 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010108/2b3c964a/attachment.bin>


More information about the Cygwin-patches mailing list