Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <20010108082842.19436.qmail@web311.mail.yahoo.com> Date: Mon, 8 Jan 2001 00:28:42 -0800 (PST) From: edward Subject: Header patches for missing prototypes To: cygwin-patches AT cygwin DOT com Cc: cygwin-developers AT cygwin DOT com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1911165193-978942522=:17359" --0-1911165193-978942522=:17359 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 * 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 * include/wchar.h: added prototype for wprintf __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ --0-1911165193-978942522=:17359 Content-Type: application/x-gzip-compressed; name="edward.tar.gz" Content-Transfer-Encoding: base64 Content-Description: edward.tar.gz Content-Disposition: attachment; filename="edward.tar.gz" H4sICPB2WToAA2Vkd2FyZC50YXIA7Vjrb9s2EM9X+6+4oV/8tl62E68oMqTp liFNizrduk+CItG2EJkSRCmeh/7xO5KiTduynaZIOmA+JKYk3vFxv3uRlMyj 8K6TeJk/PXkmMkzD6DvOiWEY5qBniBb/eMtpMHDweWBZfWtgDQYW8lu2ZZ2A 8VwL0ilnmZcCnJBg7qXBbr6bmJKXWM8LUxCOx9D+Gy7+GEE7zYEKe2jHaTjp 4oPfDakf5QHpTtKkMy26S3qq7Xb7gHDlfUzhd48CnIJhDXvO0ByAhYZQbTab u0feEHPOhrYjxc7PoT3otfrQxN8BnJ9X4VU4pgEZg/vlw8fLG3f04fOni8sq +FMvrVQakzTOE3ecxjN3EgZQwx83a0FIs/rPVd5UKsBIJtgIzaAme5rYwBqF NJRcDGp+TFkmZoBGC8SQfLRXhKJuoduAn9YWA43ueufHD6OrL3pn9dGYsCwI 4x2oFH37cSmYSpA53Y9MuaDTG/bOVthYjsHB4c2pQEdubwWSO7r9dHVx6/5y M7pyXU3P7uWXd59vahOSzVu1d1fXqJj6GhAFQ5KvMwB/rDSK3nFOY8SxVUDk frz9BK4fx/chaVWhUuGj1Rop8YIxrdfWugs83bt8LOwDXFrXZOZpmJESIc0U NkS/AdM0pJOdoMrOQ6hKrqfAWirp2EOzp+FqClhN5XOIZUgJ3Hy+vgZDGTcC 3RTa0eCakZnvJ4uWUJtSl3xGRbWAhf8Q9B4OpBCt6ILTVAdyW4Krek1glqwL 6M97Zypf4Urk8VguWJeFE+pFu/DUGA5gqnGW4Hp2ANfd0s5g6BgrbE3ps7yR 6CKhQdMJYS3IpoTCnMA8jCKchwSQxRDEwOIZyaZoOUAihn6QkHTqYWz0ohi/ oZQYJkIjYRCP4fXM85GbdLNFQlhn+qYjI4NwFgnDPc7Q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