head	1.2;
access;
symbols
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2006.12.14.13.33.30;	author miwi;	state dead;
branches;
next	1.1;

1.1
date	2002.08.03.07.52.47;	author sobomax;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Update to 1.4.1

PR:		106679
Submitted by:	TAKAHASHI Kaoru <kaoru@@kaisei.org>
@
text
@--- 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
@


1.1
log
@In gets(), two return's exist, and both should be wrapped with exit_violation.
In current version, one is forgotten. Bump PORTREVISION.

PR:		41277
Submitted by:	Valentin Nechayev <netch@@netch.kiev.ua>
@
text
@@

