Pavel Roskin
6df9219f85
* extfs.c (extfs_open): Retain original filename as a suffix
...
for the temporary filename.
* vfs.c (mc_def_getlocalcopy): Likewise.
2003-02-26 17:43:18 +00:00
Andrew V. Samoilov
9ec797a024
* extfs/patchfs.in: rm and proper copyin support, more
...
functions to make code more clear.
2003-02-26 15:08:37 +00:00
Andrew V. Samoilov
55ccd00c73
* direntry.c (vfs_s_dump): SunOS 5.8 warning fix. Reformat function.
2003-02-19 14:04:35 +00:00
Andrew V. Samoilov
cbe4a1adf4
* smbfs.c (smbfs_lseek): Backport from Samba 2.2.7 Suite.
...
(fake_server_stat): Warning fix for AIX. Reformat function.
(fake_share_stat): Likewise.
(smbfs_mkdir): Likewise.
2003-02-19 12:56:03 +00:00
Andrew V. Samoilov
004ae18d9e
* vfs.c (is_localized_month): New function for locale's
...
abbreviated month name as any 3 bytes long string without digits
and control characters.
(vfs_parse_filedate): Fallback to is_localized_month() if
is_month() and is_dos_date() fail and set date to Jan 1 1970.
(vfs_parse_ls_lga): Use is_localized_month().
2003-02-19 08:38:49 +00:00
Pavel Roskin
4d4294fdb4
* smbfs.c (smbfs_nothingisopen): Warning fix for 64-bit systems.
...
(smbfs_free): Likewise.
2003-01-24 20:55:55 +00:00
Pavel Roskin
a25ad31daf
* extfs/urar.in: Search $PATH for unrar, fallback to rar.
2003-01-24 07:10:02 +00:00
Andrew V. Samoilov
1dfc24bd42
2002-12-24 Adam Byrtek <alpha@debian.org>
...
* extfs/patchfs.in: context diff format support, regular
expressions precompiled, some minor fixes
2003-01-13 12:07:45 +00:00
Pavel Roskin
325bf57d86
Typo fix.
2002-12-30 23:19:14 +00:00
Andrew V. Samoilov
196dd0c1de
* extfs/rpm: Use --nosignature only if rpm supports this.
2002-12-29 09:19:36 +00:00
Pavel Roskin
9dc4fc6342
* extfs.c (read_archive): Free archive if the "list" command
...
returned non-zero, return -1.
Initial implemntation from Adam Byrtek <alpha@debian.org>
2002-12-25 21:42:59 +00:00
Pavel Roskin
ddf2ad1612
* direntry.c (vfs_s_open): If the filesystem is read-only,
...
disable file creation.
2002-12-25 04:57:26 +00:00
Pavel Roskin
075d359907
* vfs.c (mc_chdir): Don't change current directory until the
...
low-level chdir succeeds.
2002-12-25 04:02:34 +00:00
Pavel Roskin
3a377a802d
* vfs.c (vfs_name): Eliminate - it's unused and wrong.
2002-12-25 02:47:21 +00:00
Andrew V. Samoilov
6fec66eb87
* extfs/mailfs.in: Quote filename when openning mailbox.
2002-12-24 06:56:16 +00:00
Andrew V. Samoilov
1edcc92829
* extfs/apt.in, extfs/dpkg.in: Avoid stat on non-existing file.
2002-12-24 06:33:46 +00:00
Andrew V. Samoilov
f5dc73aa71
* smbfs.c: Resurrect and use myumask for generated permissions.
2002-12-20 18:16:45 +00:00
Andrew V. Samoilov
b6aa32d9b2
* extfs/patchfs.in: Fix patch size calculation. Use bytes to
...
count size in bytes, not characters (in multibyte encodings char
can be two or more bytes wide).
2002-12-19 18:20:11 +00:00
Pavel Roskin
1df0641954
* extfs/patchfs.in: Don't rely on tell() - it doesn't always
...
work on pipes. Determine patch size by adding together the line
lengths.
2002-12-19 17:36:58 +00:00
Pavel Roskin
6ee35e2c55
* extfs/patchfs.in: Allow diffs with function names after "@@".
...
Don't consider an empty newline as the end of the diff.
2002-12-19 16:51:04 +00:00
Andrew V. Samoilov
76a86209d4
* extfs/patchfs.in (openread): Use quoted $archive when opening
...
archives.
(list): Set $archive to quoted $_[0].
2002-12-18 14:31:54 +00:00
Pavel Roskin
1f05866c5e
* extfs/rpm: Don't check package signatures - it creates a lot
...
of noise on stderr if the signature is missing.
2002-12-17 00:32:38 +00:00
Pavel Roskin
90821fb2b8
* extfs/mailfs.in: Fixed bug when opening empty mailbox. Added
...
proper message size (not number of lines, like before) counting.
2002-12-14 20:05:29 +00:00
Pavel Roskin
9b4e62ef79
* extfs/uha.in (mchafs_list): Don't parse the month, use
...
DD-MM-YYYY output.
(mchafs_copyout): Use cat, not mv, because the files can be on
different filesystems. Use "q" and don't suppress stderr.
2002-12-14 05:10:52 +00:00
Pavel Roskin
6c465b4a6f
* extfs/ulha.in: Don't suppress stderr.
2002-12-14 04:39:09 +00:00
Pavel Roskin
f7a80d36ba
* extfs/uzoo.in: Always use "q" option to avoid processing junk.
...
Always create symlink, do it in a safer directory.
2002-12-14 04:29:12 +00:00
Pavel Roskin
9a8ba89854
* extfs/uarj.in: New script working with open-source ARJ.
...
Contributed by Viatcheslav Odintsov.
* extfs/uarj: Remove.
* extfs/hp48: Rename to ...
* extfs/hp48.in: ... this. It needs awk substitution.
* extfs/Makefile.am: Adjust for the above.
2002-12-14 02:46:03 +00:00
Pavel Roskin
05a0c9236d
* extfs/ulha.in: Strengthen quoting.
2002-12-13 08:07:33 +00:00
Pavel Roskin
5c038d2f12
* extfs/uha.in: Strengthen quoting. Remove unnecessary space
...
after filename. Update URL. Use safer temporary directory.
2002-12-13 07:53:20 +00:00
Pavel Roskin
c055823512
* extfs/uarj: New list-only implementation that doesn't need
...
patched unarj.
* extfs/unarj.diff: Remove.
* extfs/Makefile.am: Remove extfs/unarj.diff.
2002-12-13 07:20:54 +00:00
Pavel Roskin
84f178c86f
* extfs/patchfs.in: "copyin" method added (with compressed files
...
support). Files inside archive now have '.diff' extension.
Temporary file not needed any more. Proper handling of
"/dev/null" filenames, filename heuristics based on diff info
page. Set files owner and group as the archive.
* extfs/audio.in: CDDB_TIMEOUT variable added.
2002-12-13 04:42:08 +00:00
Pavel Roskin
63faf36f15
* vfs.c (is_dos_date): Allow 4-digit years.
...
(vfs_parse_filedate): Don't limit length of the year field for
DOS dates, subtract 1900 if necessary.
2002-12-13 00:22:06 +00:00
Pavel Roskin
ec8375764b
* extfs/apt.in: Fix Y2K bug.
...
* extfs/deba.in: Likewise.
* extfs/debd.in: Likewise.
* extfs/dpkg.in: Likewise.
Reported by Adam Byrtek <alpha@debian.org>
2002-12-12 16:15:30 +00:00
Pavel Roskin
5ea98ec55f
* extfs/patchfs.in: Print 4-digit year. If str2time is not
...
available, use current time, not 0.
2002-12-12 16:08:34 +00:00
Andrew V. Samoilov
320b62f87e
* extfs/urar.in: rar lists directories after files, so sort "list"
...
command output by names to prevent duplications.
2002-12-12 12:48:30 +00:00
Pavel Roskin
5b24e5dc1b
* extfs/urar.in: Strengthen quoting. Don't use full path to rar
...
and unrar. Don't redirect stderr to /dev/null.
2002-12-12 09:39:46 +00:00
Pavel Roskin
a50ddb5450
* extfs/uar.in: Simplify "list" command, don't use current year.
...
Use more careful quoting.
2002-12-12 09:01:40 +00:00
Pavel Roskin
3662dd53f2
* extfs/apt.in: Add non-interactive remove using dpkg.
2002-12-12 07:42:29 +00:00
Pavel Roskin
92a3d687fd
* extfs/apt.in: Add 1 to the month number. Perl localtime()
...
uses range 0..11 while extfs expects range 1..12.
* extfs/deba.in: Likewise.
* extfs/debd.in: Likewise.
* extfs/dpkg.in: Likewise.
2002-12-11 21:19:43 +00:00
Pavel Roskin
adf60b79eb
* extfs/audio: Move ...
...
* extfs/audio.in: ... here. Add CDDB support.
* extfs/Makefile.am: Adjust for the above.
2002-12-11 19:24:16 +00:00
Pavel Roskin
184ae978c0
* extfs/mailfs: Try using UnixDate() from Date::Manip if it's
...
available. Warning fix.
2002-12-11 19:10:05 +00:00
Andrew V. Samoilov
ec4569b544
* extfs/patchfs: Use quotemeta() before giving filename to shell.
2002-12-11 11:03:25 +00:00
Andrew V. Samoilov
60a725395c
* vfs.c (mc_stat): Make first argument const.
...
(mc_lstat): Likewise.
* vfs.h: Adjust declarations and remove some useless defines.
2002-12-11 09:36:50 +00:00
Pavel Roskin
c2d7ef04dc
* extfs/a: Enable Perl warnings. Ignore entries without a date.
...
Warning fixes. Don't redirect stderr to /dev/null - it doesn't
mess the screen now.
2002-12-10 21:38:06 +00:00
Andrew V. Samoilov
c63b6b1735
Typos...
2002-12-10 15:32:48 +00:00
Pavel Roskin
d02ca2efc7
typo
2002-12-09 20:16:49 +00:00
Pavel Roskin
0b357d16a3
* extfs/patchfs: Rewritten is Perl. File size is now displayed
...
properly.
2002-12-09 20:16:34 +00:00
Pavel Roskin
0bb4e479a2
* extfs/ftplist.in: Remove, it's obsoleted by the hotlist.
...
* extfs/ucpio.in: Remove, it's obsoleted ucpio.c.
* extfs/Makefile.am: Remove all references to them.
* extfs/extfs.ini: Likewise.
2002-12-09 14:16:32 +00:00
Pavel Roskin
0fce236546
* extfs.c (__find_entry): When creating entried for regular
...
files, set initial permissions to S_IFREG | 0666. This fixes
problems with viewing and editing newly added files.
2002-12-09 05:21:48 +00:00
Pavel Roskin
9d265c52d6
* extfs/bpp: Fix file sizes, contents of INSTALL and UPGRADE.
2002-12-09 05:01:02 +00:00