[Asterisk-cvs] asterisk config.c,1.18,1.19
markster at lists.digium.com
markster at lists.digium.com
Thu May 20 03:39:27 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv3677
Modified Files:
config.c
Log Message:
Stage 1 of deadlock fix (bug #1673 -- but not yet solved, just started) and fix configs ending with no newline (bug #1672)
Index: config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/config.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- config.c 4 May 2004 14:54:42 -0000 1.18
+++ config.c 20 May 2004 07:52:07 -0000 1.19
@@ -740,9 +740,8 @@
return NULL;
}
while(!feof(f)) {
- fgets(buf, sizeof(buf), f);
lineno++;
- if (!feof(f)) {
+ if (fgets(buf, sizeof(buf), f)) {
if (cfg_process(tmp, _tmpc, _last, buf, lineno, configfile, includelevel
#ifdef PRESERVE_COMMENTS
, acs
More information about the svn-commits
mailing list