[GRASS-SVN] r40448 -
grass/branches/releasebranch_6_4/lib/db/dbmi_base
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 14 03:31:38 EST 2010
Author: hamish
Date: 2010-01-14 03:31:37 -0500 (Thu, 14 Jan 2010)
New Revision: 40448
Modified:
grass/branches/releasebranch_6_4/lib/db/dbmi_base/login.c
Log:
use G_getl2() (merge from devbr6 r40314)
Modified: grass/branches/releasebranch_6_4/lib/db/dbmi_base/login.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/db/dbmi_base/login.c 2010-01-14 08:31:12 UTC (rev 40447)
+++ grass/branches/releasebranch_6_4/lib/db/dbmi_base/login.c 2010-01-14 08:31:37 UTC (rev 40448)
@@ -85,7 +85,7 @@
if (fd == NULL)
return -1;
- while (fgets(buf, 2000, fd)) {
+ while (G_getl2(buf, 2000, fd)) {
G_chop(buf);
usr[0] = pwd[0] = '\0';
More information about the grass-commit
mailing list