Bug 189994 - app-portage/gentoolkit - eread will try to delete nonexistent file
Bug#: 189994 Product:  Portage Development Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: tools-portage@gentoo.org Reported By: chris.burroughs@gmail.com
Component: Tools
URL: 
Summary: app-portage/gentoolkit - eread will try to delete nonexistent file
Keywords:  InSVN
Status Whiteboard: 
Opened: 2007-08-24 03:58 0000
Description:   Opened: 2007-08-24 03:58 0000
If you ask eread to display a nonexistent file the pager will give an error and
then eread will ask if you want to delete the file.  This obviously doesn't
make much sense.

Choice? 300000
Missing filename ("less --help" for help)
Delete file? [y/N] 


Reproducible: Always

------- Comment #1 From Ludovic Fauvet 2007-08-24 06:55:57 0000 -------
Created an attachment (id=129045) [details]
Skip inexistant file

------- Comment #2 From Paul Varner 2007-09-13 02:55:06 0000 -------
I didn't use your patch since when you enter an invalid entry $FILE doesn't
contain anything. However, thanks for the bug report and the patch.

$ svn commit -m "Fix eread to not accept invalid input for file selection. (Bug
#189994)"
Sending        ChangeLog
Sending        src/eread/eread
Transmitting file data ..
Committed revision 436.

------- Comment #3 From Paul Varner 2007-09-13 15:51:31 0000 -------
Released in gentoolkit-0.2.4_pre7