Commit Graph

6214 Commits

Author SHA1 Message Date
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
Andrew V. Samoilov
b2706a92c6 Anti-spam protection e-mail address for Leonard den Ottolander 2004-08-22 12:02:14 +00:00
Andrew V. Samoilov
f70663ea00 *m4/ri-gcc-warnings.m4: Typo fixes. 2004-08-22 08:05:19 +00:00
Andrew V. Samoilov
723a5f6177 *m4/ri-gcc-warnings.m4: Typo fixes.
ChangeLog: Likewise.
2004-08-22 08:04:34 +00:00
Andrew V. Samoilov
6ca233ecea * utilunix.c (tilde_expand): Use more suitable function
g_strndup, instead sequence g_malloc, strncpy, name[len] = '\0'
2004-08-20 21:28:05 +00:00
Andrew V. Samoilov
6478efd184 * samba/lib/util.c (tmpdir): Use MC_TMPDIR environment variable.
(automount_lookup): More secure code.
2004-08-20 21:05:02 +00:00
Roland Illig
fb4fd57695 * view.c (move_backward2): Bugfix: Only move the view if the cursor would be out-of-view. 2004-08-19 19:34:16 +00:00
Roland Illig
a540dee8b5 Fixed misleading indentation. 2004-08-19 19:19:04 +00:00
Roland Illig
ea14b320f7 * util.h (move_backward2): Fixed endless loop. Cleaned up code. The only case that's left with the old code is text mode with line wrapping. (move_backward2_textmode_wrap): The special case of moving some lines up in text mode with line wrapping enabled. 2004-08-19 19:16:57 +00:00
Roland Illig
a37fdaca96 * extfs/deb.in (mcdebfs_list): Separated the use of quoted and unquoted variables. (mcdebfs_copyout): likewise. (mcdebfs_run): likewise. From Leonard den Ottolander <leonard@den.ottolander.nl> 2004-08-19 17:37:01 +00:00
Roland Illig
2c4ca680bb * extfs/deba.in (list): Separated the use of quoted and unquoted variables. (copyout): likewise. (run): likewise. From Leonard den Ottolander <leonard@den.ottolander.nl> 2004-08-19 17:32:31 +00:00
Roland Illig
060898b092 * extfs/deba.in (bt): deleted. (ft): deleted. (fm): deleted. (ls): deleted. (list): correctly quoted shell command arguments. (copyout): likewise. (run): likewise. From Leonard den Ottolander <leonard@den.ottolander.nl> 2004-08-19 15:53:13 +00:00
Roland Illig
c42b447115 Using elsif instead of more expensive if. 2004-08-19 15:43:09 +00:00
Roland Illig
388442cf0c smbfs.c: Modified smbfs_convert_path based on a patch sent by Andrew V. Samoilov. Adjusted the calls to smbfs_convert_path. Simplified string handling by using free_after from src/util.h. Fixed one memory leak and one accidental modification. 2004-08-19 12:05:54 +00:00
Roland Illig
d3a5b40c19 * util.h: Added the function free_after for easier handling of dynamically allocated strings. 2004-08-19 11:35:56 +00:00
Roland Illig
c6e3dde5a5 * util.c: Added the function str_replace, which replaces all occurences of a character in a string. 2004-08-19 11:26:48 +00:00
Andrew V. Samoilov
b328811d2a * extfs/rpm: Command line parameters fix for UPGRADE.
Fix mcrpmfs_copyout for INFO/OBSOLETES and INFO/LICENSE

        From Leonard den Ottolander <leonard@den.ottolander.nl>
2004-08-18 21:18:07 +00:00
Andrew V. Samoilov
fecb161283 x.c (mc_tmpdir): Fix typos in comment.
Set MC_TMPDIR environment variable for vfs scripts.
        Clear error after successful test of mc temp dir.
2004-08-18 20:34:01 +00:00
Roland Illig
226177cf11 "make uninstall" removes the symlinks bin/mcedit and bin/mcview. 2004-08-18 20:22:59 +00:00
Andrew V. Samoilov
03976121d9 * screen.c (paint_frame): Fix possible buffer overflow. 2004-08-18 19:55:47 +00:00
Roland Illig
cb4e8787ab --enable-maintainer-mode does not imply --enable-gcc-warnings. I think that would be too annoying to most developers. 2004-08-18 09:17:29 +00:00
Roland Illig
bc8127ded6 Added more const-ness. 2004-08-18 08:58:37 +00:00
Roland Illig
a2f304209a Typos. Removed dead link to README.CVS. 2004-08-17 22:50:09 +00:00
Roland Illig
25d3b4b489 Added a FIXME comment concerning the interpretation of the "cd" command. 2004-08-17 20:08:07 +00:00