Changeset f95481 in git
- Timestamp:
- Dec 15, 2016, 4:40:47 PM (7 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
- Children:
- d4074372de7adff86fa2669958131b9b4b479376
- Parents:
- 929860465c793e498eda0b951eaf02942532ee38
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/omFindExec.c
r929860 rf95481 43 43 if (ABSOLUTE_FILENAME_P(name)) 44 44 { 45 /* If we can execute the named file then return it. */ 46 if (! access (name, X_OK)) 45 /* If the named file exists then return it. */ 46 if (! access (name, F_OK)) //think of libSingular.so as main binary 47 // r or x is required 47 48 { 48 49 strcpy(executable, name); … … 66 67 strcat (tbuf, "/"); 67 68 strcat (tbuf, name); 68 if (! access(tbuf, X_OK))69 if (! access(tbuf, F_OK)) 69 70 { 70 71 strcpy(executable, tbuf);
Note: See TracChangeset
for help on using the changeset viewer.