Changeset 67a731 in git
- Timestamp:
- May 19, 1998, 6:07:45 PM (25 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 3d40e9c77b67af8262c10ff618c95463f017eb14
- Parents:
- 13186eeed93079165a3d0e9fb0120a8950d99cef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/find_exec.c
r13186e r67a731 96 96 /* for winnt under msdos, cwd is implicetyly in the path */ 97 97 #ifdef WINNT 98 if (strlen(getenv("SHELL")) < 1) 98 p = getenv("SHELL"); 99 if (p == NULL || strlen(p < 2)) 99 100 { 100 /* we are under msdos */101 extra = (char*) AllocL( strlen(search) + 3);101 /* we are under msdos display */ 102 extra = (char*) AllocL((search != NULL ? strlen(search) : 0) + 3); 102 103 sprintf(extra, ".:"); 103 strcat(extra, search);104 if (search != NULL) strcat(extra, search); 104 105 search = extra; 105 106 }
Note: See TracChangeset
for help on using the changeset viewer.