.
authorJim Meyering <jim@meyering.net>
Sun, 31 Mar 1996 17:19:06 +0000 (17:19 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 31 Mar 1996 17:19:06 +0000 (17:19 +0000)
old/sh-utils/ChangeLog
src/ls.c

index 8c0cf700660f221bd3f2de5c4d3c66198de12f0a..965375962509066830ef81673f965591f6aa64b9 100644 (file)
@@ -1,3 +1,9 @@
+Sun Mar 31 11:18:09 1996  Jim Meyering  (meyering@na-net.ornl.gov)
+
+       * ls.c (quote_filename): Use ISGRAPH and ISPRINT in place of
+       ASCII-centric tests against literals.
+       (length_of_file_name_and_frills): Likewise.
+
 Fri Mar 29 22:13:10 1996  Jim Meyering  (meyering@na-net.ornl.gov)
 
        * src/Makefile.am (INCLUDES): Replace -I$(top_srcdir)/intl with
index 823d5d797868eb5daec21cd0eec3e3200ca6635a..22daa8eb5afac37bdf6abec10e3f7a10ee3f4496 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -1683,8 +1683,7 @@ quote_filename (register const char *p, size_t *quoted_length)
        }
       else
        {
-         if (!ISPRINT (c)
-             && qmark_funny_chars)
+         if (!ISPRINT (c) && qmark_funny_chars)
            found_quotable = 1;
        }
       if (found_quotable)