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 |
|
Andrew V. Samoilov
|
6776c2cdb9
|
do_background: Use O_RDWR when opening the file '/dev/null'
for replacement standard streams.
|
2004-08-17 20:01:58 +00:00 |
|
Andrew V. Samoilov
|
ff6051511f
|
ckground.c (do_background): Use O_RDWR when opening the file '/dev/null'
for replacement standard streams.
|
2004-08-17 20:01:30 +00:00 |
|
Andrew V. Samoilov
|
d3d15be22f
|
utilunix.c(mc_tmpdir): Check return value of getpwuid() for NULL.
|
2004-08-17 18:46:33 +00:00 |
|
Andrew V. Samoilov
|
72488a9d6c
|
mc_tmpdir: Check return value of getpwuid() for NULL.
|
2004-08-17 18:45:47 +00:00 |
|
Roland Illig
|
cdc35124d3
|
Only use this file if USE_VFS is defined.
|
2004-08-17 13:00:58 +00:00 |
|
Roland Illig
|
8a0b96bd27
|
Made name and prefix of vfs_class constant.
|
2004-08-17 11:19:31 +00:00 |
|
Roland Illig
|
94d1dea0b9
|
Added more const-ness. Avoided name collisions by shadowing.
|
2004-08-17 11:18:47 +00:00 |
|
Roland Illig
|
cf1c61cd2a
|
Added more const-ness. Avoided name collision for netrc.
|
2004-08-17 11:17:02 +00:00 |
|
Roland Illig
|
c0a173bf7b
|
Added more const-ness.
|
2004-08-17 11:14:51 +00:00 |
|
Roland Illig
|
f608bd21f8
|
Renamed any variable stat into st.
|
2004-08-17 11:13:55 +00:00 |
|
Roland Illig
|
756067410f
|
Removed trailing comma in enumeration.
|
2004-08-17 11:13:10 +00:00 |
|
Roland Illig
|
2ebf787653
|
Renamed version to show_version to avoid name clashes.
|
2004-08-17 10:40:16 +00:00 |
|
Roland Illig
|
5689ee5699
|
Added more const-ness to variables.
|
2004-08-17 10:26:44 +00:00 |
|
Roland Illig
|
370b29d6f6
|
Removed duplicate declaration of vfs_file_is_local.
|
2004-08-17 10:19:44 +00:00 |
|
Roland Illig
|
d579b0bc77
|
Maintainer mode implies additional GCC warnings.
|
2004-08-17 10:15:45 +00:00 |
|
Roland Illig
|
e4b55374d8
|
Enable GCC version specific warnings.
|
2004-08-17 09:52:53 +00:00 |
|
Roland Illig
|
5a345d5e4d
|
Const-ified the vfs_find[ug]id functions.
|
2004-08-17 09:48:15 +00:00 |
|
Roland Illig
|
6eb3569507
|
Prepend instead of append the CFLAGS and CXXFLAGS.
|
2004-08-17 09:41:19 +00:00 |
|
Roland Illig
|
4e62c492e3
|
Added GCC warnings for various compiler versions.
|
2004-08-17 09:39:19 +00:00 |
|
Roland Illig
|
acd63d7374
|
Moved the declaration of the init_*fs functions into specialized headers (*fs.h or vfs-impl.h).
|
2004-08-17 09:17:43 +00:00 |
|
Roland Illig
|
64aad2cda5
|
GCC Warnings are only activated in maintainer-mode. They have been moved some lines down to not disturb feature checking (when CFLAGS="-Werror").
|
2004-08-17 08:53:30 +00:00 |
|
Andrew V. Samoilov
|
c71b24708a
|
Fix insecure temporary file and directory creations. Add files:
doc/mc.1.in, doc/es/mc.1.in, doc/hu/mc.1.in, doc/it/mc.1.in,
doc/pl/mc.1.in, doc/ru/mc.1.in, doc/sr/mc.1.in
|
2004-08-17 08:45:49 +00:00 |
|
Andrew V. Samoilov
|
d65d90116c
|
Security fix patch. Fix insecure temporary file and directory creations. (CAN-2004-0231)
|
2004-08-17 08:41:52 +00:00 |
|
Andrew V. Samoilov
|
ce8669be61
|
lib/cedit.menu, lib/mc.menu - Fix insecure temporary file
and directory creations.
|
2004-08-17 08:37:46 +00:00 |
|
Andrew V. Samoilov
|
9278084559
|
Security fix patch. Fix insecure temporary file and directory creations. (CAN-2004-0231)
|
2004-08-17 08:31:16 +00:00 |
|