Commit Graph

3606 Commits

Author SHA1 Message Date
Andrew V. Samoilov
14f1557b8c * lib/cedit.menu: Eliminate bashisms.
Add missed `:' in AUTHOR evaluation.
Unset LANGUAGE and make LC_ALL empty.
Use "#! /path/to/program".
2002-02-21 14:15:28 +00:00
Pavel Roskin
8c9fc66db0 * background.c (background_attention): Cast pointer to long
instead of int because it's unsafe of 64-bit systems.
* main.c (init_xterm_support): Likewise.
2002-02-21 01:49:29 +00:00
Andrew V. Samoilov
053fc87847 * doc/mc.1.in (FILES): Use ~/.mc/bindings instead of
~/.mc/ext, ~/.mc/ini instead of ~/.mc.ini.
Fix tarfs URL syntax example.  Minor typo and format fixes.
2002-02-20 11:07:59 +00:00
Pavel Roskin
eb18605ecc * Makefile.am: Don't compile mcserv if VFS is disabled.
* extfs/Makefile.am: Don't install anything if VFS is disabled.
2002-02-20 03:07:42 +00:00
Marco Ciampa
93f18d3e24 *** empty log message *** 2002-02-19 22:41:08 +00:00
Pavel Roskin
4408c4e091 * extfs.c (extfs_open): Only create a new entry if it has not
been found and O_CREAT is set.  Consider file as changed only
if it has been successfully created.
(extfs_getlocalcopy): Open file only for reading.  This prevents
marking file as changed.  Actually use the has_changed argument.
Reported by Nerijus Baliunas <nerijus@users.sourceforge.net>
2002-02-19 21:32:24 +00:00
Pavel Roskin
6c67d1918c * utilunix.c (canonicalize_pathname) [__QNX__]: Fix detection
of Qnet names.  Disable support of Qnet names under QNX Netrino.
Reported by Maurizio Rossi <MRossi@system-group.it>
2002-02-18 22:31:56 +00:00
Pavel Roskin
2b7cf88d85 * global.h: Include unix.h under "classical" QNX.
* subshell.c: Don't include unix.h.
* utilunix.c: Likewise.
2002-02-18 21:54:27 +00:00
Andrew V. Samoilov
fc3ef44f3b * syntax.c (convert): Fix buffer overflow for ".*\" cases. 2002-02-18 14:48:36 +00:00
Andrew V. Samoilov
6e3daebeb6 * doc/mc.1.in (FILES): Use MC_LIBDIR instead of MCHOME.
Fix location of configuration files.
2002-02-14 10:03:44 +00:00
Pavel Roskin
ceef847ec4 * extfs/lslR.in: Fix parsing of old entries (with year number).
From Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>
2002-02-12 17:47:27 +00:00
Christophe Merlet
da7a8d0ec9 Updated French translation. 2002-02-11 09:09:26 +00:00
Duarte Loreto
c6b7945115 2002-02-10 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated portuguese translation.
2002-02-10 00:57:10 +00:00
Christian Rose
590d5d6cf7 2002-02-09 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2002-02-09 12:47:26 +00:00
Andrew V. Samoilov
a634305c3f * ru.po: Adjust changes in vfs/ftpfs.c and vfs/vfs.c.
* uk.po: Likewise. Some messages fixed/translated.
2002-02-08 10:06:10 +00:00
Andrew V. Samoilov
1711c0ab8b * direntry.c (vfs_s_retrieve_file): Use off_t for total
and stat_size.

* vfs.c (vfs_s_resolve_symlink): Use snprintf
instead of sprintf.
(vfs_print_stats): Use off_t for have and need.  Cast
have to double to eliminate negative percent(s).
Fix print_vfs_message string formats.

* vfs.h (vfs_print_stats): Adjust declaration.

* ftpfs.c (file_store): Use off_t for total.
Fix print_vfs_message string format.
2002-02-08 09:42:38 +00:00
Andrew V. Samoilov
455e64673e * main.c (update_one_panel_widget): Call ftpfs_flushdir(). 2002-02-07 19:24:44 +00:00
Andrew V. Samoilov
ccdd8e8859 * ftpfs.c (dir_load): Speed up cd_first calculation.
(ftpfs_flushdir): Resurrect.
2002-02-07 19:22:20 +00:00
Christian Meyer
c3d4f02c1f Updated German translation. 2002-02-06 21:12:05 +00:00
Andrew V. Samoilov
0314076889 (ftpfs_chmod): Don't ignore errors. 2002-02-06 12:32:52 +00:00
Andrew V. Samoilov
e32151bb9e * ftpfs.c (dir_load): Use "LIST -la" instead of "LIST -la ."
to eliminate problem with wu-ftpd.
Close sock on error. Eliminate goto.

(reconnect): Restore cwdir if login_server fails.
2002-02-06 12:28:08 +00:00
Pavel Roskin
5257da5f83 * key.c [USE_NCURSES] (get_key_code): Ignore KEY_RESIZE.
* layout.c [USE_NCURSES] (flag_winch): Don't call
low_level_change_screen_size() from signal handler.
From Thomas Dickey <dickey@herndon4.his.com>
2002-02-06 05:23:50 +00:00
Pavel Roskin
9a67ad6ebf * screen.c (format_file): Add a new parameter (size of the
output buffer) to prevent buffer overflow on very wide
terminals.
From Thomas Dickey <dickey@herndon4.his.com>
2002-02-06 05:14:16 +00:00
Pavel Roskin
e9eac440ff * configure.in: Don't use defunct ncurses_version.
Reported by Thomas Dickey <dickey@herndon4.his.com>
Set force_ncurses whenever --with-ncurses is used.  If set,
suppress checks for S-Lang and fail is ncurses is not found.
2002-02-06 05:06:16 +00:00
Pavel Roskin
727898de19 * configure.in: Introduce a new variable screen_type that is
either "slang" or "ncurses" without additional text.  Use it
instead of screen_manager whenever possible.  Fix text in
AC_NCURSES call, use m4 quotes and move shell quotes into the
macro.
* acinclude.m4: Likewise.
Reported by Thomas Dickey <dickey@herndon4.his.com>
2002-02-06 04:38:38 +00:00
Pablo Saratxaga
50f4f7cb8e updated Basque file 2002-02-05 14:17:26 +00:00
Andrew V. Samoilov
aa2832dff9 * util.c [!HAVE_TRUNCATE] (truncate): Close fd if my_ftruncate
fails.

* util.c [HAVE_CHARSET] (is_printable): Eliminate printable.
* setup.c [HAVE_CHARSET] (load_setup): Don't use
init_printable_table().

* charset.c (printable): Removed.
(init_printable_table): Removed.
2002-02-04 18:09:42 +00:00
Pablo Saratxaga
969fd8e233 Updated Basque file 2002-02-04 14:33:12 +00:00
Christophe Merlet
6af9418287 Updated French translation. 2002-02-02 22:28:08 +00:00
Andrew V. Samoilov
20c71f0c51 * ftpfs.c (translate_path): Remove leading slash(es) more
carefully.
(initconn): Check getsockname() return value.
Eliminate goto.
(linear_abort): Make ipbuf const array.
2002-02-01 12:21:55 +00:00
Andrew V. Samoilov
ce7bae4dd7 * file.c (recursive_erase): Use mc_closedir() if mc_lstat()
fails.  Eliminate goto.
(erase_dir): Eliminate goto.
(erase_dir_iff_empty): Likewise.
2002-01-30 11:15:39 +00:00
Kjartan Maraas
4477334997 2002-01-30 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
2002-01-29 23:34:52 +00:00
Andrew V. Samoilov
fa2e4f6ec9 * samba/lib/charset.c (cp_850): Make const array.
(cp_932): Ditto.
(codepage_p): Likewise.
* samba/lib/debug.c (priority_map): Make const array.
* samba/lib/username.c (get_home_dir): Make pass auto.
* samba/lib/util.c (become_daemon): Commented out.
(yesno): Likewise.
2002-01-29 15:45:49 +00:00
Wang Jian
fecb7b30a1 *** empty log message *** 2002-01-29 15:16:57 +00:00
Andrew V. Samoilov
4b84517072 * charsets.c (translate_character): Use ICONV_CONST. 2002-01-29 15:10:00 +00:00
Wang Jian
896e43877a *** empty log message *** 2002-01-29 14:03:30 +00:00
Andrew V. Samoilov
3cb3d285df * dir.c (handle_dirent): Use MSG_ERROR. 2002-01-29 08:10:36 +00:00
Andrew V. Samoilov
d4f5c90dd6 * ftpfs.c (reconnect): New function to restore closed connection.
(command): Use reconnect if EPIPE received.
(dir_load): Eliminate recursion.
(login_server): Constify netrcpass parameter.
(is_same_dir): Constify path parameter.
2002-01-29 08:09:20 +00:00
Pavel Roskin
91e02f250b s/CVS macros/CVS keywords/ 2002-01-28 23:54:30 +00:00
Pavel Roskin
764730910e * syntax/Syntax: Known Delphi/Kylix source file extensions
supported (*.dpr, *.inc).
* syntax/pascal.syntax: Many new (Delphi/Kylix) keywords added.
Special highlighting of CVS macros.  Understands single-line
comments (//).
2002-01-28 22:37:36 +00:00
Pavel Roskin
3831458bae Check that aclocal, autoheader, automake and autoconf actually generate
output files.  Exit with an error message otherwise.
Reported by
  Petr Kozelka <pkozelka@centrum.cz> - automake
  Frédéric L. W. Meunier" <lists@pervalidus.net> - aclocal
2002-01-28 16:22:04 +00:00
Wang Jian
e97420ac6e *** empty log message *** 2002-01-28 16:18:16 +00:00
Andraz Tori
8b28d654ae Updated Slovenian translation 2002-01-26 22:37:50 +00:00
Andraz Tori
3c519d7d13 Updated Slovenian translation 2002-01-26 20:02:55 +00:00
Andrew V. Samoilov
c5f91aa310 * ru.po: Fix translation 2002-01-25 10:49:40 +00:00
Pavel Roskin
f3ca861b8f * cpio.c: Don't include glib.h directly. 2002-01-24 15:51:57 +00:00
Marco Ciampa
8becec1cfa Traslated some chmod mgs related (for win32 support? not shure) 2002-01-24 12:09:06 +00:00
Alexander Shopov
8277cd40c2 Added Bulgarian translation. 2002-01-24 11:53:42 +00:00
Vincent van Adrighem
0a523b319a 2002-01-23 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po Translation updated
2002-01-24 00:25:48 +00:00
Duarte Loreto
fa7b780bde 2002-01-23 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated portuguese translation.
2002-01-23 23:55:19 +00:00