Roland Illig
114b2c1715
Added some comments.
2005-11-15 22:27:45 +00:00
Pavel Roskin
76d78fb47c
* samba/lib/netmask.c: Include <stdlib.h> for exit() and
...
<string.h> for memcpy().
2005-11-15 21:32:07 +00:00
Pavel Roskin
89eb1e232b
* samba/lib/netmask.c: Add get_netmask() prototype for the dummy
...
version.
2005-11-11 06:19:08 +00:00
Pavel Roskin
9c11cf292f
* samba/lib/util_sock.c: Fix warnings on 64-bit systems.
2005-11-11 02:52:41 +00:00
Pavel Roskin
528e77efc0
* mcserv.c (get_client): Fix gcc 4 warning.
2005-11-11 02:31:46 +00:00
Pavel Roskin
ebe155fc92
* smbfs.c: Remove redundant ipzero declaration.
2005-11-11 02:22:02 +00:00
Leonard den Ottolander
0c2b46643d
* fish.c (fish_dir_load, fish_linear_start): Get numerical gid/uids from ls to
...
avoid wrong parsing of user/group names containging white space.
2005-10-19 11:34:56 +00:00
Leonard den Ottolander
149afcc3b7
* vfs/ftpfs.c (ftpfs_command): Fix "Nowhere to fallback to" warning caused
...
by fallback to active mode after inactivity.
2005-10-09 21:25:29 +00:00
Roland Illig
4972324b16
* extfs/iso9660.in: Ignore error messages from locale(1), as it
...
does not exist on OpenBSD. Reported by q# on mc-devel.
2005-09-26 15:07:00 +00:00
Roland Illig
290b842c86
* utilvfs.h (vfs_parse_filetype, vfs_parse_fileperms,
...
vfs_parse_filemode): Rewrote the functions to parse Unix file
modes.
* utilvfs.c: Likewise.
* fish.c: Using the new parsing functions.
2005-09-26 11:10:24 +00:00
Andrew V. Samoilov
8491ac0c7d
* samba/lib/util.c (tab_depth): Remove.
...
* samba/include/byteorder.h: Remove all macroces with tab_depth().
* vfs/samba/lib/util_sock.c: Comment out read_smb_length(),
send_null_session_msg(), send_one_packet(), send_smd()
and read_smb_length().
* vfs/samba/libsmb/nmblib.c: Comment out copy_nmb_packet(),
copy_dgram_packet(), copy_packet() and nmb_name_equal().
2005-09-15 12:07:17 +00:00
Roland Illig
5ddb6be28e
* samba/*: Added many const qualifiers to properly fix the
...
warnings emitted by gcc with -Wwrite-strings.
* smbfs.c: Likewise.
2005-09-07 07:33:39 +00:00
Roland Illig
2841a5087f
Added const qualifiers.
2005-09-05 03:26:48 +00:00
Roland Illig
040e26b5eb
* samba/: Added a const qualifier to setup_logging().
...
* smbfs.c: Removed dbghdr_wrapper. Removed all const_cast
instances.
2005-09-05 03:17:03 +00:00
Roland Illig
7e7b81b73e
* direntry.c: Added const qualifiers to work around gcc
...
warnings.
* extfs.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
* sfs.c: Likewise.
* xdirentry.h: Likewise.
2005-09-05 00:52:56 +00:00
Roland Illig
b4479c533d
* direntry.c: Removed an unused variable.
2005-08-15 21:25:02 +00:00
Roland Illig
b5e201a74a
Replaced a literal 0 with a "typed" 0, namely NETRC_NONE.
2005-08-15 21:22:30 +00:00
Roland Illig
7c1b001728
* vfs-impl.h (union vfs_dirent): Using the offsetof macro
...
instead of null pointer arithmethics.
2005-08-15 21:13:53 +00:00
Roland Illig
e132a00192
Added const qualifiers and type casts for <ctype.h> functions.
2005-07-31 21:09:29 +00:00
Roland Illig
ee4987bb5d
* samba: Added some const qualifiers to reduce the number of gcc
...
warnings.
2005-07-31 21:01:26 +00:00
Pavel Roskin
3b40737834
* extfs/urar.in: Remove month translation and year windowing -
...
they are better handled by mc. Use more robust date format.
Set locale to C.
2005-07-25 21:51:51 +00:00
Pavel Roskin
271a56e3f8
* extfs/uzip.in: Preserve seconds. Avoid month translation - it
...
only slows down processing.
2005-07-25 20:24:01 +00:00
Pavel Roskin
23c29ab03a
* extfs/ualz.in: Fix compatibility with unalz 0.51.
2005-07-25 16:19:53 +00:00
Pavel Roskin
a0c56a1a7d
* extfs/ualz.in: Anticipate eventual posixification of the date
...
format.
2005-07-22 21:54:00 +00:00
Pavel Roskin
a24baacdf8
* extfs/ualz.in: New file - support for ALZip archives.
...
* extfs/Makefile.am: Add ualz.
* extfs/extfs.ini: Likewise.
2005-07-20 19:03:53 +00:00
Roland Illig
87ab858ab0
Removed unused <mman.h>.
2005-07-18 13:20:39 +00:00
Leonard den Ottolander
133196d197
vfs/tar.c (tar_read_header): Properly handle non \0 terminated tar entries
...
with name of length NAMSIZ.
2005-07-06 14:15:54 +00:00
Roland Illig
bb14c4e1da
* vfs.h, vfs-impl.h, vfs.c, local.h, local.c, sfs.c: Removed
...
support for mmap() and munmap() from the VFS. It is unused and
cannot be applied to remote file systems.
2005-07-05 21:01:57 +00:00
Roland Illig
2a57a2e1e3
* xdirentry.h: Added missing #include directives.
2005-07-03 22:55:55 +00:00
Pavel Roskin
33ded3d61b
* extfs/u7z: New file - support for 7zip archives.
...
* extfs/Makefile.am: Add u7z.
* extfs/extfs.ini: Likewise.
2005-06-22 02:21:43 +00:00
Pavel Roskin
b2084010e4
Wrong date in last commit
2005-06-21 19:42:46 +00:00
Pavel Roskin
878175bec9
* ftpfs.c (ftpfs_get_current_directory): Warning fix - "missing
...
sentinel in function call".
2005-06-21 19:40:36 +00:00
Roland Illig
5e120f7f17
* mcfs.c (mcfs_get_remote_port): Shift an #endif two lines down
...
to avoid a warning from SunPro.
2005-06-08 00:34:54 +00:00
Roland Illig
5343037e83
* fish.c (fish_ctl): Commented out some unused code with
...
#if 0 ... #endif. This fixes a warning from SunPro.
2005-06-08 00:31:25 +00:00
Roland Illig
c4c1c12432
* util.h (free_after): Moved to vfs/smbfs.c, as this is the only
...
place where it is used. This is necessary because the SunPro
compiler creates external references even for functions that are
only referred to in unused inline functions.
2005-06-08 00:23:44 +00:00
Leonard den Ottolander
2bba061bf0
* src/boxes.c, vfs/ftpfs.[ch]: Add checkbox to allow passive FTP
...
over proxy to VFS dialog.
2005-05-29 12:10:08 +00:00
Pavel Roskin
1f60f44145
Update postal address of Free Software Foundation.
2005-05-27 03:35:10 +00:00
Roland Illig
ba0cd89c75
* samba/lib/charcnv.c: Added const qualifiers.
2005-05-24 12:16:41 +00:00
Roland Illig
a2511b792c
* dirent.c (split_dir_name): Don't assign a string literal to a
...
char *. Use '\0' instead of 0 when operating on characters.
2005-05-24 12:09:22 +00:00
Roland Illig
d62c0470e3
* samba/param/loadparm.c: Fixed warnings reported by gcc-2.95.
2005-05-24 09:14:53 +00:00
Pavel Roskin
8b6a126125
* extfs.c: Fix warnings reported by gcc 4.0.0.
2005-05-21 03:24:50 +00:00
Roland Illig
aa262c3482
* ftpfs.c: Using HAVE_SOCKLEN_T instead of HAVE_C_TYPE_SOCKLEN_T.
2005-05-13 20:32:09 +00:00
Pavel Roskin
0ef41beb95
* samba/lib/util_sock.c: Fix gcc 4.0 warnings.
2005-05-11 20:03:41 +00:00
Pavel Roskin
b3bc70e73a
* samba/lib/debug.c (dbghdr): Constify arguments file and func.
2005-05-11 19:54:59 +00:00
Pavel Roskin
92fec3431c
* utilvfs.c: Fix gcc 4.0 warnings.
2005-05-10 23:21:42 +00:00
Pavel Roskin
79386c0add
* samba/include/includes.h: Don't include grp.h twice.
2005-05-10 20:46:40 +00:00
Andrew V. Samoilov
c6a4eae10c
* utilvfs.c (is_localized_month): Check "month" for NULL and
...
forbid punctuation characters in localized month abbreviation.
2005-04-21 10:04:06 +00:00
Roland Illig
526bf72983
* vfs.h: Fixed prototypes for mc_read() and mc_write(). Now they
...
get void * instead of char *.
* vfs.c: Likewise.
2005-04-13 19:08:13 +00:00
Andrew V. Samoilov
4cc677124a
* extfs/uarj.in (mcarjfs_copyout): Use the regular extract command,
...
instead of redirecting all the output of the print (p) command.
2005-03-31 05:28:15 +00:00
Andrew V. Samoilov
cef3ce222a
* samba/param/loadparm.c: Remove init_locals(), lp_smb_passwd_file(),
...
lp_passwd_program(), lp_passwd_chat(), lp_unix_password_sync(),
lp_max_open_files(), lp_shmem_size(), lp_lpqcachetime(),
lp_syslog(), lp_driverlocation().
(file_lists): Commented out.
(add_to_file_list): Comment out and make a do nothing macro.
2005-03-29 15:20:51 +00:00