Fossil SCM
End with matching #define for new fossil_pledge_impl() routine.
Commit
cefcc87e08cbc946a73060f69a99c222648afd22b5797da840d1672303db2545
Parent
7b81a9993b4c819…
1 file changed
+1
-1
+1
-1
| --- src/util.c | ||
| +++ src/util.c | ||
| @@ -498,6 +498,6 @@ | ||
| 498 | 498 | if( pledge(promises, execpromises) ){ |
| 499 | 499 | fossil_fatal("pledge(\"%s\",\"%s\") fails with errno=%d", |
| 500 | 500 | promises, execpromises, (int)errno); |
| 501 | 501 | } |
| 502 | 502 | } |
| 503 | -#endif /* defined(__OpenBSD__) */ | |
| 503 | +#endif /* defined(FOSSIL_HAVE_PLEDGE) */ | |
| 504 | 504 |
| --- src/util.c | |
| +++ src/util.c | |
| @@ -498,6 +498,6 @@ | |
| 498 | if( pledge(promises, execpromises) ){ |
| 499 | fossil_fatal("pledge(\"%s\",\"%s\") fails with errno=%d", |
| 500 | promises, execpromises, (int)errno); |
| 501 | } |
| 502 | } |
| 503 | #endif /* defined(__OpenBSD__) */ |
| 504 |
| --- src/util.c | |
| +++ src/util.c | |
| @@ -498,6 +498,6 @@ | |
| 498 | if( pledge(promises, execpromises) ){ |
| 499 | fossil_fatal("pledge(\"%s\",\"%s\") fails with errno=%d", |
| 500 | promises, execpromises, (int)errno); |
| 501 | } |
| 502 | } |
| 503 | #endif /* defined(FOSSIL_HAVE_PLEDGE) */ |
| 504 |