All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gets: note that glibc 2.16 has removed the definition of gets()
@ 2013-07-12 16:42 Shawn Landden
       [not found] ` <1373647368-12099-1-git-send-email-shawnlandden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn Landden @ 2013-07-12 16:42 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Shawn Landden

---
 man3/gets.3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man3/gets.3 b/man3/gets.3
index 85747ef..bd65b9c 100644
--- a/man3/gets.3
+++ b/man3/gets.3
@@ -162,7 +162,9 @@ it is extremely dangerous to use.
 It has been used to break computer security.
 Use
 .BR fgets ()
-instead.
+instead. glibc 2.16 does not define
+.BR gets ()
+.
 .PP
 It is not advisable to mix calls to input functions from the
 .I stdio
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gets: note that glibc 2.16 has removed the definition of gets()
       [not found] ` <1373647368-12099-1-git-send-email-shawnlandden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2013-07-16  6:22   ` Michael Kerrisk
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2013-07-16  6:22 UTC (permalink / raw)
  To: Shawn Landden
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Hi Shawn

This isn't really correct. See the CONFORMING TO section in the man-page.

Cheers,

Michael


On 07/12/13 18:42, Shawn Landden wrote:
> ---
>  man3/gets.3 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/man3/gets.3 b/man3/gets.3
> index 85747ef..bd65b9c 100644
> --- a/man3/gets.3
> +++ b/man3/gets.3
> @@ -162,7 +162,9 @@ it is extremely dangerous to use.
>  It has been used to break computer security.
>  Use
>  .BR fgets ()
> -instead.
> +instead. glibc 2.16 does not define
> +.BR gets ()
> +.
>  .PP
>  It is not advisable to mix calls to input functions from the
>  .I stdio
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-16  6:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12 16:42 [PATCH] gets: note that glibc 2.16 has removed the definition of gets() Shawn Landden
     [not found] ` <1373647368-12099-1-git-send-email-shawnlandden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-07-16  6:22   ` Michael Kerrisk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.