mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
e5f34fc2be
In current version, one is forgotten. Bump PORTREVISION. PR: 41277 Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
15 lines
275 B
Plaintext
15 lines
275 B
Plaintext
--- gets.c.orig Wed Dec 30 17:05:40 1998
|
|
+++ gets.c Fri Mar 22 23:29:05 2002
|
|
@@ -68,8 +68,10 @@
|
|
}
|
|
for (s = buf; (c = getchar()) != '\n';)
|
|
if (c == EOF)
|
|
- if (s == buf)
|
|
+ if (s == buf) {
|
|
+ exit_violation();
|
|
return (NULL);
|
|
+ }
|
|
else
|
|
break;
|
|
else
|