Commit Graph

128 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT service
463a18623d removed obsolete own memmove implementation (#242) 2009-02-03 19:51:01 +01:00
Patrick Winnertz
dcd57a34ef Removed .cvsignore files as we don't need them any longer 2009-01-05 16:58:44 +01: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
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
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
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
d62c0470e3 * samba/param/loadparm.c: Fixed warnings reported by gcc-2.95. 2005-05-24 09:14:53 +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
79386c0add * samba/include/includes.h: Don't include grp.h twice. 2005-05-10 20:46:40 +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
Andrew V. Samoilov
b75b3a042a amba/lib/util_str.c: Comment out strhasupper(), strhaslower(),
toktocliplist(), strncpyn(), strhex_to_str(), all_string_sub(),
        strnorm(), strisnormal()  and split_at_last_component().
        * samba/lib/time.c: Comment out http_timestring().
        * samba/lib/util.c: Comment out Protocol, trans_num, case_sensitive,
        case_preserve, use_mangled_map, short_case_preserve, case_mangle,
        my_netbios_names.
        Make sam_logon_in_ssb and case_default const.
        (samlogon_user): Make char* instead of pstring.
        * samba/libsmb/clientgen.c: Comment out cli_api_pipe(),
        cli_NetWkstaUserLogon(), cli_tdis(), cli_nt_create(), cli_ulogoff(),
        cli_lock(), cli_unlock(), cli_message_start(), cli_message_text()
        and cli_message_end().
        * samba/libsmb/namequery.c (global_in_nmbd): Make const.
        (find_master_ip): Comment out.
        * samba/libsmb/nmblib.c: Comment out matching_bits(), sort_ip,
        name_query_comp() and sort_query_replies().
2005-02-15 13:19:35 +00:00
Andrew V. Samoilov
999e265b23 * samba/lib/util_str.c: Comment out strhasupper(), strhaslower(),
toktocliplist(), strncpyn(), strhex_to_str(), all_string_sub()
        and split_at_last_component().
        * samba/lib/time.c: Comment out http_timestring().
        * samba/lib/util.c: Comment out Protocol, trans_num, case_sensitive,
        case_preserve, use_mangled_map, short_case_preserve, case_mangle,
        my_netbios_names.
        Make sam_logon_in_ssb and case_default const.
        (samlogon_user): Make char* instead of pstring.
        * samba/libsmb/clientgen.c: Comment out cli_api_pipe(),
        cli_NetWkstaUserLogon(), cli_tdis(), cli_nt_create(), cli_ulogoff(),
        cli_lock(), cli_unlock(), cli_message_start(), cli_message_text()
        and cli_message_end().
        * samba/libsmb/namequery.c (global_in_nmbd): Make const.
        (find_master_ip): Comment out.
        * samba/libsmb/nmblib.c: Comment out matching_bits(), sort_ip,
        name_query_comp() and sort_query_replies().
2005-02-14 13:14:01 +00:00
Andrew V. Samoilov
9ca4fc2bc0 * samba/lib/netmask.c [HAVE_NETMASK_AIX && HAVE_UNISTD_H]: Include
<unistd.h> to fix gcc 3.3 warnings about undeclared close().
2005-02-11 23:39:58 +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
a7a42c3d8b * samba/lib/username.c (map_username): Comment out.
(user_in_list): Ditto.
2005-02-01 12:02:34 +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
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
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
6478efd184 * samba/lib/util.c (tmpdir): Use MC_TMPDIR environment variable.
(automount_lookup): More secure code.
2004-08-20 21:05:02 +00:00
Andrew V. Samoilov
ae73b0a065 * configure.ac: Remove AC_STRUCT_ST_RDEV and AC_CHECK_FUNCS (strpbrk). 2004-03-07 06:45:31 +00:00
Andrew V. Samoilov
b55db9788b * samba/lib/debug.c (Debug1): Don't try to open/create logfile if debugf is empty string. 2004-03-07 06:40:28 +00:00
Pavel Roskin
8db3838b57 * samba/configure.in: Rename to ...
* samba/configure.ac: ... this.  Adjust dependencies.
2004-01-22 06:30:30 +00:00
Pavel Roskin
5a0b2b0806 * mcserv.c: Don't use HAVE_CRYPT from extraonf.h.
* samba/include/includes.h: Likewise.
2003-10-25 22:37:08 +00:00
Pavel Roskin
26ce05dfa3 * samba/lib/doscalls.c: Remove. Remove all references to it. 2003-10-15 07:32:45 +00:00
Pavel Roskin
ecce86674c * samba/libsmb/namequery.c (_interpret_node_status): Comment
out.
2003-09-10 00:21:52 +00:00
Pavel Roskin
c68d1ab16a Fix incorrect commit. Run proto.h through uniq, not "sort -u". 2003-09-04 16:14:52 +00:00
Pavel Roskin
0e77501e9c * samba/include/charset.h: Remove declaration already present in
proto.h.
* samba/include/proto.h: Run through uniq.
2003-09-03 19:21:41 +00:00
Pavel Roskin
31ed57778b * samba/tests/summary.c: Remove. The test is now included ...
* samba/configure.in: ... here.
* samba/tests/README: Remove, it's irrelevant.
* samba/architecture.doc: Likewise.
* samba/include/dlinklist.h: Remove, it's unused.  Adjust
dependencies.
* samba/libsmb/namequery.c (name_status): Remove, it's unused.
* Makefile.am: Remove unused Samba files.
2003-08-30 07:14:54 +00:00
Pavel Roskin
a64b930445 * samba/tests/summary.c: Remove. The test is now included ...
* samba/configure.in: ... here.
* samba/tests/README: Remove, it's irrelevant.
* samba/architecture.doc: Likewise.
* samba/include/dlinklist.h: Remove, it's unused.  Adjust
dependencies.
* samba/libsmb/namequery.c (): Remove, it's unused.
* Makefile.am: Remove unused Samba files.
2003-08-30 07:14:54 +00:00
Pavel Roskin
c037f013a3 * samba/include/smb.h: Remove unneeded includes.
* samba/include/ntdomain.h: Remove, it's unused.
* samba/include/rpc*.h: Likewise.
* samba/lib/util_unistr.c: Remove unused code.
* samba/include/proto.h: Regenerate.
* Makefile.am: Remove unused Samba headers.
2003-08-30 06:29:39 +00:00
Pavel Roskin
3bff4a829d * samba/lib/system.c: Remove all unused code.
* samba/include/proto.h: Remove some unused prototypes.
* samba/include/includes.h: Don't include sys/capability.h,
it's not needed.
* samba/configure.in: Remove tests for capabilities and groups,
which are unused now.  Also remove the trivial test.
* Makefile.am: Remove unused Samba tests.
2003-08-29 23:40:37 +00:00
Pavel Roskin
349d70c8cf Typos. 2003-06-02 19:47:30 +00:00
Andrew V. Samoilov
e2ae450cf0 * samba/libsmb/clientgen.c (cli_session_setup): Convert
username from Unix to DOS codepage before sending.
2003-03-13 14:45:48 +00:00
Andrew V. Samoilov
30caf4ab5e (kernel_oplocks_available): Comment out.
(lp_set_kernel_oplocks): Likewise.
(lp_kernel_oplocks): Likewise.
2003-03-06 10:38:38 +00:00
Andrew V. Samoilov
488f984e02 Remove SWATDIR definition 2002-11-29 06:57:36 +00:00
Pavel Roskin
21bfde8acf Minor warning fixes. 2002-11-15 17:02:44 +00:00
Andrew V. Samoilov
3fbf9adabe * samba/param/loadparm.c: Remove PASSWD_PROGRAM, SMB_PASSWD_FILE
and DEFAULT_PASSWD_CHAT support.
* samba/Makefile.in: Likewsise. Remove PRIVATEDIR, PASSWD_FLAGS,
CODEPAGELIST and SCRIPTS variables and yodldocs target.
* samba/configure.in: Remove --with-privatedir.
2002-11-14 12:32:41 +00:00