Changeset 404 for trunk/dll/init.c
- Timestamp:
- Jul 29, 2006, 10:01:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/init.c
r339 r404 18 18 13 Jul 06 SHL Use Runtime_Error 19 19 13 Jul 06 SHL Sync with current style 20 29 Jul 06 SHL Use xfgets 20 21 21 22 ***********************************************************************/ … … 109 110 } 110 111 *filename = (CHAR)nm + '@'; 111 fp = xfsopen(filename, "r", SH_DENYNO, pszSrcFile,__LINE__);112 fp = xfsopen(filename, "r", SH_DENYNO, pszSrcFile, __LINE__); 112 113 if (fp) 113 114 { 114 while (!feof(fp)) 115 { 116 if (!fgets(input, 8192, fp)) 115 while (!feof(fp)) { 116 if (!xfgets(input, sizeof(input), fp,pszSrcFile, __LINE__)) 117 117 break; 118 input[8191] = 0;119 118 lstrip(input); 120 119 if (!strnicmp(input, "SWAPPATH", 8))
Note:
See TracChangeset
for help on using the changeset viewer.