Commit Graph

6613 Commits

Author SHA1 Message Date
Andrew V. Samoilov
711f268786 * utilunix.c (mc_realpath) [USE_SYSTEM_REALPATH]: Use realpath(). 2005-02-02 18:28:49 +00:00
Andrew V. Samoilov
2080aad45a * find.c: Implement non-recursive 'Find file' feature.
Original patch by Andrew Borodin <aborodin@vmail.ru> .
2005-02-02 18:27:05 +00:00
Andrew V. Samoilov
94b71a6339 * samba/include/proto.h: Adjust for the last changes.
* samba/lib/util.c: Comment out unused ra_type, in_group(),
get_numlist(), Atoic(), dns_to_netbios_name(), name_interpret(),
directory_exist(), file_size(), unix_format(), dos_format(),
close_low_fds(), name_ptr(), name_extract(), unix_do_match(),
unix_mask_match(), do_match(), mask_match(),
interpret_protocol(), readdirname(), is_in_path(),
set_namearray(), free_namearray(), fcntl_lock(), is_myname(),
set_remote_arch(), get_remote_arch(). align2(), out_ascii() and
out_data().
(reg_get_subkey): Remove.
(reg_split_key): Remove.

* samba/lib/system.c: Comment out sys_lstat(), sys_fseek(),
sys_ftell(), sys_readdir(), sys_getwd(), sys_chown(), sys_random()
and sys_srandom().

* samba/libsmb/clientgen.c (cli_qpathinfo): Comment out.
(cli_qpathinfo2): Comment out.
(cli_printjob_del): Remove.
(cli_print_queue): Remove.
(cli_dskattr): Comment out.
2005-02-02 12:52:33 +00:00
Andrew V. Samoilov
eef0551cec Add missing entry
* utilunix.c (init_groups) [HAVE_GETGROUPLIST]: Use getgrouplist().
2005-02-01 12:30:40 +00:00
Andrew V. Samoilov
172cead7fb * utilunix.c (init_groups): Use glib memory allocation functions. 2005-02-01 12:04:05 +00:00
Andrew V. Samoilov
a7a42c3d8b * samba/lib/username.c (map_username): Comment out.
(user_in_list): Ditto.
2005-02-01 12:02:34 +00:00
Roland Illig
3973e33cc2 * view.c: Eliminated two global variables and put them into the
WView structure.
2005-01-31 22:01:53 +00:00
Roland Illig
71ace6eaaf * view.c: Removed trailing whitespace and fixed a typo in a comment. 2005-01-30 21:17:29 +00:00
Roland Illig
6dc6158ff1 * edit.h: Removed NO_INLINE_GETBYTE conditional. The name was
misleading, as it really meant INLINE_GETBYTE. Furthermore,
	it has not been working since the split of edit.h into edit-widget.h.
	* edit.c: Likewise.
2005-01-30 20:34:58 +00:00
Miguel de Icaza
324f4c5644 2005-01-29 Miguel de Icaza <miguel@novell.com>
* utilunix.c (init_groups): Added support for getgrouplist patch
	from Stefan Gohmann <gohmann@univention.de>.

2005-01-29  Miguel de Icaza  <miguel@novell.com>

	* configure.ac: Check for getgrouplist API call.
2005-01-30 05:06:13 +00:00
Roland Illig
020455853d * editdraw.c (edit_status): Changed some variables from size_t to
int to avoid GCC warnings.
2005-01-28 01:34:48 +00:00
Roland Illig
9558c7178f * src/info.c (info_show_info): Enabled display of the device number,
for the case that the column in the directory listing is too
	short. This had been disabled since 1994, for no obvious reason
	and without any comment.
	* src/screen.c (format_device_number): Added. Converts a device number
	into a bounded string.
	* screen.c (string_file_size): Support for larger device numbers
	(and for non-Linux systems).
	* vfs/cpio.c (cpio_read_crc_head): Fixed device number handling for
	non-Linux systems.
	* vfs/fish.c (fish_dir_load): Likewise.
	* vfs/utilvfs.c (vfs_parse_ls_lga): Likewise.
2005-01-27 23:32:13 +00:00
Roland Illig
7a60de0618 * unixcompat.h: Added makedev macro. 2005-01-27 23:02:24 +00:00
Roland Illig
7e498cbc2e * configure.ac: Add checks for C headers <sys/mkdev.h> and
<sys/sysmacros.h> to support major/minor arithmetics on
	device numbers.
2005-01-27 22:42:55 +00:00
Roland Illig
728951fd34 * unixcompat.h (major/minor): Added support for AIX. 2005-01-27 22:19:48 +00:00
Roland Illig
067e407cf7 * editdraw.c (edit_status): Fixed drawing bug with ncurses. 2005-01-27 22:14:58 +00:00
Roland Illig
ff3ca5ecb2 * tty.h (printwstr): If LEN is not positive, ignore the request. 2005-01-27 22:01:52 +00:00
Roland Illig
ff6e206b42 * tty.h (printwstr): Added a function to print a string
left-aligned in a bounded box.
2005-01-27 21:44:00 +00:00
Roland Illig
0e1609c2f9 * unixcompat.h: Provides macros and functions that are missing in
some Unix variants.
	* Makefile.am: Added unixcompat.h.
2005-01-25 22:54:41 +00:00
Roland Illig
ccc1b17f7d * dialog.h (widget_msg_t): Added WIDGET_RESIZED to inform widgets
that they had been resized.
	* dialog.c (widget_set_size): Send a WIDGET_RESIZED message after
	setting the size.
	* layout.c (panel_do_cols): Don't explicitly update the
	bytes_per_line of a hexview WView.
	* view.h (view_update_bytes_per_line): Removed from the interface
	to WView.
	* view.c (view_update_bytes_per_line): Declared as `static'.
	* view.c (view_callback): Call update_bytes_per_line when the
	WView is initialized and whenever a WIDGET_RESIZED message is
	received.
2005-01-25 22:40:50 +00:00
Andrew V. Samoilov
fe0cc18988 * samba/Makefile.in: Remove BINDIR and SBINDIR.
* samba/param/loadparm.c: Comment out some more unused code.
2005-01-25 09:12:17 +00:00
Andrew V. Samoilov
82a3bf3d81 * samba/param/loadparm.c (print_parameter): Remove.
(is_default): Remove.
(dump_globals): Remove.
(dump_a_service): Remove.
(lp_dump): Remove.
(lp_dump_one): Remove.
(lp_remove_service): Remove.
(lp_copy_service): Remove.
2005-01-25 08:13:07 +00:00
Roland Illig
c1e388d724 * systems.txt: A list of system configurations that we have access
to for testing the Midnight Commander.
2005-01-21 11:26:24 +00:00
Andrew V. Samoilov
a1502a0a5f Remove genrand.c and util_unistr.c. 2005-01-20 16:48:36 +00:00
Andrew V. Samoilov
981d02ba5f * Makefile.am (SAMBA_DIST): Remove lib/genrand.c and lib/util_unistr.c.
* samba/Makefile.in (SAMBAFILES): Remove lib/genrand.o and
lib/util_unistr.o.
2005-01-20 16:44:27 +00:00
Andrew V. Samoilov
1ed4f8c110 * samba/libsmb/clientgen.c (cli_oem_change_password): Removed.
* samba/libsmb/smbencrypt.c (make_oem_passwd_hash): Removed.
* samba/lib/util_sock.c (reset_globals_after_fork): Removed.
2005-01-20 16:32:23 +00:00
Andrew V. Samoilov
d83d988c73 * samba/lib/util_file.c: Comment out all but fgets_slash(). 2005-01-20 16:17:34 +00:00
Andrew V. Samoilov
eaca209b7c * util_file.c: Comment out all but fgets_slash(). 2005-01-20 15:06:29 +00:00
Andrew V. Samoilov
4ea1aba1e0 * samba/lib/util.c (remote_machine, local_machine): Make static const
char * instead of fstring.
2005-01-20 11:23:07 +00:00
Andrew V. Samoilov
43414d8182 * samba/lib/util.c: Comment out some more unused functions.
(global_myworkgroup): Remove unused variable.
(def_finfo): Make const.
(remote_proto, remote_arch): Make const char * instead of
fstring.
* samba/libsmb/clientgen.c (interpret_long_filename): Fix
def_finfo declaration.
2005-01-20 08:57:22 +00:00
Andrew V. Samoilov
f4cb47b95d * ftpfs.c (ftpfs_file_store): Make sure we write() all read() data.
Check fstat() return value.
2005-01-19 09:17:38 +00:00
Andrew V. Samoilov
0464629b20 * main.c (_do_panel_cd): Delete leading spaces from URL
before vfs_translate_url() call.
2005-01-19 06:14:44 +00:00
Andrew V. Samoilov
50a2118525 * subshell.c (subshell_name_quote): Eliminate sprintf(d, "%c", ...).
(do_subshell_chdir): Eliminate strlcpy() and optimize.
2005-01-14 10:00:29 +00:00
Andrew V. Samoilov
d332606fd5 * subshell.c (do_subshell_chdir): Use mc_realpath() to fix tcsh's
problem with symlink.
        * utilunix.c: Add function mc_realpath(). Is the BSD version of
        realpath(3).
        * util.h: Add mc_realpath() declaration.
2005-01-13 19:37:46 +00:00
Andrew V. Samoilov
33e157631c * acinclude.m4: Fix '--with-screen' configure option. 2005-01-11 09:16:52 +00:00
Roland Illig
205523301f * dialog.h: Fixed a typo. 2005-01-09 16:15:24 +00:00
Roland Illig
135d787620 * extfs/urar.in: Fixed some quoting issues.
Original patch by Leonard den Ottolander.
2005-01-09 16:12:39 +00:00
Andrew V. Samoilov
1605a544c6 * autogen.sh: Fix workaround for automake 1.5. 2004-12-30 06:33:18 +00:00
Andrew V. Samoilov
1735921c14 * extfs.c (struct inode): Remove unused linkflag field.
(extfs_internal_stat): Eliminate "inode" variable.
        (extfs_fstat): Likewise.
        (extfs_unlink): Fix memory leak if extfs_get_path_mangle() fails.
2004-12-29 07:32:41 +00:00
David Martin
be3728903b Updated Spanish translation. 2004-12-29 00:12:52 +00:00
Andrew V. Samoilov
d94ff42371 * syntax/spec.syntax: Set whole on spec macro option keywords. 2004-12-28 13:22:27 +00:00
Andrew V. Samoilov
b20f6b2dea * fish.c (fish_linear_abort): Fix bug with FISH vfs. It freezes MC on
transfer abort.
2004-12-28 12:25:24 +00:00
Andrew V. Samoilov
278ae44436 * extfs.c (extfs_generate_entry): Initialize inode->last_in_subdir.
(extfs_read_archive): Likewise. Remove unneeded test.
        Fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286990

        * extfs/ulha.in (mc_lha_fs_list): Use $NF instead of $10 as filename
        for permission intention.
        Fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286990
2004-12-27 12:12:31 +00:00
Andrew V. Samoilov
d339190071 * find.c (find_parameters): Use translated string. 2004-12-13 18:04:37 +00:00
Andrew V. Samoilov
7e75c2d423 * acinclude.m4: Fix "make distcheck".
* NEWS: Update.
2004-12-13 17:56:27 +00:00
Andrew V. Samoilov
c3b5df605c * command.c (enter): Speed up and simplify. 2004-12-10 07:29:57 +00:00
Andrew V. Samoilov
d7355ea381 Typo fixes 2004-12-10 07:27:20 +00:00
Andrew V. Samoilov
9ce7ab3b9b * autogen.sh: Comment workaround for Automake 1.5. It's not working
for Automake 1.9.
2004-12-10 06:24:35 +00:00
Roland Illig
001a6c1b90 * extfs/uzip.in: Fix handling of archive member pathnames starting
with "./".
2004-12-10 00:08:31 +00:00
Andrew V. Samoilov
3fff2ff3c9 * subshell.c (init_subshell_child): Does not g_strdup() constant string
in putenv() calls.
2004-12-08 13:07:53 +00:00