Changeset 404 for trunk/dll/killproc.c
- Timestamp:
- Jul 29, 2006, 10:01:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/killproc.c
r350 r404 11 11 24 May 05 SHL Rework Win_Error usage 12 12 14 Jul 06 SHL Use Runtime_Error 13 29 Jul 06 SHL Use xfgets 13 14 14 15 ***********************************************************************/ … … 188 189 } 189 190 fp = fopen(s,"r"); 190 if (fp) {191 while (!feof(fp)) {191 if (fp) { 192 while (!feof(fp)) { 192 193 strset(s,0); 193 if (!fgets(s,1025,fp))194 if (!xfgets(s,1025,fp,pszSrcFile,__LINE__)) 194 195 break; 195 if (!foundstart) {196 if (*s == ' ' && strstr(s,startstring))196 if (!foundstart) { 197 if (*s == ' ' && strstr(s,startstring)) 197 198 foundstart = TRUE; 198 199 }
Note:
See TracChangeset
for help on using the changeset viewer.