[PATCH 20/20] unlocked stdio extensions

Corinna Vinschen vinschen@redhat.com
Wed Dec 17 21:17:00 GMT 2014


Looks good, but there's one problem left:

On Dec 17 14:45, Yaakov Selkowitz wrote:
> Index: libc/include/stdio.h
> ===================================================================
> RCS file: /cvs/src/src/newlib/libc/include/stdio.h,v
> retrieving revision 1.73
> diff -u -p -r1.73 stdio.h
> --- libc/include/stdio.h	15 Dec 2014 18:22:56 -0000	1.73
> +++ libc/include/stdio.h	17 Dec 2014 20:43:17 -0000
> [...]
> @@ -659,6 +682,10 @@ _ELIDABLE_INLINE int __sputc_r(struct _r
>  #define	feof(p)		__sfeof(p)
>  #define	ferror(p)	__sferror(p)
>  #define	clearerr(p)	__sclearerr(p)
> +
> +#define	feof_unlocked(p)	__sfeof(p)
> +#define	ferror_unlocked(p)	__sferror(p)
> +#define	clearerr_unlocked(p)	__sclearerr(p)
>  #endif

These macros should be only defined if __BSD_VISIBLE.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20141217/264e3147/attachment.sig>


More information about the Newlib mailing list