[hackers] [sbase] Remove trailing whitespace inside of ls(1) || FRIGN

From: <git_AT_suckless.org>
Date: Mon, 31 Aug 2015 19:10:51 +0200 (CEST)

commit 93f1fc4614a0d455eaaec86a8fe0562290849dba
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Mon Aug 31 18:02:10 2015 +0200
Commit: sin <sin_AT_2f30.org>
CommitDate: Mon Aug 31 18:10:25 2015 +0100

    Remove trailing whitespace inside of ls(1)

diff --git a/ls.c b/ls.c
index a8f6384..22506d3 100644
--- a/ls.c
+++ b/ls.c
_AT_@ -122,7 +122,7 @@ output(const struct entry *ent)
 
         if (qflag) {
                 name = emalloc(strlen(ent->name) + 1);
-
+
                 for (c = name, u = ent->name; *u; u += l) {
                         l = chartorune(&r, u);
                         if (isprintrune(r)) {
_AT_@ -431,7 +431,7 @@ main(int argc, char *argv[])
         switch (argc) {
         case 0: /* fallthrough */
                 *--argv = ".", ++argc;
- case 1:
+ case 1:
                 ent = emalloc(sizeof(*ent));
                 mkent(ent, argv[0], 1, Hflag || Lflag);
                 ls("", ent, (!dflag && S_ISDIR(ent->mode)) ||
_AT_@ -454,7 +454,7 @@ main(int argc, char *argv[])
                                 fents[fs - 1] = ent;
                         }
                 }
-
+
                 qsort(fents, fs, sizeof(ent), entcmp);
                 qsort(dents, ds, sizeof(ent), entcmp);
 
Received on Mon Aug 31 2015 - 19:10:51 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 31 2015 - 19:12:22 CEST