Roland Illig
8b1e87523a
* boxes.c (display_unit): Added const qualifier.
...
* file.c (check_hardlinks): Likewise.
* find.c (find_do_view_edit): Likewise. (find_file): Likewise.
* global.h (home_dir): Likewise.
* main.c (get_parent_dir_name): Likewise. (init_xterm_support):
Likewise. (OS_Setup): Likewise.
* menu.c (create_menu): Likewise.
* mountlist.c (xatoi): Likewise. (read_filesystem_list): Likewise.
* poptconfig.c (poptReadDefaultConfig): Likewise.
* popthelp.c (showHelpIntro): Likewise.
* rxvt.c (look_for_rxvt_extensions): Likewise.
* slint.c (has_colors): Likewise.
* subshell.c (check_sid): Likewise.
* user.c (check_format_var): Likewise.
* widget.c (radio_callback): Likewise.
2004-09-25 13:46:23 +00:00
Roland Illig
f02ccb81a0
* view.c (display): Display "_\b_" correctly in both colors.
2004-09-25 02:00:25 +00:00
Roland Illig
bf256d7e04
* view.c (display): Recognize "+\bo" as a list item in nroff mode.
...
* view.c (hex_search): Added const qualifier.
2004-09-25 01:12:09 +00:00
Andrew V. Samoilov
c060826178
* direntry.c (vfs_s_free_entry): g_free handles NULL argument too,
...
no need for the comparison.
* extfs.c (extfs_free_archive): Likewise.
(extfs_open_archive): Likewise.
(extfs_read_archive): Likewise.
(extfs_remove_entry): Likewise.
(extfs_free_entry): Likewise.
* fish.c (fish_open_archive): Likewise.
(fish_archive_same): Likewise.
* ftpfs.c (ftpfs_split_url): Likewise.
* local.c (local_closedir): Likewise.
* mcserv.c (close_handle): Likewise.
* smbfs.c (smbfs_free_bucket): Likewise.
* tar.c (tar_read_header): Likewise.
* undelfs.c (undelfs_shutdown): Likewise.
* vfs.c (vfs_shut): Likewise.
2004-09-24 23:00:18 +00:00
Andrew V. Samoilov
12d24222db
* edit.c (edit_clean): g_free handles NULL argument too,
...
no need for the comparison.
(edit_move_backward_lots): Likewise.
* editcmd.c (edit_set_filename): Likewise.
(edit_replace_cmd): Likewise.
(edit_search_cmd): Likewise.
(edit_sort_cmd): Likewise.
(edit_mail_dialog): Likewise.
* syntax.c (syntax_g_free): Likewise.
(edit_read_syntax_rules): Likewise.
2004-09-24 22:37:00 +00:00
Andrew V. Samoilov
68a7c1dfab
* boxes.c (configure_vfs): g_free handles NULL argument too,
...
no need for the comparison.
* cmd.c (set_panel_filter_to): Likewise.
(do_link): Likewise.
(quick_cd_cmd): Likewise.
* color.c (done_colors): Likewise.
* dialog.c (destroy_dlg): Likewise.
* dir.c (alloc_dir_copy): Likewise.
* ext.c (flush_extension_file): Likewise.
* file.c (copy_file_file): Likewise.
(panel_operate): Likewise.
* hotlist.c (remove_group): Likewise.
(remove_from_hotlist): Likewise.
(done_hotlist): Likewise.
* main.c (main): Likewise.
* setup.c (panel_load_setup): Likewise.
* tree.c (tree_destroy): Likewise.
(show_tree): Likewise.
* user.c (user_menu_cmd): Likewise.
* utilunix.c (i_cache_add): Likewise.
(putenv): Likewise.
* view.c (view_done): Likewise.
(regexp_search): Likewise.
(normal_search): Likewise.
(change_viewer): Likewise.
* widget.c (label_set_text): Likewise.
(set_label_text): Likewise.
2004-09-24 22:22:35 +00:00
Roland Illig
2448006e86
* file.c (progress_update_one): Changed parameter type from int
...
to off_t.
Fixes http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124241
2004-09-24 18:14:49 +00:00
Roland Illig
2d0ef59071
* HACKING: added Redhat to the list of bug databases.
2004-09-24 17:05:41 +00:00
Roland Illig
c1a6f6dfd0
* HACKING: added pkgsrc-wip to the list of patch sources.
2004-09-24 16:55:00 +00:00
Roland Illig
3c09855c2d
* util.c (load_file_position): Fixed possible segmentation fault
...
when an $HOME/.mc/filepos did not contain a ';'.
2004-09-24 16:43:08 +00:00
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