Changeset 16 in kBuild for trunk/doc/docdesign.c
- Timestamp:
- Oct 16, 2002 11:21:04 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/docdesign.c
r15 r16 405 405 for (argi = 1, rc = 0; !rc && argi < argc; argi++) 406 406 { 407 rc = ParseFile(argv[argi]); 407 if (argv[argi][0] == '@') 408 { 409 FILE *phFile = fopen(&argv[argi][1], "r"); 410 if (phFile) 411 { 412 char szFilename[1024]; 413 while (!rc && fgets(szFilename, sizeof(szFilename), phFile)) 414 { 415 char *psz = szFilename; 416 char *pszEnd = &psz[strlen(psz)] - 1; 417 while (*psz == '\t' || *psz == ' ') psz++; 418 while (pszEnd >= psz && (*pszEnd == '\t' || *pszEnd == ' ' || *pszEnd == '\n' || *pszEnd == '\r')) 419 *pszEnd-- = '\0'; 420 rc = ParseFile(psz); 421 } 422 } 423 } 424 else 425 rc = ParseFile(argv[argi]); 408 426 } 409 427
Note:
See TracChangeset
for help on using the changeset viewer.