head	1.2;
access;
symbols
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2002.03.22.08.23.22;	author wjv;	state dead;
branches;
next	1.1;

1.1
date	2000.10.03.01.10.19;	author jeh;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Fix certain mistakes in FreeBSD patches
- Bump PORTREVISION
- Poroblem originally reported by Fernan Aguero <fernan@@iib.unsam.edu.ar> on
  FreeBSD-bio list

PR:		36169
Submitted by:	David A. Bader <dbader@@eece.unm.edu> (MAINTAINER)
@
text
@--- util.c.orig	Wed Jun  7 16:50:08 2000
+++ util.c	Tue Aug  8 02:59:43 2000
@@@@ -174,7 +174,7 @@@@
 void getstr(char *instr,char *outstr)
 {	
 	fprintf(stdout,"%s: ",instr);
-	gets(outstr);
+	fgets(outstr,sizeof(outstr),stdin);
 }
 
 double getreal(char *instr,double minx,double maxx,double def)
@@@@ -185,7 +185,7 @@@@
 	
 	while(TRUE) {
 		fprintf(stdout,"%s (%.1f-%.1f)   [%.1f]: ",instr,minx,maxx,def);
-		gets(line);
+		fgets(line,sizeof(line),stdin);
 		status=sscanf(line,"%f",&ret);
 		if(status == EOF) return def;
 		if(ret>maxx) {
@@@@ -210,7 +210,7 @@@@
 	while(TRUE) {
 		fprintf(stdout,"%s (%d..%d)    [%d]: ",
 		instr,(pint)minx,(pint)maxx,(pint)def);
-		gets(line);
+		fgets(line,sizeof(line),stdin);
 		status=sscanf(line,"%d",&ret);
 		if(status == EOF) return def;
 		if(ret>maxx) {
@


1.1
log
@- Support CC/CFLAGS/PREFIX properly
- gets() -> fgets()
- Add WWW: line into pkg/DESCR

Also bumped PORTREVISION to 1

PR:		21572
Submitted by:	tkato@@prontomail.ne.jp <KATO@@FreeBSD.ORG, Tsuguru@@FreeBSD.ORG>
Reviewed by:	will
Approved by:	MAINTAINER (dbader@@eece.unm.edu)
@
text
@@

