uzip extfs sanity patch
- From: Standa Opichal <opichals seznam cz>
- To: mc-devel gnome org
- Subject: uzip extfs sanity patch
- Date: Wed, 20 Nov 2002 14:18:05 +0100 (CET)
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]