From 44ef21c57307694df6471b22eec7026d523dcf3e Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 29 Sep 1995 18:52:47 +0000 Subject: This gets() used \r\n, which is doggish. --- lib/libc/stdio/gets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') diff --git a/lib/libc/stdio/gets.c b/lib/libc/stdio/gets.c index 0517930..a22fd9d 100644 --- a/lib/libc/stdio/gets.c +++ b/lib/libc/stdio/gets.c @@ -49,7 +49,7 @@ gets(buf) register char *s; static int warned; static char w[] = - "warning: this program uses gets(), which is unsafe.\r\n"; + "warning: this program uses gets(), which is unsafe.\n"; if (!warned) { (void) write(STDERR_FILENO, w, sizeof(w) - 1); -- cgit v1.1