[BusyBox 0000630]: cat works for directories too

bugs at busybox.net bugs at busybox.net
Mon Jan 9 14:27:55 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=630 
====================================================================== 
Reported By:                hifly
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   630
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             01-09-2006 03:49 PST
Last Modified:              01-09-2006 06:27 PST
====================================================================== 
Summary:                    cat works for directories too
Description: 
I did `cat /tmp` on my busybox 1.10-pre1 where / is on jffs2.

It produces a lot of &*%@##%^((#

I think cat shouldn't work with directories.
====================================================================== 

---------------------------------------------------------------------- 
 robang74 - 01-09-06 06:27  
---------------------------------------------------------------------- 
I cannot replicate on ext3

[roberto at wsraf busybox]$ ./busybox cat /tmp
cat: Read Error: Is a directory 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-09-06 03:49  hifly          New Issue                                    
01-09-06 03:49  hifly          Status                   new => assigned     
01-09-06 03:49  hifly          Assigned To               => BusyBox         
01-09-06 06:20  robang74       Issue Monitored: robang74                    
01-09-06 06:27  robang74       Note Added: 0000888                          
======================================================================




More information about the busybox-cvs mailing list