Pavel Roskin
992cb980de
* Make-mc.in (SAMBA_DIST): Remove lib/getsmbpass.c.
2001-11-08 23:53:27 +00:00
Andrew V. Samoilov
3964ef8d3c
* cmd.c (guess_message_value): Make val static const array.
...
(smblink_cmd) [!WITH_SAMBA]: Eliminated.
2001-11-08 07:25:16 +00:00
Andrew V. Samoilov
16d1473204
* slint.c (slang_reset_softkeys): Make display static const
...
array. Use sizeof (display) - 1 instead of strlen display.
(color_terminals): Make static const array.
(key_table): Make const.
(dealloc_color_pairs) [HAVE_MAD]: New function. Release
memory allocated in try_alloc_color_pair.
(slang_shutdown) [HAVE_MAD]: Call dealloc_color_pairs.
(try_alloc_color_pair): Move struct c outside function.
2001-11-07 13:35:57 +00:00
Andrew V. Samoilov
35db7bf645
* dlg.c (add_widget): Check for what is not NULL
...
before everything else.
2001-11-07 12:15:11 +00:00
Andrew V. Samoilov
51b1972843
* edit.c (edit_reload): destroy_dlg g_free()s widgets, so
...
g_malloc/g_free have to be used.
(edit_init): Ditto. Eliminate st.
2001-11-07 08:43:15 +00:00
Fatih Demir
1b6e973474
Updated.
2001-11-06 18:18:20 +00:00
Andrew V. Samoilov
d3579ce57b
(edit_load_cmd): input_dialog returns g_malloc(ed) string,
...
so g_free has to be used.
(edit_save_block_cmd): Likewise.
(edit_insert_file_cmd): Likewise.
(edit_sort_cmd): Likewise.
(edit_save_as_cmd): Likewise. Memory leak fixed.
2001-11-06 08:52:13 +00:00
Andrew V. Samoilov
301c38b445
(edit_load_cmd): input_dialog returns g_malloc(ed) string,
...
so g_free has to be used.
(edit_save_block_cmd): Likewise.
(edit_insert_file_cmd): Likewise.
(edit_sort_cmd): Likewise.
(edit_save_as_cmd): Likewise. Memory leak fixed.
2001-11-05 13:24:18 +00:00
Andrew V. Samoilov
b3f9ba7f98
* smbfs.c (smbfs_add_dots): New function. Insert a "." and ".."
...
entries into the linked list.
(smbfs_loaddir): Call smbfs_add_dots for shares or servers.
(smbfs_get_free_bucket): Eliminate utime.
(fake_share_stat): Make path const.
* samba/configure.in: Don't check whether getpass
should be replaced.
2001-11-05 13:16:17 +00:00
Andrew V. Samoilov
328cbcb954
* edit.h (edit_execute_cmd): Declare it here.
...
* edit.c: Remove edit_execute_cmd declaration.
(edit_execute_cmd): Use edit_print_string instead of edit_printf.
* editcmd.c: Remove edit_execute_cmd declaration.
(edit_search_dialog): Eliminate tsearch_text.
(edit_search_cmd): edit_search_dialog gives g_malloc()ed exp.
Use g_strdup/g_free instead of strdup/free.
(edit_mail_dialog): quick_dialog use g_strdup, so g_free
must be used.
* bookmark.c (book_mark_clear): Eliminate rend.
It's only written but never read.
(book_mark_flush): Likewise.
(book_mark_inc): Likewise.
(book_mark_dec): Likewise.
2001-11-05 09:23:05 +00:00
Andrew V. Samoilov
dd5ccea5d6
* vfs.c (mc_return_cwd): Memory leak fixed.
2001-11-02 18:18:14 +00:00
Peteris Krisjanis
4a54959e90
U
2001-11-01 21:06:24 +00:00
Andrew V. Samoilov
a802b107ae
* samba/smblib/pwd_cache.c (pwd_read): Commented out.
...
* samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
* samba/lib/getsmbpass.c: Removed.
2001-11-01 13:31:52 +00:00
Andrew V. Samoilov
ddcd0ee421
* samba/smblib/pwd_cache.c (pwd_read): Commented out.
...
* samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
* samba/lib/getsmbpass.c: Removed.
2001-11-01 13:12:24 +00:00
Andrew V. Samoilov
2cc50a14d6
Don't include "tcputil.h".
...
(loaddir): Symplify.
(fake_share_stat): Declare server_url const.
Use "%4o" for st_mode.
(fake_server_stat): Likewise. Return -1 if server_list != True.
2001-10-30 15:24:01 +00:00
Andrew V. Samoilov
0b88e8d6ce
(myhostname): Declare extern.
...
(get_master_browser): Declare ipzero extern. By drk@sgi.com .
http://bugzilla.gnome.org/show_bug.cgi?id=60933
2001-10-30 14:40:46 +00:00
Andrew V. Samoilov
a04a0a6b4b
* smbfs.c: Include <config.h> before everything else.
2001-10-30 12:20:11 +00:00
Andrew V. Samoilov
a9b290f926
* cpio.c (cpio_read_bin_head): Release name if mc_read fails.
...
(cpio_read_crc_head): Likewise.
2001-10-30 11:42:44 +00:00
Pavel Roskin
3fe616ace4
* lib/mc.ext.in: Add support for Netpbm files.
2001-10-30 08:08:04 +00:00
Andrew V. Samoilov
1cd0a043a7
* charsets.c (load_codepages_list): Use glib memory allocation
...
functions.
(free_codepages_list) [HAVE_MAD]: New function to release
memory allocated in load_codepages_list.
* charsets.h: Declare free_codepages_list.
* main.c [HAVE_CHARSET]: Include charsets.h.
(main) [HAVE_MAD && HAVE_CHARSET]: Call free_codepages_list.
(program_name): Commented out.
2001-10-29 13:40:00 +00:00
Pavel Roskin
3b32c84134
Add .deps
2001-10-29 06:27:31 +00:00
Marco Ciampa
69fa768d00
*** empty log message ***
2001-10-26 16:11:30 +00:00
Andrew V. Samoilov
66600cad98
* TODO: Typo fixed
2001-10-26 11:32:41 +00:00
Andrew V. Samoilov
58f1577542
* key.c (push_char): Fix buffer length calculation.
...
By drk@sgi.com .
http://bugzilla.gnome.org/show_bug.cgi?id=60932
(define_sequence): Likewise.
(key_define_t): Add const declaration.
2001-10-26 10:21:25 +00:00
Peteris Krisjanis
9bdfa6d833
U
2001-10-26 01:33:21 +00:00
Christophe Merlet
3f89da54f7
Updated French translation.
2001-10-25 20:32:12 +00:00
Andrew V. Samoilov
888a4f073b
* cpio.c (cpio_read_crc_head): Fix buffer overflow.
...
(cpio_read_oldc_head): Likewise. By drk@sgi.com .
http://bugzilla.gnome.org/show_bug.cgi?id=60933
* (cpio_read_oldc_head): Release name if mc_read fails.
2001-10-25 14:24:29 +00:00
Andrew V. Samoilov
1ff74e7a5b
* slang/slvideo.c (SLtt_set_color): Eliminate C++ comments.
...
http://bugzilla.gnome.org/show_bug.cgi?id=60935
By drk@sgi.com .
2001-10-25 13:32:14 +00:00
Andrew V. Samoilov
3767e8e5df
* tcputil.c (rpc_get): Add missing va_end()s. Fix memory leaking.
2001-10-25 07:57:15 +00:00
Andrew V. Samoilov
fcce6d2bb0
* doc/mc.1.in: Document "%p" macro.
2001-10-25 06:49:39 +00:00
Pavel Roskin
8644c630f0
* configure.in: Move AC_FUNC_MMAP before it's used indirectly.
...
Allow using --without-mmap.
* INSTALL: Document --without-mmap.
2001-10-25 03:46:59 +00:00
Christian Rose
721babff37
2001-10-24 Christian Rose <menthos@menthos.com>
...
* sv.po: Updated Swedish translation.
2001-10-24 13:11:48 +00:00
Stanislav Visnovsky
dc2bfe78e7
2001-10-24 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
...
* sk.po: Updated Slovak translation.
2001-10-24 11:12:24 +00:00
Andrew V. Samoilov
91a56f5470
* configure.in: Resurrect ALL_LINGUAS test, to allow specify list
...
of languages to be installed by setting env variable before
configure. If it is empty, it defaults to full list.
By Alex Tkachenko <alex@bcs.zp.ua>.
2001-10-24 08:38:03 +00:00
Andrew V. Samoilov
a918318c9d
* smbfs.h: Declare smbfs_set_debug.
2001-10-24 08:16:16 +00:00
Pavel Roskin
c5df6b4367
* util_nt.c (_win32Trace): Add missing va_end().
2001-10-23 17:10:16 +00:00
Pavel Roskin
edf0504087
* edit.c (user_menu): If the error file is missing, treat it as
...
success. Truncate block file unconditionally.
2001-10-23 05:40:13 +00:00
Pavel Roskin
b1c57095b2
* edit.c: Stop using _EDIT_C definition. Move variable
...
declarations from edit.h, make static or eliminate if possible.
Report errors immediately.
* edit.h: Likewise.
* editwidget.c (edit): Don't report errors from edit_init(),
they are reported in place.
2001-10-23 01:46:53 +00:00
Pavel Roskin
f0490b2a06
* main.h: Declare view_one_file and edit_one_file.
2001-10-23 01:39:25 +00:00
Pavel Roskin
7b0a30e035
* es.po: Update.
...
* es_ES.po: Likewise.
2001-10-22 22:27:24 +00:00
Andrew V. Samoilov
dd2ef8b4fb
* dialog.h: Include global.h.
...
(message): Specify __attribute__.
2001-10-22 15:37:27 +00:00
Zbigniew Chyla
8f3159618d
Updated Polish translation
2001-10-22 10:19:57 +00:00
Keld Simonsen
857cfacc37
updates
...
balsa/po/da.po gnome-pim/po/da.po gnomeicu/po/da.po
gnumeric/po/da.po mc/po/da.po
2001-10-21 00:48:00 +00:00
Pavel Roskin
943bae02ad
* editcmd.c (sprintf_p): Declare with the printf attribute.
...
Make static.
2001-10-20 07:20:30 +00:00
Pavel Roskin
399d996408
* edit.h: Declare edit_printf() with the printf attribute.
2001-10-20 07:16:50 +00:00
Pavel Roskin
2b9f5265b4
* ftpfs.c (command): Declare with the printf attribute.
...
* undelfs.c: Remove declaration of print_vfs_message().
2001-10-20 07:12:55 +00:00
Pavel Roskin
0c52fb0f99
* fish.c (file_store): Fix incorrect format string
...
for print_vfs_message().
* ftpfs.c (file_store): Likewise.
2001-10-20 07:04:31 +00:00
Pavel Roskin
3cdc394c36
* main.h (print_vfs_message): Specify __attribute__.
2001-10-20 07:01:08 +00:00
Pavel Roskin
cf59af66de
* fish.c (command): Declare with the printf attribute to enable
...
warnings in gcc.
(file_store): Cast all expressions with file sizes to unsigned
long. This should fix uploading when large file support is on.
File size is limited to 4096 * ULONG_MAX for now.
2001-10-20 03:41:31 +00:00
Pavel Roskin
6eef7a34e7
* global.h: Define __attribute__ to an empty string for non-gcc
...
compilers so that it's safe to use.
2001-10-20 03:38:41 +00:00