1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-06-09 05:20:42 +00:00

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 saveflag; /* Flags, saved with the $target var */
extern int rval; /* return value of a subprocess */ extern int rval; /* return value of a subprocess */
#if PKCODE #if PKCODE
extern int nullflag;
extern int justflag; /* justify, don't fill */ extern int justflag; /* justify, don't fill */
#endif #endif
extern int overlap; /* line overlap in forw/back page */ 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 saveflag = 0; /* Flags, saved with the $target var */
int rval = 0; /* return value of a subprocess */ int rval = 0; /* return value of a subprocess */
#if PKCODE #if PKCODE
int nullflag = FALSE; /* accept null characters */
int justflag = FALSE; /* justify, don't fill */ int justflag = FALSE; /* justify, don't fill */
#endif #endif
int overlap = 0; /* line overlap in forw/back page */ int overlap = 0; /* line overlap in forw/back page */

7
main.c
View File

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