summaryrefslogtreecommitdiffstats
path: root/astro/aa/files/patch-dms.c
blob: ce3626e6c783b488391c1663ed9193fca3233c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- dms.c.orig	Sun Nov  1 18:59:47 1998
+++ dms.c	Fri Aug 11 13:23:07 2006
@@ -485,7 +485,7 @@
 else
 	printf( "Illegal input format\n"  );
 printf( ") ? ");
-gets(s);
+fgets(s, 40, stdin);
 if( s[0] != '\0' )
 	sscanf( s, format, num );
 return(0);
OpenPOWER on IntegriCloud