Fossil

Check-in [0e877b0c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove unnecessary whitespace in fossil_pledge comment inadvertenly added by [8993c332].
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0e877b0c5bcefc9c2ff1c4c07fa5d3bda7ab1ca1162bc77f152e66179b32212f
User & Date: andybradford 2018-01-15 21:53:39.435
Context
2018-01-15
22:07
Update the built-in SQLite to the first 3.22.0 beta. ... (check-in: 1a95af72 user: drh tags: trunk)
21:53
Remove unnecessary whitespace in fossil_pledge comment inadvertenly added by [8993c332]. ... (check-in: 0e877b0c user: andybradford tags: trunk)
21:48
Update the comment for fossil_pledge to reflect the new change in [1180676e]. ... (check-in: 8993c332 user: andybradford tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/util.c.
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
#endif /* defined(RLIMIT_STACK) */
#endif /* defined(__unix__) */
}

#if defined(FOSSIL_HAVE_PLEDGE)
/*
** Interface to pledge() on OpenBSD 5.9 and later.
** 
** On platforms that have pledge(), use this routine.
** On all other platforms, this routine does not exist, but instead
** a macro defined in config.h is used to provide a no-op.
*/
void fossil_pledge(const char *promises, const char *execpromises){
  if( pledge(promises, execpromises) ){
    fossil_fatal("pledge(\"%s\",\"%s\") fails with errno=%d",







|







485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
#endif /* defined(RLIMIT_STACK) */
#endif /* defined(__unix__) */
}

#if defined(FOSSIL_HAVE_PLEDGE)
/*
** Interface to pledge() on OpenBSD 5.9 and later.
**
** On platforms that have pledge(), use this routine.
** On all other platforms, this routine does not exist, but instead
** a macro defined in config.h is used to provide a no-op.
*/
void fossil_pledge(const char *promises, const char *execpromises){
  if( pledge(promises, execpromises) ){
    fossil_fatal("pledge(\"%s\",\"%s\") fails with errno=%d",