uzip extfs sanity patch



Hi!

Here is a small patch I needed to display one particular archive 
contents without errors. If it is convenient to neglect errors like weird 
dates then it can be usefull. Maybe even the other archive scripts should 
have such checks? What do you think?

regards

STan


$ cvs -z3 diff uzip 
Index: uzip
===================================================================
RCS file: /cvs/gnome/mc/vfs/extfs/uzip,v
retrieving revision 1.3
diff -r1.3 uzip
284c284
<       $mon = (qw/Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec/)[$mon-1];
---
>       $mon = (qw/Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec/)[($mon<1?1:$mon>12?12:$mon)-1];





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]