diff options
Diffstat (limited to 'src/pathchk.c')
| -rw-r--r-- | src/pathchk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathchk.c b/src/pathchk.c index 04b70a389..a23b53c4c 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -104,7 +104,7 @@ Diagnose invalid or unportable file names.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - emit_bug_reporting_address (); + emit_ancillary_info (); } exit (status); } @@ -270,7 +270,7 @@ validate_file_name (char *file, bool check_basic_portability, if (check_extra_portability && ! no_leading_hyphen (file)) return false; - if ((check_basic_portability | check_extra_portability) + if ((check_basic_portability || check_extra_portability) && filelen == 0) { /* Fail, since empty names are not portable. As of |
