Fossil SCM

Fix a pledge() problem with the status command.

drh 2018-03-26 13:21 trunk
Commit e765f90ee7551d0d652e03fd95a77f809ebffe2b102699f69073e1f4d0d7a57b
1 file changed +1 -1
+1 -1
--- src/checkin.c
+++ src/checkin.c
@@ -472,11 +472,11 @@
472472
const char *zIgnoreFlag = find_option("ignore", 0, 1);
473473
unsigned scanFlags = 0;
474474
unsigned flags = 0;
475475
int vid, i;
476476
477
- fossil_pledge("stdio rpath wpath cpath id flock tty chown");
477
+ fossil_pledge("stdio rpath wpath cpath fattr id flock tty chown");
478478
479479
/* Load affirmative flag options. */
480480
for( i=0; i<count(flagDefs); ++i ){
481481
if( (command==CHANGES || !(flagDefs[i].mask & C_CLASSIFY))
482482
&& find_option(flagDefs[i].option, 0, 0) ){
483483
--- src/checkin.c
+++ src/checkin.c
@@ -472,11 +472,11 @@
472 const char *zIgnoreFlag = find_option("ignore", 0, 1);
473 unsigned scanFlags = 0;
474 unsigned flags = 0;
475 int vid, i;
476
477 fossil_pledge("stdio rpath wpath cpath id flock tty chown");
478
479 /* Load affirmative flag options. */
480 for( i=0; i<count(flagDefs); ++i ){
481 if( (command==CHANGES || !(flagDefs[i].mask & C_CLASSIFY))
482 && find_option(flagDefs[i].option, 0, 0) ){
483
--- src/checkin.c
+++ src/checkin.c
@@ -472,11 +472,11 @@
472 const char *zIgnoreFlag = find_option("ignore", 0, 1);
473 unsigned scanFlags = 0;
474 unsigned flags = 0;
475 int vid, i;
476
477 fossil_pledge("stdio rpath wpath cpath fattr id flock tty chown");
478
479 /* Load affirmative flag options. */
480 for( i=0; i<count(flagDefs); ++i ){
481 if( (command==CHANGES || !(flagDefs[i].mask & C_CLASSIFY))
482 && find_option(flagDefs[i].option, 0, 0) ){
483

Keyboard Shortcuts

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