summaryrefslogtreecommitdiffstats
path: root/collage
diff options
context:
space:
mode:
authorteg <teg>2001-02-27 00:20:17 +0000
committerteg <teg>2001-02-27 00:20:17 +0000
commit11c338920293fe9bb6ab86287be1aeb4b33bf683 (patch)
tree01939401bdf6e92a83eb8772d4782c9857136736 /collage
parentc32cd66be28968f160e6f574f1128275f173b4d3 (diff)
downloadanaconda-11c338920293fe9bb6ab86287be1aeb4b33bf683.tar.gz
anaconda-11c338920293fe9bb6ab86287be1aeb4b33bf683.tar.xz
anaconda-11c338920293fe9bb6ab86287be1aeb4b33bf683.zip
Removing these lines make "ls lib" work from the TLD.
Diffstat (limited to 'collage')
-rw-r--r--collage/ls.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/collage/ls.c b/collage/ls.c
index 9da24864b..e3e41ec5e 100644
--- a/collage/ls.c
+++ b/collage/ls.c
@@ -472,10 +472,6 @@ void listFiles(char * path, char * fn, int flags) {
for (i = 0; i < matches.gl_pathc && !failed; i++) {
this = matches.gl_pathv[i] + strlen(path);
- if (*this)
- this++;
- else
- this = ".";
if (!statFile(path, this, flags, &sb)) {
if (S_ISDIR(sb.st_mode) && !(flags & SENDDIR_SIMPLEDIRS)) {