Andrew V. Samoilov
fd913b65b6
* tar.c tar_read_header(): q should not point to a static string.
...
Canonicalize q.
2004-10-27 12:44:48 +00:00
Andrew V. Samoilov
ea5c3dead6
* vfs.c (mc_def_getlocalcopy): Don't close fd -1.
...
(_vfs_get_class): Make path "char *" instead of
"const char *" because it write to path.
(vfs_get_class): Use g_strdup()/g_free() to do "pathname"
really "const char *".
2004-10-25 12:22:52 +00:00
Andrew V. Samoilov
bcaf2b272b
* cmd.c (select_unselect_cmd): Collect repeated code from
...
(un)?select_cmd here. Fix rare off-by-one and memory leak if
empty pattern passed.
(select_cmd): Use select_unselect_cmd().
(unselect_cmd): Likewise.
2004-10-25 09:38:59 +00:00
Andrew V. Samoilov
2c8db2c43d
* smbfs.c (smbfs_open_readwrite): Comment out flags games,
...
it is cli_open() headache.
2004-10-25 08:15:19 +00:00
Roland Illig
8da4a08bbd
* configure.ac: Only add "-Wall" to CFLAGS if GCC is set to "yes".
2004-10-24 14:48:01 +00:00
Roland Illig
63cae58f20
* editdraw.c (edit_status): Expand the filename field in the status
...
line to 16 characters even if the actual filename is shorter.
2004-10-23 13:14:14 +00:00
Roland Illig
11f8d4e2ea
* utilunix.c (mc_tmpdir): Convert uid to unsigned long for
...
pathname of the temporary directory.
2004-10-23 12:55:35 +00:00
Roland Illig
8d69563572
* README: Add explanation for using GPL licensed code from
...
src/ in vfs.
From Leonard den Ottolander and Roland Illig.
2004-10-23 12:32:21 +00:00
Roland Illig
6178353e9e
* TODO: Check proper quoting in vfs/extfs/*.
2004-10-23 07:25:20 +00:00
Roland Illig
3716da314b
* utilunix.c (mc_tmpdir): Convert uid to int for pathname
...
of the temporary directory.
From Pavel Tsekov <ptsekov gmx net>.
2004-10-23 07:18:48 +00:00
Roland Illig
b5a38517cd
* complete.c (environ): Don't declare environ on Cygwin.
...
From Pavel Tsekov <ptsekov gmx net>.
2004-10-23 07:12:39 +00:00
Roland Illig
fa72520d74
* regex.c (regerror): Never use the __memcpy function, as it
...
breaks the build on Cygwin.
2004-10-22 22:53:37 +00:00
Andrew V. Samoilov
849d95373b
Fix typos
2004-10-22 08:44:20 +00:00
Roland Illig
80aa91ede7
* view.c (display): Fixed bug that displayed an empty file in
...
hexview mode with growing buffers.
2004-10-22 08:18:55 +00:00
Roland Illig
10256f6e35
* regex.c: Fix the C preprocessor feature tests. They produced
...
warnings before.
2004-10-22 07:55:56 +00:00
Andrew V. Samoilov
b1b4aadcd7
* main.c (print_color_usage): Update list of keywords for global,
...
menu and help.
Change my email in ChangeLogs
2004-10-22 05:47:25 +00:00
Roland Illig
fe6f6ab57e
* cons.saver.c (die): Declare as "static" to avoid gcc warning.
...
(send_contents): Likewise.
2004-10-21 23:08:28 +00:00
Roland Illig
7c709ae396
* mcfs.c: Add INADDR_NONE definition for SunOS.
...
* mcserv.c: Likewise. (struct user_pass): Add "const" qualifier.
2004-10-21 23:07:54 +00:00
Andrew V. Samoilov
3c8833159f
* user.c (user_menu_cmd): Fix error. test_line() doesn't handle
...
consecutive '+'s and '='s correctly. Pass a line starting with
a single '+' or '=' instead.
2004-10-20 12:29:55 +00:00
Andrew V. Samoilov
0112ed6d65
* lib/mc.ext.in: Use xmms for audio files in XWindows mode.
...
Add support for *.wma files. Add support for playlists.
2004-10-20 05:14:42 +00:00
Roland Illig
036d995eea
* extfs/hp48.in: Correct quoting from last patch. Avoid a
...
subshell when none is needed.
2004-10-18 10:16:26 +00:00
Roland Illig
48bc8894b2
* TODO: Some new TODO items with low priority: More standard
...
widgets, CVS frontend, patch editor, context menus.
2004-10-18 04:05:15 +00:00
Roland Illig
3b6db492a3
* extfs/audio.in: Fix even more quoting issues.
...
* extfs/hp48.in: Likewise.
Patch from q# <eth0 o2 pl>.
2004-10-18 02:20:09 +00:00
Roland Illig
e85a083b79
* extfs/uar.in: Improve filename quoting. Add error messages.
2004-10-17 22:09:18 +00:00
Roland Illig
00371ea1a9
* extfs/audio.in: Fix quoting issues.
...
From Leonard den Ottolander.
2004-10-17 19:42:20 +00:00
Roland Illig
61b4642af4
* extfs/hp48.in: Fix quoting issues.
...
From Leonard den Ottolander.
2004-10-17 19:33:55 +00:00
Andrew V. Samoilov
e4d7245a11
* undelfs.c (undelfs_open): Use g_try_malloc() instead
...
of g_malloc().
* smbfs.c (smbfs_send): Don't account negative "ret".
2004-10-16 19:19:27 +00:00
Andrew V. Samoilov
959955939d
* hotlist.c (add_new_entry_cmd): Fix memory leaks.
2004-10-16 19:17:19 +00:00
Roland Illig
c8cd60f3a2
* TODO: Fixed the "./ files in tar archive" item for mc-4.6.1.
2004-10-16 18:02:45 +00:00
Roland Illig
441701fc13
* view.c (get_bottom_first): Renamed another EOF_offset to INVALID_OFFSET.
2004-10-16 17:30:00 +00:00
Roland Illig
689afa899a
* tar.c (tar_read_header): Fixed handling of filenames starting
...
with "./".
2004-10-16 17:17:31 +00:00
Roland Illig
f6300b882b
* view.c: Rename EOF_offset to INVALID_OFFSET, as it is mostly
...
used to mark an invalid cache.
2004-10-16 15:52:48 +00:00
Roland Illig
a02c4b593f
* file.c (do_file_error): Add const qualifier. (query_recursive):
...
Likewise. (query_replace): Likewise.
2004-10-16 15:38:47 +00:00
Roland Illig
5d5237e557
* syntax.c (read_one_line): Fixed SEGV when reading syntax file
...
with "\r\n" line endings on Unix.
2004-10-16 13:33:21 +00:00
Roland Illig
10dbca29ab
* syntax/eiffel.syntax: Add syntax highlighting rules for the
...
Eiffel programming language.
* syntax/Syntax: Bind *.e with eiffel.syntax.
* syntax/Makefile.am: Added syntax.eiffel.
From Daniel F Moisset <dmoisset grulic org ar>
2004-10-16 12:59:26 +00:00
Andrew V. Samoilov
8d50b2240a
* sldisply.c (tt_sprintf): Add missed break.
...
* sldisply.c (SLtt_erase_line): Use tt_write() instead
tt_write_string().
2004-10-14 08:18:49 +00:00
Andrew V. Samoilov
d79d618c6d
* util.c (strip_password): Add "/#sh:".
2004-10-13 12:23:56 +00:00
Andrew V. Samoilov
13998a614c
* syntax/sql.syntax: Improve sql.syntax file and added several
...
keywords.
2004-10-12 15:24:47 +00:00
Andrew V. Samoilov
3253bdf876
* acinclude.m4 (MC_WITH_MCSLANG): Set screen_type to mcslang.
...
* configure.ac: Define USE_INCLUDED_SLANG if screen_type is mcslang.
2004-10-12 04:35:55 +00:00
Andrew V. Samoilov
ebc4dc8e77
* myslang.h: Check USE_INCLUDED_SLANG properly.
2004-10-12 04:32:04 +00:00
Roland Illig
d3774b9d94
* utilunix.c (close_error_pipe): Fixed possible invalid memory access
...
(three lines below).
2004-10-11 21:53:30 +00:00
Andrew V. Samoilov
9f0c07f07a
* az.po: Small text fixes.
...
* be.po: Likewise.
* bg.po: Likewise.
* ca.po: Likewise.
* cs.po: Likewise.
* da.po: Likewise.
* de.po: Likewise.
* el.po: Likewise.
* es.po: Likewise.
* eu.po: Likewise.
* fi.po: Likewise.
* fr.po: Likewise.
* hu.po: Likewise.
* it.po: Likewise.
* ja.po: Likewise.
* ko.po: Likewise.
* lt.po: Likewise.
* lv.po: Likewise.
* mn.po: Likewise.
* nl.po: Likewise.
* no.po: Likewise.
* pl.po: Likewise.
* pt.po: Likewise.
* pt_BR.po: Likewise.
* ro.po: Likewise.
* ru.po: Likewise.
* sk.po: Likewise.
* sl.po: Likewise.
* sr.po: Likewise.
* sv.po: Likewise.
* ta.po: Likewise.
* tr.po: Likewise.
* uk.po: Likewise.
* wa.po: Likewise.
* zh_CN.po: Likewise.
* zh_TW.po: Likewise.
2004-10-11 07:53:34 +00:00
Andrew V. Samoilov
5d5f56d4ee
* editcmd.c (regexp_error): Small text fix.
...
(edit_search_cmd): Likewise.
2004-10-11 05:31:29 +00:00
Andrew V. Samoilov
4cde691aac
* file.c (copy_dir_dir): Small text fix.
2004-10-11 05:27:58 +00:00
Andrew V. Samoilov
eae25a2eff
Partially revert my changes
2004-10-07 10:50:00 +00:00
Andrew V. Samoilov
e65b13eb00
* ftpfs.c (ftpfs_linear_start): Likewise.
...
* fish.c (fish_linear_start): Likewise.
2004-10-06 21:20:17 +00:00
Andrew V. Samoilov
126fa4d83d
* cpio.c (cpio_find_head): Check mc_read() return value.
...
(cpio_read_crc_head): Handle mc_read() return value properly.
(cpio_read_oldc_head): Use union for "st" and "buf".
(cpio_read_crc_head): Likewise.
2004-10-06 21:17:30 +00:00
Andrew V. Samoilov
df27244006
* fileopctx.h (struct FileOpContext): Use off_t for offset.
2004-10-06 18:06:26 +00:00
Andrew V. Samoilov
687f435740
* xdirentry.h (linear_start): Use off_t for offset.
2004-10-06 18:04:15 +00:00
Andrew V. Samoilov
430cfca91c
More typo fixes
2004-10-06 17:33:37 +00:00