Andrew V. Samoilov
de59cf86c4
* user.c (check_format_var): Use more suitable function
...
g_strndup, instead sequence g_malloc(), strncpy(), name[len] = '\0'
* man2hlp.c (handle_link): Use g_strlcpy instead sequence
strncpy(), name[len] = '\0'
* profile.c (GetSetProfile): Likewise.
* wtools.c (fg_input_dialog_help): Likewise.
2004-09-01 18:31:24 +00:00
Andrew V. Samoilov
03ddc6c8e9
* wtools.h: Fix warnings.
...
* selcodepage.c (select_charset): Likewise.
* boxes.c (display_bits_box): Likewise.
2004-09-01 17:46:53 +00:00
Andrew V. Samoilov
facaac9889
* color.c (mc_init_pair): Use cast to avoid warning.
...
* screen.c (display_mini_info): Likewise.
* slint.c (do_define_key): Likewise.
* tree.c (tree_show_mini_info): Likewise. (show_tree):Likewise.
* view.c (view_status): Likewise.
2004-08-31 23:34:18 +00:00
Andrew V. Samoilov
784158a520
E-mail fixes
2004-08-31 14:16:16 +00:00
Andrew V. Samoilov
b93c90db4e
* include/slang.h: Revert last changes - it breaks compiling
...
* sldisply.c: Likewise.
* slerr.c: Likewise.
* slsmg.c: Likewise.
* sltermin.c: Likewise.
2004-08-31 06:44:20 +00:00
Andrew V. Samoilov
0bc44d553c
* extfs.c (struct inode): Use off_t for size.
2004-08-30 18:38:21 +00:00
Andrew V. Samoilov
562577c0d4
Use atoll()/atof() instead of atol() for st_size to show file sizes > 2G.
2004-08-30 18:36:58 +00:00
Andrew V. Samoilov
d16aa745e8
* utilvfs.c (vfs_parse_ls_lga): Use atoll()/atof() instead of atol()
...
for st_size to show file sizes > 2G.
* fish.c (fish_dir_load): Likewise.
* extfs.c (struct inode): Use off_t for size.
2004-08-30 18:36:22 +00:00
Roland Illig
bdd4ab2ae5
* m4/ri-gcc-warnings.m4: Now handles only the last --enable or
...
--disable option. Before, --disable has not been handled
correctly.
2004-08-30 11:24:11 +00:00
Roland Illig
73207a8994
* slang.h: Added const qualifier to some of the SLang functions.
2004-08-30 11:12:57 +00:00
Roland Illig
be94f06cc2
* ri-gcc-warnings.m4: Fixed handling of more than one --enable option.
2004-08-30 10:46:07 +00:00
Roland Illig
2ed35b596c
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional
changes. Patch contributed by Andrew V Samoilov.
2004-08-30 10:38:00 +00:00
Roland Illig
3da9abba54
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-30 00:02:36 +00:00
Roland Illig
7bff9337c0
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. Additionally wrapped
the calls to putenv() by g_strdup().
2004-08-29 23:59:17 +00:00
Roland Illig
3f3c24f511
* view.c (move_backward2): Removed unused variables.
2004-08-29 23:56:53 +00:00
Roland Illig
1d573d9059
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 23:54:47 +00:00
Roland Illig
3957415603
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 23:39:38 +00:00
Roland Illig
03913065b4
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 23:27:40 +00:00
Roland Illig
17714fd8d9
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 23:20:01 +00:00
Roland Illig
4c1ea14493
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. Now using two temp
variables: one for strings that need not be freed (temp) and
one for strings that need to (temp2).
2004-08-29 22:55:57 +00:00
Roland Illig
5697bd2a92
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 22:51:02 +00:00
Roland Illig
d6d457ba9a
* dialog.c: made the callback parameter of find_widget_type correctly typed.
2004-08-29 22:44:17 +00:00
Roland Illig
b75c5a31a3
* dialog.h: marked the title as "notconst", as it is freed
...
by the destructor.
2004-08-29 22:43:27 +00:00
Roland Illig
5c4add0e6e
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 22:38:06 +00:00
Roland Illig
b86b6a7bc7
* background.c (do_background): Fixed file descriptor leak.
2004-08-29 18:57:31 +00:00
Roland Illig
243e84706e
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 18:45:56 +00:00
Roland Illig
263ea5c1d5
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 17:57:39 +00:00
Roland Illig
65ffa864b8
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 17:24:12 +00:00
Roland Illig
4baefa09c2
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 17:15:23 +00:00
Roland Illig
8458240147
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 16:42:40 +00:00
Andrew V. Samoilov
3c4b2f8ff4
Fixed changelog entry - use parenthesis for explicit function name
2004-08-26 19:56:14 +00:00
Andrew V. Samoilov
81e4bdfe72
smbfs.c (smbfs_open_readwrite): Implement O_APPEND via smbfs_lseek().
2004-08-26 19:51:38 +00:00
Andrew V. Samoilov
7680fd6884
* extfs/rpm: Modified workaround for spaces and single quotes
...
in the path name. For mcrpmfs_copyout too.
2004-08-26 18:59:26 +00:00
Andrew V. Samoilov
1655a5437c
Corrected Changelog entries for ri-gcc-warnings.m4
2004-08-26 09:38:56 +00:00
Roland Illig
f78fd52bfe
* undelfs.c (undelfs_lstat): Adjusted declaration.
...
(undelfs_stat): Defined to undelfs_lstat.
From Andrew V. Samoilov
2004-08-26 09:17:38 +00:00
Andrew V. Samoilov
a2d1d4e8dc
* direntry.c: Use g_strlcpy instead strncpy for fix buffer overrun
...
* extfs.c: Likewise.
* mcfs.c: Likewise.
* smbfs.c: Likewise.
* utilvfs.c: Likewise.
2004-08-26 08:47:50 +00:00
Roland Illig
c64cec997a
* vfs.c (mc_chdir): Fixed memory leak.
2004-08-26 00:17:36 +00:00
Roland Illig
6f68fa3082
* cmd.c (do_link): Fixed memory leak and cleaned up code.
2004-08-26 00:12:16 +00:00
Andrew V. Samoilov
761406cfdf
* edit/editcmd.c: Fix buffer overflows in edit replace code.
2004-08-25 22:12:02 +00:00
Andrew V. Samoilov
201c30624e
* vfs/extfs/a.in: Quote parameters to calls to system/open that spawn a shell.
...
* vfs/extfs/apt.in: Likewise.
* vfs/extfs/debd.in: Likewise.
* vfs/extfs/dpkg.in: Likewise.
* vfs/extfs/deba.in: Clean up earlier fixes to quotation of parameters.
* vfs/extfs/deb.in: Likewise.
2004-08-24 19:51:41 +00:00
Andrew V. Samoilov
acc5f18cfa
Change e-mail for Leonard den Ottolander
2004-08-24 19:27:01 +00:00
Roland Illig
83c07852e9
* extfs.c (extfs_internal_stat): Fixed memory leaks introduced
...
by my change from 2004-08-16. (extfs_unlink): likewise.
* ftpfs.c (ftpfs_send_command): likewise.
2004-08-24 15:56:24 +00:00
Roland Illig
6bd2914cc1
Added missing ChangeLog entries from 2004-08-16.
2004-08-24 14:01:12 +00:00
Roland Illig
1544da13a1
Added missing ChangeLog entries from 2004-08-16.
2004-08-24 12:58:56 +00:00
Roland Illig
c12aeadadb
Added missing ChangeLog items from 2004-08-16.
2004-08-24 11:24:43 +00:00
Andrew V. Samoilov
76a8893a53
* extfs/urar.in: Fix non-POSIX constructs.
2004-08-22 22:47:15 +00:00
Andrew V. Samoilov
dbedd885e6
* extfs/rpm: Modified workaround for spaces and single quotes in the path name.
2004-08-22 22:38:49 +00:00
Andrew V. Samoilov
8a410cf065
* extfs/rpm: Don't show cpio contents in main rpm view.
...
Also avoids copying files from main view instead of from
inside CONTENTS.cpio. The former is painfully slow as the whole
file is rpm2cpio'd on each copy.
2004-08-22 21:43:18 +00:00
Andrew V. Samoilov
bb8bf1756e
* syntax.c (edit_read_syntax_rules): Dynamically allocate
...
more space for contexts and for words in context.
2004-08-22 20:47:56 +00:00
Andrew V. Samoilov
406beebb47
* syntax/m4.syntax: Add matching AS_* keywords.
2004-08-22 13:23:45 +00:00