Roland Illig
3716da314b
* utilunix.c (mc_tmpdir): Convert uid to int for pathname
...
of the temporary directory.
From Pavel Tsekov <ptsekov gmx net>.
2004-10-23 07:18:48 +00:00
Roland Illig
b5a38517cd
* complete.c (environ): Don't declare environ on Cygwin.
...
From Pavel Tsekov <ptsekov gmx net>.
2004-10-23 07:12:39 +00:00
Roland Illig
fa72520d74
* regex.c (regerror): Never use the __memcpy function, as it
...
breaks the build on Cygwin.
2004-10-22 22:53:37 +00:00
Andrew V. Samoilov
849d95373b
Fix typos
2004-10-22 08:44:20 +00:00
Roland Illig
80aa91ede7
* view.c (display): Fixed bug that displayed an empty file in
...
hexview mode with growing buffers.
2004-10-22 08:18:55 +00:00
Roland Illig
10256f6e35
* regex.c: Fix the C preprocessor feature tests. They produced
...
warnings before.
2004-10-22 07:55:56 +00:00
Andrew V. Samoilov
b1b4aadcd7
* main.c (print_color_usage): Update list of keywords for global,
...
menu and help.
Change my email in ChangeLogs
2004-10-22 05:47:25 +00:00
Roland Illig
fe6f6ab57e
* cons.saver.c (die): Declare as "static" to avoid gcc warning.
...
(send_contents): Likewise.
2004-10-21 23:08:28 +00:00
Andrew V. Samoilov
3c8833159f
* user.c (user_menu_cmd): Fix error. test_line() doesn't handle
...
consecutive '+'s and '='s correctly. Pass a line starting with
a single '+' or '=' instead.
2004-10-20 12:29:55 +00:00
Andrew V. Samoilov
959955939d
* hotlist.c (add_new_entry_cmd): Fix memory leaks.
2004-10-16 19:17:19 +00:00
Roland Illig
441701fc13
* view.c (get_bottom_first): Renamed another EOF_offset to INVALID_OFFSET.
2004-10-16 17:30:00 +00:00
Roland Illig
f6300b882b
* view.c: Rename EOF_offset to INVALID_OFFSET, as it is mostly
...
used to mark an invalid cache.
2004-10-16 15:52:48 +00:00
Roland Illig
a02c4b593f
* file.c (do_file_error): Add const qualifier. (query_recursive):
...
Likewise. (query_replace): Likewise.
2004-10-16 15:38:47 +00:00
Andrew V. Samoilov
d79d618c6d
* util.c (strip_password): Add "/#sh:".
2004-10-13 12:23:56 +00:00
Andrew V. Samoilov
ebc4dc8e77
* myslang.h: Check USE_INCLUDED_SLANG properly.
2004-10-12 04:32:04 +00:00
Roland Illig
d3774b9d94
* utilunix.c (close_error_pipe): Fixed possible invalid memory access
...
(three lines below).
2004-10-11 21:53:30 +00:00
Andrew V. Samoilov
4cde691aac
* file.c (copy_dir_dir): Small text fix.
2004-10-11 05:27:58 +00:00
Andrew V. Samoilov
eae25a2eff
Partially revert my changes
2004-10-07 10:50:00 +00:00
Andrew V. Samoilov
df27244006
* fileopctx.h (struct FileOpContext): Use off_t for offset.
2004-10-06 18:06:26 +00:00
Andrew V. Samoilov
82f98b11d4
* util.c(strip_password): Add support for '@' in username.
2004-10-05 14:25:28 +00:00
Andrew V. Samoilov
220cf56f19
Fix typos
2004-10-05 07:15:01 +00:00
Andrew V. Samoilov
919aa12d7d
* cons.saver.c: Partly rewritten cons.saver.c.
2004-10-05 07:14:09 +00:00
Andrew V. Samoilov
7d393abc2c
* util.c (convert_controls): Fix possible buffer overflow
...
for ".*^" strings.
2004-09-28 09:28:57 +00:00
Roland Illig
49117d0f31
* complete.c [__linux__ && !__USE_GNU]: Fix compilation on Red Hat 7.3
...
* util.c (convert_controls): Fix compilation.
2004-09-27 11:26:53 +00:00
Roland Illig
c47cd9de68
* util.h (convert_controls): Adjusted the comment to what the
...
function really does.
2004-09-26 18:36:54 +00:00
Roland Illig
f54aef1cfc
* pipethrough.c: #include <string.h> to compile on Solaris.
2004-09-26 11:50:39 +00:00
Andrew V. Samoilov
11c6534e70
* key.c (qansi_key_defines[]): Add support for qansi-m terminals.
...
Needed on QNX Neutrino. (correct_key_code): Likewise.
2004-09-26 00:58:47 +00:00
Roland Illig
8676605ad2
* pipethrough.c: Added pipethrough, a function to execute child
...
processes in a simple way.
* pipethrough.h: The interface for the function.
* pipethrough.3: The manpage (will be installed in maintainer-mode).
* Makefile.am: Added the files to SRCS.
2004-09-25 21:21:09 +00:00
Roland Illig
771f60dac1
* complete.c: Partly reverted my last patch. I had committed it
...
accidentally.
2004-09-25 21:08:29 +00:00
Roland Illig
dc259a038c
* widget.c (label_callback): Reverted my last change. It crashed.
2004-09-25 20:49:15 +00:00
Roland Illig
9f6a39e83f
* command.c (examine_cd): Likewise. Additionally used g_strdup to
...
not accidentally modify an environment variable.
* complete.c (command_completion_function): Likewise.
(filename_completion_function): Likewise. (try_complete): Likewise.
(variable_completion_function): Likewise.
2004-09-25 14:34:27 +00:00
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
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
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
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
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
ff7a776535
* main.c (OS_Setup): Fixed segmentation fault.
...
From Oskar Liljeblad <oskar osk.mine.nu>
2004-09-23 14:07:44 +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
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
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
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
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
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
ed53105975
Fix const. Partially revert previous patch.
2004-09-17 08:46:53 +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
0b032ef66f
* hotlist.c (add_new_entry_input): Fix warnings.
2004-09-17 03:02:18 +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
Andrew V. Samoilov
7ff781db70
* view.c (get_byte): Fix avoid dying if file is too large
...
to fit into memory.
(load_view_file): Fix avoid mmaping just part of a >=4GB file
on 32-bit arches.
* setup.c (load_keys_from_section): Handle "copy".
2004-09-10 09:25:20 +00:00
Andrew V. Samoilov
b6ad379291
* view.c (get_byte): Fix avoid dying if file is too large
...
to fit into memory.
(load_view_file): Fix avoid mmaping just part of a >=4GB file
on 32-bit arches.
2004-09-10 09:14:55 +00:00
Andrew V. Samoilov
9e27c8703a
* info.c (info_show_info): don't truncate block counts to 32 bits
...
on 64-bit platforms
* util.c (get_current_wd): We know there is just one '\0' byte
in p, at p[len - 1].
2004-09-03 22:32:41 +00:00
Andrew V. Samoilov
7c9f703060
* util.c (get_current_wd): We know there is just one '\0' byte
...
in p, at p[len - 1].
2004-09-03 22:05:13 +00:00
Andrew V. Samoilov
2253379eb8
* subshell.c (exit_subshell): Prevent unwanted reuse of freed
...
pty_buffer.
* complete.c (variable_completion_function): strncpy()->memcpy()
changes are because we know there is no '\0' among the first
length bytes.
(insert_text): Likewise.
(command_completion_function): Avoid memory leaks.
(filename_completion_function): g_free handles NULL argument too,
no need for the comparison.
(try_complete): Likewise.
(command_completion_function): Likewise.
(free_completions): Likewise.
* widget.c (gauge_callback): Fix for 64-bit arches (%*s len must
be int, %3d takes int.
(copy_region): g_free handles NULL argument too, no need for
the comparison.
(kill_line): Likewise.
* find.c (do_search): Likewise.
(init_find_vars): Likewise.
(do_find): Likewise.
2004-09-03 22:00:27 +00:00
Andrew V. Samoilov
d3e4fcb5b0
* menu.c (destroy_menu): Fix warnings.
...
* view.c (view_adjust_size): Likewise.
* widget.c (find_buttonbar): Likewise.
2004-09-02 20:14:12 +00:00
Roland Illig
3fe957aef4
* Makefile.am (man2hlp): Added source file glibcompat.c for
...
glib-1.2 compatibility.
2004-09-02 15:03:48 +00:00
Roland Illig
207711e166
Typo.
2004-09-02 14:59:12 +00:00
Roland Illig
f30fc0163b
* man2hlp.c (handle_link): Added header "glib-compat.h" because
...
glib-1.2 does not know g_strlcpy.
2004-09-02 14:32:53 +00:00
Roland Illig
68fa8e1cd8
* color.c (try_alloc_color_pair (ncurses)): Added const qualifier
...
to the arguments.
2004-09-02 12:51:09 +00:00
Roland Illig
38257a486a
* man2hlp.c (handle_link): Reverted the last change because
...
glib-1.2 does not know g_strlcpy.
2004-09-02 12:30:28 +00:00
Andrew V. Samoilov
1b80f9ceac
* complete.c (completion_matches): Use more suitable function
...
g_strndup(), instead sequence g_malloc(), strncpy(),
name[len] = '\0'
* widget.c (copy_region): Likewise. (delete_region): Use
memmove() instead strcpy().
* user.c (debug_out): Eliminate buffer array.
2004-09-01 23:25:21 +00:00
Andrew V. Samoilov
f27d0e157f
* color.c (load_dialog_colors): Make a separate color for
...
hotkeys in red dialogs.
* color.h: Likewise.
* view.c (view_ok_to_quit): Add hotkey to dialog.
2004-09-01 22:33:43 +00:00
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
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
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
Roland Illig
6f68fa3082
* cmd.c (do_link): Fixed memory leak and cleaned up code.
2004-08-26 00:12:16 +00:00
Roland Illig
1544da13a1
Added missing ChangeLog entries from 2004-08-16.
2004-08-24 12:58:56 +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
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
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
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
bc8127ded6
Added more const-ness.
2004-08-18 08:58:37 +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
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
207f7d126c
Even more const-ification.
2004-08-17 00:00:32 +00:00
Roland Illig
5c74367969
Added more const-ness to variables.
2004-08-16 23:48:46 +00:00
Roland Illig
1105b8e941
Splittet the vfs.h header into a user's part (vfs.h) and an implementor's part (vfs-impl.h).
2004-08-16 23:25:49 +00:00
Roland Illig
9d41314d09
Added more const-ness to print_vfs_message.
2004-08-16 18:31:30 +00:00
Roland Illig
a22afa7a72
Added more const-ness to variables.
2004-08-16 18:31:05 +00:00
Roland Illig
9dfb30636e
Compacted and commented the code in do_try_to_select.
2004-08-16 18:30:34 +00:00
Roland Illig
511c710fe6
Added explicit initializers for global variables.
2004-08-16 18:25:16 +00:00
Roland Illig
2c77aa7e1c
Documented x_basename and added const.
2004-08-16 18:19:37 +00:00
Roland Illig
2399a1604f
Removed unnecessary type cast.
2004-08-16 17:45:59 +00:00
Roland Illig
493febff35
Added more const-ness to a variable.
2004-08-16 17:45:38 +00:00
Roland Illig
13e298c2ea
Replaced (char *) 0 by NULL.
2004-08-16 17:44:14 +00:00
Roland Illig
b2605e09e9
Code cleanup concerning PAUSE_OPTIONS.
2004-08-16 17:43:36 +00:00
Roland Illig
d003fcb1e0
Use memmove instead of memcpy for overlapping objects.
2004-08-16 17:42:47 +00:00
Roland Illig
748279de99
Added more const-ness to the function arguments.
2004-08-16 16:22:35 +00:00
Roland Illig
bfb2047463
Removed unnecessary type cast.
2004-08-16 16:22:14 +00:00
Roland Illig
8aeea3256f
Added more const-ness to the function arguments.
2004-08-16 15:45:05 +00:00
Roland Illig
5d44086ccc
Added a C++ like const_cast macro.
2004-08-16 15:42:48 +00:00
Roland Illig
f17c1f291c
mc_ungetlocalcopy does not free its second argument anymore.
2004-08-16 15:18:17 +00:00
Roland Illig
f4129bc22b
Fixed a format string bug (%s => %d).
2004-08-16 05:17:49 +00:00
Roland Illig
60ae60fb1e
Print the pid as an int.
2004-08-16 04:57:07 +00:00
Roland Illig
6bd6aa7b50
Made output of the st_mode system independent.
2004-08-16 04:56:19 +00:00
Roland Illig
c673ebfc89
Made an integer literal compatible to the variable it is compared with.
2004-08-16 04:25:41 +00:00
Roland Illig
7adbbafc6a
Made the data type of some variables more appropriate.
2004-08-16 04:25:06 +00:00
Roland Illig
bdd1d219a3
Created a new type (tree_key_map) for functions that act on a tree.
2004-08-16 04:24:45 +00:00
Roland Illig
a91c5b9ad2
Created a new type (panel_key_map) and wrote some wrapper functions where the parameters didn't match. Adjusted the type of some variables.
2004-08-16 04:24:04 +00:00
Roland Illig
e0ea1733e3
The type key_callback has got a real prototype.
2004-08-16 04:20:56 +00:00
Roland Illig
b08778c9c6
Made the data type of some variables more appropriate.
2004-08-16 04:17:43 +00:00
Roland Illig
e0512c10dc
Invented two new data types (offset_type and screen_dimen) and adjusted the type of many variables.
2004-08-16 04:16:55 +00:00
Roland Illig
4afb6e832d
Added a prototype to the function declaration.
2004-08-16 03:24:49 +00:00
Roland Illig
0784d2a7b7
Added type casts where necessary to avoid the "signed-unsigned-comparison" warning.
2004-08-16 03:14:04 +00:00
Roland Illig
6cefb6d3bb
Made the data type of some variables more appropriate.
2004-08-16 03:12:05 +00:00
Roland Illig
397d28da8f
Corrected data type in printf argument.
2004-08-15 23:09:36 +00:00
Roland Illig
a47ff4dece
Added missing initializers for poptOption.argDescrip.
2004-08-15 23:06:19 +00:00
Roland Illig
a553518dc7
Corrected data type in printf argument.
2004-08-15 23:03:08 +00:00
Roland Illig
1fe1eb886a
Marked the last item of a QuickWidget array as NULL_QuickWidget.
2004-08-15 19:04:19 +00:00
Roland Illig
c6ecc5b303
Marked the last item of a QuickWidget array as NULL_QuickWidget.
2004-08-15 18:24:06 +00:00
Roland Illig
6607288ca0
Added missing initializers.
2004-08-15 18:23:25 +00:00
Roland Illig
80ed49f132
Marked the last item of a QuickWidget array as NULL_QuickWidget.
2004-08-15 18:22:39 +00:00
Roland Illig
fea3a45fff
Added the macro NULL_QuickWidget for safer declarations of arrays of QuickWidgets.
2004-08-15 18:17:40 +00:00
Pavel Roskin
3a0c1187b2
* vfsdummy.h [!USE_VFS]: Make sure that vfs_canon() doesn't
...
change the original string. Fix compilation without VFS.
2004-04-18 20:56:08 +00:00
Andrew V. Samoilov
49bcfac068
* (insert_char): Use g_realloc() instead of g_malloc()+strcpy()+g_free().
2004-03-07 07:29:12 +00:00