Fossil SCM
Now that pledge() is automatically detected, update the comment with the new name of the configuration parameter.
Commit
4f90d591aa09d249057d8d57288425c5650bbfca0cb346a6b9832194c024b089
Parent
91ccde50a003cff…
1 file changed
+1
-1
+1
-1
| --- src/config.h | ||
| +++ src/config.h | ||
| @@ -257,11 +257,11 @@ | ||
| 257 | 257 | #define count(X) (sizeof(X)/sizeof(X[0])) |
| 258 | 258 | |
| 259 | 259 | /* |
| 260 | 260 | ** The pledge() interface is currently only available on OpenBSD 5.9 |
| 261 | 261 | ** and later. Make calls to fossil_pledge() no-ops on all platforms |
| 262 | -** that omit the FOSSIL_HAVE_PLEDGE configuration parameter. | |
| 262 | +** that omit the HAVE_PLEDGE configuration parameter. | |
| 263 | 263 | */ |
| 264 | 264 | #if !defined(HAVE_PLEDGE) |
| 265 | 265 | # define fossil_pledge(A) |
| 266 | 266 | #endif |
| 267 | 267 | |
| 268 | 268 |
| --- src/config.h | |
| +++ src/config.h | |
| @@ -257,11 +257,11 @@ | |
| 257 | #define count(X) (sizeof(X)/sizeof(X[0])) |
| 258 | |
| 259 | /* |
| 260 | ** The pledge() interface is currently only available on OpenBSD 5.9 |
| 261 | ** and later. Make calls to fossil_pledge() no-ops on all platforms |
| 262 | ** that omit the FOSSIL_HAVE_PLEDGE configuration parameter. |
| 263 | */ |
| 264 | #if !defined(HAVE_PLEDGE) |
| 265 | # define fossil_pledge(A) |
| 266 | #endif |
| 267 | |
| 268 |
| --- src/config.h | |
| +++ src/config.h | |
| @@ -257,11 +257,11 @@ | |
| 257 | #define count(X) (sizeof(X)/sizeof(X[0])) |
| 258 | |
| 259 | /* |
| 260 | ** The pledge() interface is currently only available on OpenBSD 5.9 |
| 261 | ** and later. Make calls to fossil_pledge() no-ops on all platforms |
| 262 | ** that omit the HAVE_PLEDGE configuration parameter. |
| 263 | */ |
| 264 | #if !defined(HAVE_PLEDGE) |
| 265 | # define fossil_pledge(A) |
| 266 | #endif |
| 267 | |
| 268 |