From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10653 invoked by alias); 1 Jul 2017 13:44:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10636 invoked by uid 89); 1 Jul 2017 13:44:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=remedies, Hx-languages-length:927, H*c:NHxtPHrt, H*UA:Outlook X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.15.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 01 Jul 2017 13:44:18 +0000 Received: from ODTOSH2015 ([79.193.100.188]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LzKmP-1dmwD140Cf-014Vi5 for ; Sat, 01 Jul 2017 15:44:15 +0200 From: "Jannick" To: Subject: [PATCH] glob.h (i686-pc-mingw32) b/c wrong function prototype of function 'glob' Date: Sat, 01 Jul 2017 13:44:00 -0000 Message-ID: <009501d2f270$209bb520$61d31f60$@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0096_01D2F280.E426CF10" X-UI-Out-Filterresults: notjunk:1;V01:K0:0Dc6yWWhX0o=:FjbyVKbSZrBp0WnNMjDFvt mARpdclC9O6f9YPCu9oj2z3vnCMH4SOFZLUBcO+IVY5Gx+5l/hfGdwIhIM+mhv/b4wW5opXBD noOZxq8zVOnW3TIzFbj74rRq3l7hlmzMCdZLeF+W9uQCqG5fPTbP5hR7rF/cH7G/BzBupFzll jDL4TPBoGUqC0Kgcd0sWuVvT5cu5yhzRo8+e/P4+NjjDTJQwcv4Y/TK541VqfGMErxNHONbd/ 3+9cAZbT30FSlcUxBed6CtRS7GfL7Rby6NHWIGh+G00CX2a7G7FKM7EyG8RQx2EYS3ceooe+q ve2EGaRJX0vQFGzoSdekAuB4ptGce1e3ZgQLW/oQ+iqBGZCBPIJGj5ifxzPiJ2BVzST0y4iET tKNk4SptukBJoB/1q7qbcbkHWzxONKXled2T4OCnvyXASBmIwU6IMHEI5PR0SkBbCOKPuDJ1R ImNCd6C+8YDze4sUZSLfxCOQEWsFXcWokPUaV0ecfqPfSIZ+P9839vCEO+3+azPYrSO70zP9q rLF104asULiP8uYcCA6JuzGJObb4QhtENQNWUHsCe76TIwIctQCgJ3P6Rq0OMA/h4VPZafQBI jUdJNIewcXiljm43vT5DXX2Q/YU313mob/l4QTooww7yPbUFHzyUO2HO8YcbBFOS+hlFeowby szU8MldBzv9HiA5xFNUIlhX9CL/JbrsK9j4JU72D3wf3CSB6OFq+8prA/vzKk0HQfeUjOb+xh NFP/jSTs2eNtnTNBlO78JYyZdcYmNCv2EXA5bDkjd9+I8Cap9LgkYGa5+X0= X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00007.txt.bz2 ------=_NextPart_000_0096_01D2F280.E426CF10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-length: 850 Attached a tiny patch to i686-pc-mingw32' glob.h which remedies a function prototype definition error thrown upon compilation. I am hoping that this is the correct one of cygwin's mail-lists, please advise otherwise. Thanks, J. --- C:/cygwin32/usr/i686-pc-mingw32/sys-root/mingw/include/nppBackup/glob.h.2017 -06-25_142140.bak Tue Jul 16 00:34:26 2013 +++ C:/cygwin32/usr/i686-pc-mingw32/sys-root/mingw/include/glob.h Sun Jun 25 14:21:40 2017 @@ -142,7 +142,8 @@ #define GLOB_INLINE static __inline__ __attribute__((__always_inline__)) GLOB_INLINE int glob -( const char *__pattern, int __flags, int (*__errfunc)(), glob_t *__data ) +( const char *__pattern, int __flags, int (*__errfunc) (const char *, int), glob_t *__data ) { return __mingw_glob( __pattern, __flags, __errfunc, __data ); } GLOB_INLINE void globfree( glob_t *__data ) ------=_NextPart_000_0096_01D2F280.E426CF10 Content-Type: application/octet-stream; name="glob.h.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="glob.h.patch" Content-length: 680 --- C:/cygwin32/usr/i686-pc-mingw32/sys-root/mingw/include/nppBackup/glob.h= .2017-06-25_142140.bak Tue Jul 16 00:34:26 2013=0A= +++ C:/cygwin32/usr/i686-pc-mingw32/sys-root/mingw/include/glob.h Sun Jun 2= 5 14:21:40 2017=0A= @@ -142,7 +142,8 @@=0A= #define GLOB_INLINE static __inline__ __attribute__((__always_inline__))= =0A= =20=0A= GLOB_INLINE int glob=0A= -( const char *__pattern, int __flags, int (*__errfunc)(), glob_t *__data )= =0A= +( const char *__pattern, int __flags, int (*__errfunc) (const char *, int)= , glob_t *__data )=0A= { return __mingw_glob( __pattern, __flags, __errfunc, __data ); }=0A= =20=0A= GLOB_INLINE void globfree( glob_t *__data )=0A= =0A= ------=_NextPart_000_0096_01D2F280.E426CF10 Content-Type: text/plain; charset=us-ascii Content-length: 219 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ------=_NextPart_000_0096_01D2F280.E426CF10--