| Anonymous | Login | Signup for a new account | 11-10-2008 11:00 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000812 | [BusyBox] Other | minor | always | 04-02-06 23:48 | 02-14-08 11:58 | ||||
| Reporter | agriesser | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | svn | ||||||
| Summary | 0000812: 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. |
||||||||
| Additional Information |
Resolution: ----------- Took me some time to find out why, but in fact, it was quite harmless. I think, this patch shouldn't do anything bad, if I understood the manpages correctly. The attached patch fixes this for me. |
||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |