[hackers] [sbase] ls: fix option -S for it to work without -lnpFi || Alexandre Niveau
commit 6be7eaff1b07845aa80b3bba8bc4de48b2305146
Author: Alexandre Niveau <alexandre.niveau_AT_gmail.com>
Date: Thu May 14 23:37:54 2015 +0200
ls: fix option -S for it to work without -lnpFi
diff --git a/ls.c b/ls.c
index bb6403f..cdfce4d 100644
--- a/ls.c
+++ b/ls.c
_AT_@ -239,7 +239,7 @@ lsdir(const char *path)
}
*p = '\0';
}
- mkent(&ents[n - 1], name, tflag || Fflag || iflag || lflag || pflag || Rflag, Lflag);
+ mkent(&ents[n - 1], name, tflag || Sflag || Fflag || iflag || lflag || pflag || Rflag, Lflag);
}
}
closedir(dp);
Received on Fri May 15 2015 - 13:07:48 CEST
This archive was generated by hypermail 2.3.0
: Fri May 15 2015 - 13:12:17 CEST