[BusyBox 0000812]: ash: Tab completion doesn't work for broken symlinks

bugs at busybox.net bugs at busybox.net
Mon Apr 3 09:14:37 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=812 
====================================================================== 
Reported By:                agriesser
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   812
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             04-02-2006 23:48 PDT
Last Modified:              04-03-2006 02:14 PDT
====================================================================== 
Summary:                    ash: Tab completion doesn't work for broken symlinks
Description: 
I found out, that tab completion in cmdedit.c doesn't work
for broken symbolic links.

Symptoms:
---------
[lxtc3861 - ~ #] ls -l | grep -- "->"
lrwxrwxrwx [...] Mar 23 11:16 root -> /
lrwxrwxrwx [...] Mar 29 09:57 symlink -> i_do_not_exist
lrwxrwxrwx [...] Mar 29 10:01 symlink_working -> linuxrc
lrwxrwxrwx [...] Mar 23 11:16 tmp -> var/tmp
[lxtc3861 - ~ #] ls sy
symlink_working   sys/              system/
[lxtc3861 - ~ #] ls sy

Explanation:
------------
The symbolic link "symlink" points to "i_do_not_exist" and this file
does (surprise, surprise) not exist. Although the symlink is there and
occupies an inode and is a "real" file, it doesn't get listed as part
of the possible matches.


====================================================================== 

---------------------------------------------------------------------- 
 vodz - 04-03-06 02:14  
---------------------------------------------------------------------- 
If interestingly my opinion I approve this correction. 
The new version cmdedit on mine ftp already contains this correction. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-02-06 23:48  agriesser      New Issue                                    
04-02-06 23:48  agriesser      Status                   new => assigned     
04-02-06 23:48  agriesser      Assigned To               => BusyBox         
04-02-06 23:48  agriesser      File Added: cmdedit-broken_symlink-issue.diff    
               
04-03-06 02:14  vodz           Note Added: 0001206                          
======================================================================




More information about the busybox-cvs mailing list