ls with no parameters crashes

Bug #1296437 reported by Galactic Proportions
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ALSH
Fix Released
High
Unassigned

Bug Description

ALSH trunk, commit "Initial commit". Python 2.6.6.

When running 'ls' with no arguments, I get the following error:

Traceback (most recent call last):
  File "./alsh", line 88, in <module>
    a.cmdloop()
  File "/usr/lib/python2.6/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib/python2.6/cmd.py", line 219, in onecmd
    return func(arg)
  File "./alsh", line 64, in do_ls
    l = os.listdir(path)
OSError: [Errno 2] No such file or directory: ''

Revision history for this message
Galactic Proportions (galacpropo-deactivatedaccount-deactivatedaccount) wrote :

Fix is commit #2.

Changed in alsh:
status: New → Fix Committed
Changed in alsh:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.