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

bugs at busybox.net bugs at busybox.net
Thu Feb 14 19:58:36 UTC 2008


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             04-02-2006 23:48 PDT
Last Modified:              02-14-2008 11:58 PST
====================================================================== 
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. 

---------------------------------------------------------------------- 
 vda - 02-14-08 11:58  
---------------------------------------------------------------------- 
Applied to svn (rev 21021). Thanks! 

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                          
02-14-08 11:58  vda            Status                   assigned => closed  
02-14-08 11:58  vda            Note Added: 0004784                          
======================================================================




More information about the busybox-cvs mailing list