This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 20/20] unlocked stdio extensions


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

Attachment: pgpxyqmdCXDZa.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]