Remove default of disallowing null and option to allow it. Allow null is default and no option.

This commit is contained in:
Renaud 2013-06-10 15:00:15 +08:00
parent 45527243a0
commit b6c7a2cc80
3 changed files with 0 additions and 9 deletions

1
edef.h
View File

@ -82,7 +82,6 @@ extern char palstr[]; /* palette string */
extern int saveflag; /* Flags, saved with the $target var */
extern int rval; /* return value of a subprocess */
#if PKCODE
extern int nullflag;
extern int justflag; /* justify, don't fill */
#endif
extern int overlap; /* line overlap in forw/back page */

View File

@ -94,7 +94,6 @@ char palstr[49] = ""; /* palette string */
int saveflag = 0; /* Flags, saved with the $target var */
int rval = 0; /* return value of a subprocess */
#if PKCODE
int nullflag = FALSE; /* accept null characters */
int justflag = FALSE; /* justify, don't fill */
#endif
int overlap = 0; /* line overlap in forw/back page */

7
main.c
View File

@ -117,7 +117,6 @@ static void usage( void) {
#if CRYPT
" -k|K<key> use code key\n"
#endif
" -n|N accept null chars\n"
" -r|R restrictive use\n"
" -s|S<string> search string\n"
" -v|V view file\n"
@ -221,12 +220,6 @@ int main(int argc, char **argv)
cryptflag = TRUE;
strcpy(ekey, &argv[carg][2]);
break;
#endif
#if PKCODE
case 'n': /* -n accept null chars */
case 'N':
nullflag = TRUE;
break;
#endif
case 'r': /* -r restrictive use */
case 'R':