Re: [PATCH] hash.c: #include <reent.h>

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Jul 26 14:20, Ken Brown wrote:
> This is needed for the prototypes of _stat64 and _fstat64 on Cygwin.
> 
> Fixes: commit 279805b2 "hash functions: use reentrant stat functions".
> ---
>  newlib/libc/search/hash.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/newlib/libc/search/hash.c b/newlib/libc/search/hash.c
> index c76b157b3..60fbeb0fd 100644
> --- a/newlib/libc/search/hash.c
> +++ b/newlib/libc/search/hash.c
> @@ -43,6 +43,7 @@ static char sccsid[] = "@(#)hash.c	8.9 (Berkeley) 6/16/94";
>  
>  #include <sys/stat.h>
>  
> +#include <reent.h>
>  #include <errno.h>
>  #include <fcntl.h>
>  #include <stdio.h>
> -- 
> 2.21.0

Please push.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl07GAgACgkQ9TYGna5E
T6BB2A/+Ji5A4X1AJipdAgNy70SwWoXJ3otqrFbprmyIIC9NS7CF3sRrLbbUm4wt
7oJ9pFzbcjhHQwKBpRLiAyyLNx4NrAlw5fWa/lO6FkRMMFRdGa+MuGtLRXJLzB7X
kSwr9dsl0GXb4N4adcBErEyCqu3+iMx0ATXwxrGW0SX4UoLfQVv9Z0m8Vqap6BqA
QHWdBp/UQW+toqGLEEJ2tMZo8e9AGK64LsNjTBaV3eemJM1/2AEbxB65WDnaHiXc
/dwOG84o/Exmqjm3sutQ402sxZQ495QWUW3Lu8sScN8y2WHhWAS5jDupYz3J32ZO
JzMNpzY/zcBLVosIiICtl6nlzFF9DNy8J8DNeD39n/KEVIMeXPmCJTnIqzsTIMr/
VWFbSB61CS8joNoWyifH26dTE8fTdem3b5sC+SQMhTzViLH2hegrn/o2yz2/p/bs
yLLysp+qS4oHE5Z4QEGuA5ApFEReq32YJ9SSMmmYQ69S3TyRY0f2sA6Ty69wiUhD
hUTDadetD52ewBhFm0gV68GNrUICeeqsw4bxMvh2fsf80IWRTXQ1CnTzC2Acg5zA
e2wd3ozLwNp/AWD0i2gVV8i0GQ8PAMJZQsnqkfLeWi4/WOQt5BC7qnKCfxaj6wZe
LsWvpcD7Ey3rHIp+PyXNAZBs3yIQQM6lo2EO2bGqVplI4jsKRIs=
=kg8l
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.