Changeset 3904 for trunk/libc/src/libc/emxload/emxloadp.c
- Timestamp:
- Oct 23, 2014, 11:45:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/src/libc/emxload/emxloadp.c
r3876 r3904 10 10 int _emxload_prog (const char *name, int seconds) 11 11 { 12 char buf1[MAXPATHLEN];13 12 char buf2[MAXPATHLEN]; 14 13 15 14 if (seconds != _EMXLOAD_INDEFINITE && seconds < 0) 16 15 return -1; 17 _strncpy (buf1, name, sizeof (buf1)); 18 _defext (buf1, "exe"); 19 if (_path (buf2, buf1) != 0 || _abspath (buf2, buf2, sizeof (buf2)) != 0) 16 if ( _path2 (name, ".exe", buf2, sizeof (buf2)) != 0 17 || _abspath (buf2, buf2, sizeof (buf2)) != 0) 20 18 return -1; 21 19 return _emxload_request (_EMXLOAD_LOAD, buf2, seconds);
Note:
See TracChangeset
for help on using the changeset viewer.