in parse_rcfile(), fix a debugging message to display the long value of
a flag properly git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
32a285c1eb
commit
caac92012d
|
@ -59,6 +59,10 @@ CVS code -
|
|||
of 0 to get a string as long as we need is a nonportable GNU
|
||||
extension, and hence it won't work on non-GNU systems that
|
||||
don't define PATH_MAX. (DLR)
|
||||
- rcfile.c:
|
||||
parse_rcfile()
|
||||
- Fix debugging message to display the long value of a flag
|
||||
properly. (DLR)
|
||||
- utils.c:
|
||||
regexec_safe()
|
||||
- Rename to safe_regexec() for consistency. (DLR)
|
||||
|
|
|
@ -650,7 +650,7 @@ void parse_rcfile(FILE *rcstream)
|
|||
assert(FALSE);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "flag = %d\n", rcopts[i].flag);
|
||||
fprintf(stderr, "flag = %ld\n", rcopts[i].flag);
|
||||
#endif
|
||||
} else if (rcopts[i].flag != 0)
|
||||
UNSET(rcopts[i].flag);
|
||||
|
|
Loading…
Reference in New Issue