Roland Illig
e9fcc04816
* vfs.c (mc_open): Corrected FIXME. Now the "mode" parameter is
...
only accessed when flags contains O_CREAT.
2004-09-24 16:03:24 +00:00
Roland Illig
d13910537a
* HACKING: Summarized the functions applicable to the NULL tip.
2004-09-24 15:53:58 +00:00
Roland Illig
844d55b627
* HACKING (Programming tips): added a tip concerning the NULL
...
pointer in varargs function calls.
2004-09-24 15:14:05 +00:00
Roland Illig
4bc786735e
* cpio.c: Replaced NULL with (char *) NULL. Likewise for 0, where
...
NULL was meant.
* direntry.c: Likewise.
* extfs.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
* mcfs.c: Likewise.
* tar.c: Likewise.
* undelfs.c: Likewise.
* vfs.c: Likewise.
2004-09-24 15:08:21 +00:00
Roland Illig
11842a375f
2004-09-24 Roland Illig <roland.illig@gmx.de>
...
* boxes.c: Replaced NULL with (char *) NULL. Likewise for 0, where
NULL was meant.
* cmd.c: Likewise.
* dialog.c: Likewise.
* ext.c: Likewise.
* file.c: Likewise.
* find.c: Likewise.
* hotlist.c: Likewise.
* learn.c: Likewise.
* main.c: Likewise.
* screen.c: Likewise.
* setup.c: Likewise.
* treestore.c: Likewise.
* user.c: Likewise.
* util.c: Likewise.
* utilunix.c: Likewise.
* view.c: Likewise.
* widget.c: Likewise.
* wtools.c: Likewise.
2004-09-24 15:05:28 +00:00
Roland Illig
9c65d36bdd
* edit.c: Replaced NULL with (char *) NULL. Likewise for 0, where
...
NULL was meant.
* editcmd.c: Likewise.
* editlock.c: Likewise.
* editwidget.c: Likewise.
* syntax.c: Likewise.
2004-09-24 14:57:57 +00:00
Roland Illig
df14f4860c
* HACKING (Programming tips): added a tip concerning the NULL
...
pointer in varargs function calls.
2004-09-24 14:19:21 +00:00
Roland Illig
ad1e412fa1
* slsignal.c (SLsystem): Replaced NULL with (char *) NULL in
...
call to execl.
From patches from the OpenBSD ports collection.
2004-09-24 14:06:04 +00:00
Roland Illig
e0f5d6e37f
* cons.handler.c (handle_console_linux): Replaced NULL with
...
(char *) NULL in call to execl.
* subshell.c (init_subshell_child): Likewise.
* utilunix.c (my_system): Likewise.
From patches from the OpenBSD ports collection.
2004-09-24 14:02:39 +00:00
Roland Illig
283441db92
* editdraw.c (status_string): Removed unused parameter.
...
(edit_status): Rewrote to allow longer filenames to be displayed
completely whenever possible.
2004-09-24 11:13:11 +00:00
Andrew V. Samoilov
17f58c5a1d
Add:
...
Files in the root of a tar that start with ./ (dot slash) are invisible
when entering the archive.
2004-09-23 19:32:28 +00:00
Roland Illig
60465dace3
* cpio.c (cpio_read_bin_head): Replaced GUINT16_SWAP_LE_BE with
...
GUINT16_SWAP_LE_BE_CONSTANT, because GCC-3.3 emitted a warning about
__asm__ __const__.
2004-09-23 14:58:40 +00:00
Roland Illig
ff7a776535
* main.c (OS_Setup): Fixed segmentation fault.
...
From Oskar Liljeblad <oskar osk.mine.nu>
2004-09-23 14:07:44 +00:00
Roland Illig
8f2dfbb70e
* de.po: Fixed translation of "Count" to "Anzahl" instead of
...
"Zhlen". (Closes: Debian#253869)
2004-09-22 13:54:57 +00:00
Roland Illig
44c189e83d
* HACKING: fixed typo.
2004-09-22 12:11:08 +00:00
Roland Illig
727b62e229
* HACKING: added a section about where to look for bug reports
...
and patches.
2004-09-22 12:00:42 +00:00
Roland Illig
a3cf3b2d5f
* direntry.c (vfs_s_new_entry): see 2004-09-19. Additionally followed the advice
...
concerning g_strdup in /HACKING.
(vfs_s_generate_entry): Likewise.
(vfs_s_find_entry_linear): Likewise.
(vfs_s_find_inode): Likewise.
* xdirentry.h: Likewise.
2004-09-22 11:28:14 +00:00
Roland Illig
1b06b35d82
* HACKING: added advice for using g_strdup for a modifiable
...
copy of a string.
2004-09-22 11:02:20 +00:00
Andrew V. Samoilov
c524515308
* direnty.c (vfs_s_new_entry): Revert last changes.
...
(vfs_s_generate_entry): Likewise.
(vfs_s_find_entry_linear): Likewise.
(vfs_s_find_inode): Likewise.
* xdirentry.h: likewise.
2004-09-22 05:50:45 +00:00
Andrew V. Samoilov
c5fd73d92b
* filegui.c (file_mask_dialog): Expand tilde. Remove redundant
...
ifs before g_free().
2004-09-21 12:40:50 +00:00
Andrew V. Samoilov
585edf1b51
Done:Tilde not expanded in copy and move dialogs.
2004-09-21 12:40:14 +00:00
Andrew V. Samoilov
2c07096f86
Second fix typos
2004-09-20 03:18:47 +00:00
Andrew V. Samoilov
53ab2f736e
Fix typos
2004-09-20 03:16:47 +00:00
Roland Illig
3c6a792d4b
* edit/edit.h: renamed edit() to edit_file() to avoid GCC shadow
...
warnings (many variables are also called edit).
* edit/editwidget.c: likewise.
* src/cmd.c: renamed edit() to edit_file() to avoid GCC shadow
warnings (many variables are also called edit).
* src/main.c: likewise.
2004-09-19 17:46:39 +00:00
Roland Illig
9707addee8
* complete.c: Surrounded the declaration of environ by and #ifdef
...
guard to avoid a GCC warning about a redundant declaration.
2004-09-19 17:35:05 +00:00
Roland Illig
c4db0cac6a
* boxes.c: Added const qualifiers.
2004-09-19 17:33:18 +00:00
Roland Illig
6c29de339b
* editcmd.c (edit_replace_prompt): Allocate the label text
...
dynamically instead of using catstrs. Don't handle
ENABLE_CHARSET specially.
2004-09-19 17:23:52 +00:00
Roland Illig
a9f9db7b6b
* direntry.c: Added const qualifier to function declarations and
...
variables. Introduced local modifiable strings where necessary.
* xdirentry.h: likewise.
2004-09-19 16:07:17 +00:00
Roland Illig
9c334b4dd8
* achown.c: Added const qualifiers and const_cast.
...
* background.c: likewise.
* boxes.c: likewise.
* file.c: likewise.
* filegui.c: likewise.
* find.c: likewise.
* hotlist.c: likewise.
* info.c: likewise.
* layout.c: likewise.
* myslang.h: likewise.
* option.c: likewise.
* user.c: likewise.
* util.c: likewise.
* utilunix.c: likewise.
* view.c: likewise.
* widget.c: likewise.
2004-09-19 15:55:58 +00:00
Roland Illig
5418fdc3a8
* HACKING: added explanation for const_cast.
2004-09-19 15:45:54 +00:00
Roland Illig
d5f70f2ab8
* editcmd.c (edit_replace_cmd): Added const qualifier.
...
* editwidget.c (edit_my_define): likewise.
2004-09-19 15:40:09 +00:00
Roland Illig
07d52482c6
* util.c (strip_home_and_password): Fixed possible buffer overflow.
2004-09-19 12:45:43 +00:00
Roland Illig
2f059780af
* find.c: Applied patch to make the find dialog more responsive
...
while scanning through large files.
From Jindrich Makovicka <makovick kmlinux.fjfi.cvut.cz>
2004-09-19 11:32:30 +00:00
Roland Illig
fd4b2d7d35
* view.c (view_handle_key): Fixed invalid-offset-bug when handling
...
ctrl-e in hex mode.
2004-09-18 22:00:55 +00:00
Roland Illig
8335c0fab3
* smbfs.c (smbfs_init): Added a cast to avoid compiler warning.
2004-09-18 14:41:42 +00:00
Roland Illig
2994c738d0
* help.c (search_string): Fixed a warning about a const qualifier.
...
A local copy of the string is used for modifying.
* menu.h: Removed the const qualifier from Menu.name and
Menu.help_node as they are freed in destroy_menu.
* menu.c (destroy_menu): Removed the (now unnecessary) casts.
* popt.h: Removed a const qualifier to avoid compiler warnings.
* profile.c (get_profile_string): Added const qualifiers to
avoid compiler warnings. (GetSetProfile): likewise.
(GetSetProfileChar): likewise.
* profile.h (get_profile_string): likewise.
* win.c (check_movement_keys): likewise.
* win.h (check_movement_keys): likewise.
2004-09-18 14:30:58 +00:00
Andrew V. Samoilov
312da833ff
* extfs.c (extfs_open_archive): Fixes bug in extfs, which showed
...
'Inconsistent extfs archive' on small archives and diffs.
QNX 6.x (QNX Neutrino) specific
2004-09-17 11:44:43 +00:00
Andrew V. Samoilov
05cea9cabf
Typos
2004-09-17 11:43:02 +00:00
Andrew V. Samoilov
28c5119bd1
* ext.c (get_file_type_local): Fixes <zombies> in
...
QNX 6.x (QNX Neutrino) when guessing file type before
viewing file.
2004-09-17 11:40:30 +00:00
Andrew V. Samoilov
c35092fabd
* makefile.syntax.diff: adds define and ended keyrowrds
...
* perl.syntax.diff: adds break keyword
2004-09-17 09:56:47 +00:00
Andrew V. Samoilov
ed53105975
Fix const. Partially revert previous patch.
2004-09-17 08:46:53 +00:00
Andrew V. Samoilov
fade042845
Typos
2004-09-17 08:32:59 +00:00
Andrew V. Samoilov
80ad2213bb
* wtools.h (QuickWidget): Make text const.
...
* wtools.c (fg_input_dialog_help): Fix warning.
2004-09-17 03:19:21 +00:00
Andrew V. Samoilov
32cdf184ba
* editcmd.c (edit_replace_prompt) [HAVE_CHARSET]: Warning hack.
2004-09-17 03:07:37 +00:00
Andrew V. Samoilov
0b032ef66f
* hotlist.c (add_new_entry_input): Fix warnings.
2004-09-17 03:02:18 +00:00
Andrew V. Samoilov
3653343e4d
Done: Crash when opening tar archives with links on the top level pointing inside a directory.
...
Done: Hard links in cpio archives have 0 length.
2004-09-15 10:14:09 +00:00
Andrew V. Samoilov
0e7b3d6ac6
* utilunix.c (tilde_expand): Fix extra slash in result from
...
tilde_expand() for ~<user>/dir.
2004-09-14 17:39:12 +00:00
Andrew V. Samoilov
8919656440
* utilunix.c (tilde_expand): Fix extra slash in result from tilde_expand() for ~<user>/dir.
2004-09-14 17:23:16 +00:00
Andrew V. Samoilov
ee2e35afb4
* key.c (get_modifier): Recognize keyboard modifiers on Cygwin.
2004-09-14 17:18:25 +00:00
Andrew V. Samoilov
e3698948a4
* execute.c (toggle_panels): Fix error. show_output_starts_shell=1
...
is not working
* cmd.c (view_other_cmd): Likewise.
2004-09-12 10:52:17 +00:00