Module Name:    src
Committed By:   dholland
Date:           Sat Aug 27 06:31:42 UTC 2016

Modified Files:
        src/sys/lib/libsa: gets.c

Log Message:
PR 51200 gets in libsa considered harmful: remove gets() from libsa.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/lib/libsa/gets.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libsa/gets.c
diff -u src/sys/lib/libsa/gets.c:1.13 src/sys/lib/libsa/gets.c:1.14
--- src/sys/lib/libsa/gets.c:1.13	Sat Jun 11 06:20:11 2016
+++ src/sys/lib/libsa/gets.c	Sat Aug 27 06:31:42 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: gets.c,v 1.13 2016/06/11 06:20:11 dholland Exp $	*/
+/*	$NetBSD: gets.c,v 1.14 2016/08/27 06:31:42 dholland Exp $	*/
 
 /*-
  * Copyright (c) 1993
@@ -33,11 +33,13 @@
 
 #include "stand.h"
 
+#if 0 /* harmful */
 void
 gets(char *buf)
 {
 	kgets(buf, (size_t)-1);
 }
+#endif
 
 void
 kgets(char *buf, size_t size)

Reply via email to