- Timestamp:
- Sep 16, 2020, 11:13:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/main.c
r3438 r3474 378 378 char *fullname; 379 379 const char *path = pathval(psh); 380 struct stat statb;381 380 382 381 /* don't try this for absolute or relative paths */ … … 385 384 386 385 while ((fullname = padvance(psh, &path, basename)) != NULL) { 387 if ( (shfile_stat(&psh->fdtab, fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {386 if (shfile_stat_isreg(&psh->fdtab, fullname) > 0) { 388 387 /* 389 388 * Don't bother freeing here, since it will
Note:
See TracChangeset
for help on using the changeset viewer.