svn commit: r331943 - head/include
Cy Schubert
Cy.Schubert at cschubert.com
Tue Apr 3 21:00:55 UTC 2018
In message <20180403204057.GM1774 at kib.kiev.ua>, Konstantin Belousov
writes:
> On Tue, Apr 03, 2018 at 08:14:37PM +0000, Cy Schubert wrote:
> > Author: cy
> > Date: Tue Apr 3 20:14:37 2018
> > New Revision: 331943
> > URL: https://svnweb.freebsd.org/changeset/base/331943
> >
> > Log:
> > Include update to stdio.h missed in r331936.
> >
> > In my attempt to limit the commit in r331936 to only the gets_s()
> > commit and not include unrelated patches in my tree, this patch
> > was missed.
> >
> > Reported by: pfg
> > MFC after: 2 weeks
> > X-MFC with: r331936
> > Differential Revision: https://reviews.freebsd.org/D12785
> >
> > Modified:
> > head/include/stdio.h
> >
> > Modified: head/include/stdio.h
> > ===========================================================================
> ===
> > --- head/include/stdio.h Tue Apr 3 19:51:23 2018 (r331942)
> > +++ head/include/stdio.h Tue Apr 3 20:14:37 2018 (r331943)
> > @@ -51,6 +51,11 @@ typedef __size_t size_t;
> > #define _SIZE_T_DECLARED
> > #endif
> >
> > +#ifndef _RSIZE_T_DEFINED
> > +#define _RSIZE_T_DEFINED
> > +typedef size_t rsize_t;
> > +#endif
> > +
> > #if __POSIX_VISIBLE >= 200809
> > #ifndef _OFF_T_DECLARED
> > #define _OFF_T_DECLARED
> > @@ -265,6 +270,9 @@ size_t fwrite(const void * __restrict, size_t, size_t
> > int getc(FILE *);
> > int getchar(void);
> > char *gets(char *);
> > +#if defined(__EXT1_VISIBLE) && __EXT1_VISIBLE == 1
> What is the purpose of the __EXT1_VISIBLE == 1 check ?
> It is against the intended __XX_VISIBLE mechanism construction.
That appears to have been left over in my commit tree.
>
> > +char *gets_s(char *, rsize_t);
> > +#endif
> > void perror(const char *);
> > int printf(const char * __restrict, ...);
> > int putc(int, FILE *);
--
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX: <cy at FreeBSD.org> Web: http://www.FreeBSD.org
The need of the many outweighs the greed of the few.
More information about the svn-src-all
mailing list