Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 20:22:02 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r331944 - in projects/krb5: include lib/libc/stdio
Message-ID:  <201804032022.w33KM2n6048162@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Tue Apr  3 20:22:02 2018
New Revision: 331944
URL: https://svnweb.freebsd.org/changeset/base/331944

Log:
  MFH to r331943.

Modified:
  projects/krb5/include/stdio.h
  projects/krb5/lib/libc/stdio/fgets.3
Directory Properties:
  projects/krb5/   (props changed)

Modified: projects/krb5/include/stdio.h
==============================================================================
--- projects/krb5/include/stdio.h	Tue Apr  3 20:14:37 2018	(r331943)
+++ projects/krb5/include/stdio.h	Tue Apr  3 20:22:02 2018	(r331944)
@@ -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
+char	*gets_s(char *, rsize_t);
+#endif
 void	 perror(const char *);
 int	 printf(const char * __restrict, ...);
 int	 putc(int, FILE *);

Modified: projects/krb5/lib/libc/stdio/fgets.3
==============================================================================
--- projects/krb5/lib/libc/stdio/fgets.3	Tue Apr  3 20:14:37 2018	(r331943)
+++ projects/krb5/lib/libc/stdio/fgets.3	Tue Apr  3 20:22:02 2018	(r331944)
@@ -32,12 +32,13 @@
 .\"     @(#)fgets.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd May 5, 2012
+.Dd April 3, 2018
 .Dt FGETS 3
 .Os
 .Sh NAME
 .Nm fgets ,
-.Nm gets
+.Nm gets ,
+.Nm gets_s
 .Nd get a line from a stream
 .Sh LIBRARY
 .Lb libc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804032022.w33KM2n6048162>