Fossil SCM

Now that pledge() is automatically detected, update the comment with the new name of the configuration parameter.

andybradford 2018-01-18 03:52 trunk
Commit 4f90d591aa09d249057d8d57288425c5650bbfca0cb346a6b9832194c024b089
1 file changed +1 -1
+1 -1
--- src/config.h
+++ src/config.h
@@ -257,11 +257,11 @@
257257
#define count(X) (sizeof(X)/sizeof(X[0]))
258258
259259
/*
260260
** The pledge() interface is currently only available on OpenBSD 5.9
261261
** 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.
263263
*/
264264
#if !defined(HAVE_PLEDGE)
265265
# define fossil_pledge(A)
266266
#endif
267267
268268
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button