svn commit: trunk/busybox/libbb

vda at busybox.net vda at busybox.net
Thu Feb 14 19:56:00 UTC 2008


Author: vda
Date: 2008-02-14 11:55:58 -0800 (Thu, 14 Feb 2008)
New Revision: 21021

Log:
libbb: filename completion should match dangling symlinks too



Modified:
   trunk/busybox/libbb/lineedit.c


Changeset:
Modified: trunk/busybox/libbb/lineedit.c
===================================================================
--- trunk/busybox/libbb/lineedit.c	2008-02-14 16:51:58 UTC (rev 21020)
+++ trunk/busybox/libbb/lineedit.c	2008-02-14 19:55:58 UTC (rev 21021)
@@ -522,7 +522,7 @@
 			}
 			found = concat_path_file(paths[i], str_found);
 			/* hmm, remover in progress? */
-			if (stat(found, &st) < 0)
+			if (lstat(found, &st) < 0)
 				goto cont;
 			/* find with dirs? */
 			if (paths[i] != dirbuf)




More information about the busybox-cvs mailing list