Commit Graph

4409 Commits

Author SHA1 Message Date
Andrew V. Samoilov
996dd893b5 * smbfs.c (loaddir_helper): Remove write permissions if file
has readonly attribute.  Add execute permissions for directory.
Reformat whole function.
(server_browsing_helper): Add execute permissions.  Reformat.
(browsing_helper): Likewise.
2002-09-11 12:53:58 +00:00
Andrew V. Samoilov
9bf81e18d7 One more message 2002-09-11 11:48:48 +00:00
Marco Ciampa
9bc585d912 advancing in the translation... 2002-09-11 11:25:27 +00:00
Andrew V. Samoilov
b7cae0c6e2 * main.c [WITH_SMBFS]: Include ../vfs/smbfs.h.
(argument_table) [WITH_SMBFS]: Add -D, --debuglevel option for
smbfs debug level.
(process_args) [WITH_SMBFS]: Handle new -D option.
(print_mc_usage) [WITH_SMBFS]: Describe -D, --debuglevel option.
2002-09-11 10:05:24 +00:00
Pavel Roskin
30aed7cfc5 Update. 2002-09-11 08:13:23 +00:00
Marco Ciampa
7e311aba9e 3 fuzzy updated... 2002-09-11 05:50:26 +00:00
Pavel Roskin
547567ae47 * subshell.c: Move tcsh_fifo to the file scope. Use mc_tmpdir()
to calculate tcsh_fifo.
2002-09-11 05:23:18 +00:00
Pavel Roskin
485b40ac2a * utilunix.c (mc_tmpdir): New function that returns temporary
directory for mc.
* util.c (mc_mkstemps): Use mc_tmpdir().
* main.c (main): Call mc_tmpdir().
2002-09-11 04:58:24 +00:00
Pavel Roskin
83d0b9a9d6 Global replacement for two quasi-english strings from vfs/smbfs.c. 2002-09-11 04:06:25 +00:00
Pavel Roskin
ec1b1f9614 Globally replace OS2_NT and _OS_NT with WIN32_NATIVE. 2002-09-10 22:04:11 +00:00
Pavel Roskin
9c04fa4313 * vfs.h: Remove BROKEN_PATHS, it's unused. 2002-09-10 21:51:12 +00:00
Pavel Roskin
8568fc50d9 * Make-alone.am: Get rid of all standalone code, it has been
unmaintained for years.
2002-09-10 21:48:49 +00:00
Pavel Roskin
08440f7e8d * util.c (trim): Handle short strings even better - don't use
dots unless necessary.
2002-09-10 21:39:07 +00:00
Pavel Roskin
9af6bedb04 * main.c (load_prompt): Don't shorten the prompt if COLS is 8 or
less.
2002-09-10 21:18:11 +00:00
Pavel Roskin
1314fc2a07 * screen.c (show_dir): Don't call trim() with negative length.
* util.c (trim): Better handle short length.  Make sure that the
destination is always 0-terminated.
2002-09-10 19:58:33 +00:00
Marco Ciampa
d6575d196a *** empty log message *** 2002-09-10 11:47:55 +00:00
Marco Ciampa
b05f081397 trimming 2002-09-10 07:54:22 +00:00
Marco Ciampa
9006f0d30e *** empty log message *** 2002-09-09 15:36:20 +00:00
Marco Ciampa
177d043827 advancing to complete the translation: file commands... 2002-09-09 11:51:15 +00:00
Andrew V. Samoilov
aec8a76263 * screen.c (string_file_name): Fix possible off-by-one
buffer overflow.
(string_file_size): Avoid unsafe strcpy().
(string_file_size_brief): Likewise.  Eliminate buffer array.
2002-09-09 07:28:38 +00:00
Marco Ciampa
0d1ef44182 Corrected a misdeleted row that created a crash on f1-f1 key pressing... 2002-09-08 21:25:20 +00:00
Pavel Roskin
6d8e2e73e1 * color.c: Move hascolors variable into init_colors(). Adjust
all dependencies.
2002-09-08 17:30:52 +00:00
Marco Ciampa
407198b50e *** empty log message *** 2002-09-08 17:15:58 +00:00
Pavel Roskin
a480b09b7c * myslang.h: Remove definition of initscr(), it's unused. 2002-09-08 16:49:41 +00:00
Pavel Roskin
ef9a43a7a3 * tty.h [!HAVE_SLANG]: Remove all slang_* definitions.
* main.c (main) [!HAVE_SLANG]: Don't call slang_shutdown().
* myslang.h: Remove slang_done_screen(), it's unused.
2002-09-08 16:22:54 +00:00
Pavel Roskin
5d2757fb8d * key.c (get_event): Check gpm_fd only if gpm is actually used.
* layout.c (done_screen): Move disable_mouse() call ...
* main.c (done_mc): ... here.
2002-09-08 15:50:02 +00:00
Pavel Roskin
d2c8d076f9 * view.c (init_growing_view): Avoid reporting the same error
twice.  Reported by Moritz Barsnick <moritz@barsnick.net>
2002-09-08 15:22:28 +00:00
Pavel Roskin
15098a5cd1 * configure.in: Eliminate --with-terminfo option, which was
essentially equivalent to --with-included-slang and didn't force
anything.
* acinclude.m4 (AC_USE_TERMINFO): Remove.
* INSTALL: Adjust to match.
* FAQ: Likewise.
2002-09-07 07:52:23 +00:00
Pavel Roskin
9deca156f0 * textconf.c: Don't use SLANG_TERMINFO, which is unused anywhere
else.  Assume that terminfo is used if USE_TERMCAP is undefined.
2002-09-07 07:36:59 +00:00
Pavel Roskin
4071f3da86 Short explanation of the purpose of this directory. 2002-09-07 01:02:57 +00:00
Pavel Roskin
14046e7f7f Files used for maintenance. 2002-09-07 01:00:52 +00:00
Pavel Roskin
7d723361b2 * subshell.c (subshell_name_quote): Return NULL if we are out of
memory.  Use "echo -e" with zsh (Debian bug #150996).
(do_subshell_chdir): Be prepared to get NULL from
subshell_name_quote().
2002-09-07 00:27:53 +00:00
Pavel Roskin
53982cb546 * profile.c: Remove unused code. Eliminate global variables.
(is_loaded): Rename to find_loaded().  return matching profile.
Adjust all dependencies.
2002-09-06 20:25:15 +00:00
Pavel Roskin
ca90bd204f * fs.h: Only redefine S_IS* macros if they are undefined, and
then define them to 0.  S_IF* constants should be avoided.
* util.c : Whenever possible, use standard POSIX macros to test
for the file type.
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2002-09-06 19:23:45 +00:00
Pavel Roskin
04c7da6358 * direntry.c [!USE_NETCODE]: Disable functions used in networked
filesystems only.
2002-09-06 01:34:12 +00:00
Pavel Roskin
ff8cf87949 * cmd.c (nice_cd): Fix conditions when this function is
compiled.
2002-09-06 01:30:50 +00:00
Pavel Roskin
3697034770 * vfs.c (vfs_init) [!USE_NETCODE]: Don't register fish. 2002-09-06 01:27:45 +00:00
Pavel Roskin
3b1339707a * configure.in: Fix USE_VFS_NET conditional. Don't substitute
NETFILES - it's unused.
2002-09-06 01:19:02 +00:00
Pavel Roskin
3c7cc35025 * ftpfs.c: Check for existance of arpa/inet.h when using it.
* mcfs.c: Likewise.
* mcserv.c: Likewise.
* tcputil.c: Likewise.
* utilvfs.c: Likewise.
2002-09-06 01:02:25 +00:00
Pavel Roskin
35908dbd71 * configure.in: Check for arpa/inet.h. 2002-09-06 00:58:28 +00:00
Pavel Roskin
a36e7b7fad * fs.h: Replace S_IFFIFO with S_IFIFO, which is the right name. 2002-09-06 00:52:35 +00:00
Pavel Roskin
5e9c0314a2 * fs.h: Correct S_IS* definitions to use S_IFMT. Add fallback
definitions for S_IFDOOR and S_ISDOOR.
* screen.c (string_file_type): Remove unnesessary ifdefs, fs.h
takes care of it.
(file_compute_color): Add support for Solaris doors.
* util.c (string_perm): Remove unnesessary ifdef.
2002-09-06 00:47:46 +00:00
Pavel Roskin
d520b9f76f * man2hlp.c (handle_command): Make clear that unsupported
command is a warning, not an error.  Avoid unsafe strcat().
2002-09-05 20:47:12 +00:00
Pavel Roskin
cac0accb55 * view.c (view_mode_callback): Eliminate, use the default
callback.
2002-09-05 19:16:18 +00:00
Pavel Roskin
56bbc6abf4 Fix stray dots. 2002-09-05 18:29:26 +00:00
Pavel Roskin
87da6b9f42 * main.c (load_hint): Don't hardcode copyright years. Use a
translated message.
2002-09-05 16:36:43 +00:00
Pavel Roskin
01e2780615 * main.c (midnight_callback): Avoid calling the default DLG_DRAW
handler.  From David Martin <dmartina@excite.com>
2002-09-05 06:59:17 +00:00
Pavel Roskin
63a2d3dceb Compile fix. 2002-09-05 06:55:50 +00:00
Pavel Roskin
e3d2468200 Update from David Martin <dmartina@excite.com> 2002-09-05 06:53:43 +00:00
Pavel Roskin
b248f6bb32 * help.c (help_handle_key): Sanity check for broken help files.
From David Martin <dmartina@excite.com>
2002-09-05 06:51:46 +00:00