Pavel Roskin
857565ca21
* edit.c (check_file_access): Use non-blocking open() followed
...
by fstat() to avoid race conditions. Don't ask users to
recompile the editor.
2002-12-16 01:59:49 +00:00
Pavel Roskin
2eb1245290
Comment change.
2002-12-16 01:38:24 +00:00
Pavel Roskin
8148b4973c
* edit.c (edit_reload): Don't initialize edit->macro_i, because
...
edit_init() takes care of it.
* editwidget.c (edit): Likewise.
2002-12-16 01:27:44 +00:00
Pavel Roskin
5c76f171ac
* global.h: Add replacement for O_NONBLOCK.
2002-12-16 00:41:06 +00:00
Pavel Roskin
2048c47dfb
Comment change.
2002-12-15 22:58:33 +00:00
Pavel Roskin
1343933d07
Comment change.
2002-12-15 19:42:04 +00:00
Pavel Roskin
1a4ad10ec8
Comment changes.
2002-12-15 19:38:18 +00:00
Pavel Roskin
aaf569bd48
* edit.h: Don't inclide malloc.h. Use g_malloc() and g_free()
...
instead. Adjust all dependencies.
2002-12-15 18:55:53 +00:00
Pavel Roskin
77bd4c7f55
* edit.c (edit_load_file): Merge edit_open_file(). Disable fast
...
loading on non-local VFS because the file size can be wrong.
(init_dynamic_edit_buffers): Split into edit_init_buffers() and
edit_load_file_fast().
2002-12-15 09:47:25 +00:00
Pavel Roskin
433726e56b
* (edit_init): Move file loading to ...
...
(edit_load_file): ... a separate function.
2002-12-15 08:07:02 +00:00
Pavel Roskin
6716e7ecff
* edit.c (init_dynamic_edit_buffers): Remove unused code to
...
support loading text from buffer.
2002-12-15 06:53:52 +00:00
Pavel Roskin
ceb3e9eb60
Comment fixes.
2002-12-15 02:54:00 +00:00
Pavel Roskin
ca658f44a6
* editcmd.c (edit_split_filename): Rename to edit_set_filename,
...
use g_malloc() and g_free() on edit->filename.
2002-12-15 02:40: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
5e039bf28f
Comment fixes.
2002-12-14 05:31:12 +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
1ef9add08b
Use lha, not lharc.
2002-12-14 04:41:19 +00:00
Pavel Roskin
6c465b4a6f
* extfs/ulha.in: Don't suppress stderr.
2002-12-14 04:39:09 +00:00
Pavel Roskin
5773018d1f
Add hp48 and uarj.
2002-12-14 04:29:58 +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
c72422925b
Substitute hp48 and uarj.
2002-12-14 02:47:30 +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
4a8f3f2c2b
Highlight Perl sources with @PERL@ on the first line.
2002-12-13 08:11:25 +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
0b9116d955
Restore setting current time if the date cannot be parsed.
2002-12-13 05:22:09 +00:00
Pavel Roskin
72da5347c4
Fix Y2K problem once again.
2002-12-13 05:08:14 +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
676c9927d6
Don't document deprecated support for two-digit years.
2002-12-12 17:28:31 +00:00
Pavel Roskin
911b00f904
Automatically update and copy CVS directory.
2002-12-12 16:49:16 +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
4da228c21e
Fix formatting of the year.
2002-12-12 16:13:20 +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
a0c6db0bca
Use "cp -p" to preserve date.
2002-12-12 09:21:35 +00:00
Pavel Roskin
f63f10d684
Don't redirect stderr to /dev/null - it obscures errors.
2002-12-12 09:15:20 +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
b1c7fda53b
Set locale to C.
...
Add support for bzip2.
Remove redirection of stderr to /dev/null.
2002-12-12 08:34:24 +00:00
Pavel Roskin
b594ab56c4
Add support for lslR archives compressed by bzip2.
2002-12-12 08:33:00 +00:00
Pavel Roskin
3662dd53f2
* extfs/apt.in: Add non-interactive remove using dpkg.
2002-12-12 07:42:29 +00:00
Pavel Roskin
bc9ef16241
Make sure that the output of cd-discid is not empty, exit otherwise.
2002-12-12 07:41:39 +00:00
Pavel Roskin
efbd36d0df
Quote "$2" to avoid "test -b" without argument.
2002-12-12 07:33:24 +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
82b5f988a5
Distribute xnc.hlp.
2002-12-11 21:12:39 +00:00
Pavel Roskin
612761577f
Fix @PERL@.
2002-12-11 21:10:17 +00:00
Pavel Roskin
071ea38270
Update - ignore Perl scripts.
2002-12-11 20:58:29 +00:00
Pavel Roskin
56be0e7b88
Substitute Perl location in all extfs scripts written in Perl.
2002-12-11 20:57:00 +00:00