1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00
Commit Graph

150 Commits

Author SHA1 Message Date
Stefan Metzmacher
893b6f56b6 r22379: add missing file
metze
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
54bfc1dccc r22373: move in_list() to util_strlist.c to remove the dependency
from util.o to next_token() and strcasecmp_m()

with this the pidl tests link better on some hosts

metze
2007-10-10 14:51:09 -05:00
Stefan Metzmacher
8cd36c47aa r22372: split out become_daemon() into it's own function
this remove the dependency of util.o to swrap_close
which causes sometrouble with the pidl tests
on some hosts

metze
2007-10-10 14:51:09 -05:00
Stefan Metzmacher
76fbe90596 r22371: readd discard_const() to lib/util/util.h
metze
2007-10-10 14:51:09 -05:00
Stefan Metzmacher
2243142b46 r22369: add ZERO_STRUCT() ... macros to lib/util/util.h again
to fix the openchange build...

we need to remove them from libreplace, but I'll think about that
next week.

metze
2007-10-10 14:51:08 -05:00
Stefan Metzmacher
b69c950858 r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
metze
2007-10-10 14:50:59 -05:00
Stefan Metzmacher
c2cfee6d25 r22226: move discard_const macros to librelace
metze
2007-10-10 14:50:40 -05:00
Andrew Tridgell
d20102d363 r21740: this fixes the real cause of the large log files we had. The problem
was we were not checking the result of a convert_string() call, and it
was giving -1. We then passed -1 to fwrite() on stdout, which on aix
and macosx wrote all of available memory to stdout :)

To fix this, replace non-printing chars with ? in d_printf if the
string cannot be converted
2007-10-10 14:49:21 -05:00
Jelmer Vernooij
90f23f0de8 r21688: Add simple tests for genrand 2007-10-10 14:49:12 -05:00
Jelmer Vernooij
4d755fb5d7 r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier. 2007-10-10 14:49:05 -05:00
Andrew Tridgell
21eb316473 r21174: many thanks to Paul Wayper for pointing out that C99 requires a
matching va_end() for each va_copy(). This doesn't matter for most
architectures, but there could be some obscure ones where it does
matter.

some of this should be ported to Samba3
2007-10-10 14:44:42 -05:00
Stefan Metzmacher
4f5daa830a r20734: always terminate the string... so that an empty data_blob
gets '\0' as "" string

metze
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
181db92047 r20730: this can be const
metze
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
e77d0d1532 r20436: add more comments and add macros signed versions of the 64 bit
macros

metze
2007-10-10 14:30:36 -05:00
Stefan Metzmacher
b8b69ff6be r20325: handle NULL strings in is_ipaddress()
metze
2007-10-10 14:29:40 -05:00
Andrew Tridgell
afcc797e8a r20091: remove blank lines at the end of text lines loaded from a file 2007-10-10 14:29:03 -05:00
Jelmer Vernooij
4a044fb529 r19672: Make LIBSAMBA-UTIL a subsystem again for now because it has interdependencies
with LIBSAMBA-CONFIG.
2007-10-10 14:25:28 -05:00
Jelmer Vernooij
3b65a0d6e4 r19671: Fix remaining unresolved symbols in shared library build.
Fix starting tests in shared library build.
2007-10-10 14:25:27 -05:00
Jelmer Vernooij
eefa64cbe3 r19539: Move pidfile to smbd/ 2007-10-10 14:24:46 -05:00
Andrew Tridgell
c5423ea22b r19504: - fixed a free error in file_lines_parse
- added a function to test for large file support

- enable CAP_LARGE_FILES only if the test passes

- don't test at large offsets if the server doesn't set
  CAP_LARGE_FILES
2007-10-10 14:24:40 -05:00
Andrew Tridgell
979dd24f5e r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.c
tdbutil.c is Samba specific, so should not be part of the generic tdb
library
2007-10-10 14:21:30 -05:00
Rafal Szczesniak
e9ebbb8661 r18614: a bit of work done while on the plane.
a new function converting NTTIME to struct timeval

rafal
2007-10-10 14:18:56 -05:00
Stefan Metzmacher
26228e4b2e r18593: try to get the same socket_wrapper file building in samba3 and samba4
this is preparation of adding libreplace to samba3 later.

metze
2007-10-10 14:18:54 -05:00
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -05:00
Stefan Metzmacher
b4e4c115ab r18138: LIBREPLACE provides stuff from -ldl so it should depend on it
metze
2007-10-10 14:17:38 -05:00
Andrew Tridgell
2d813d1e6d r18137: more LIBREPLACE deps 2007-10-10 14:17:38 -05:00
Andrew Tridgell
18542f184f r18130: the move to system/ in libreplace broke some things ... should be
happier now
2007-10-10 14:17:37 -05:00
Jelmer Vernooij
ce31b736a9 r18126: Fix -ldl dependency problem 2007-10-10 14:17:36 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
560a3058e5 r17790: replace uses -ldl and should directly depend on it
metze
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
c999dd0210 r17783: fix compiler warnings
metze
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
97f6980372 r17782: fix compiler warning
metze
2007-10-10 14:16:41 -05:00
Andrew Bartlett
6fd6239a0f r17633: Return NULL at the end of the file, or else we can't tell the
difference between end of file and a blank line.

Andrew Bartlett
2007-10-10 14:16:17 -05:00
Andrew Bartlett
7c5a25a423 r17221: Add some integer wrap parinoia to data_blob_append().
Andrew Bartlett
2007-10-10 14:10:20 -05:00
Andrew Bartlett
4dcdc5a3ad r17167: indent 2007-10-10 14:10:15 -05:00
Stefan Metzmacher
ea88c8c99e r16923: remove unused substitude code
metze
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
4c68e315e2 r16922: move some macros out of talloc.h as the don't belong to talloc
metze
2007-10-10 14:10:01 -05:00
Jelmer Vernooij
6bc9149782 r16517: Get rid of pointless safe_free() (not SAFE_FREE()!) function. 2007-10-10 14:09:31 -05:00
Jelmer Vernooij
c4b3c2b18c r16516: Get rid of file_exists() as there already is a file_exist(). 2007-10-10 14:09:31 -05:00
Jelmer Vernooij
fbbc3b1168 r16186: Use full include path to make sure it's being picked up by the
dependency generator.
2007-10-10 14:09:06 -05:00
Jelmer Vernooij
a975f11d45 r16185: Remove autogenerated file from SVN. 2007-10-10 14:09:05 -05:00
Andrew Bartlett
9a9c2bc4aa r16052: Add .m4 file for XATTR detection (from ntvfs/posix/config.m4)
Andrew Bartlett
2007-10-10 14:08:53 -05:00
Andrew Bartlett
b1e0d4747b r16051: Move the XATTR compatability code into a new file, so I can use it for
the getntacl utility.

Andrew Bartlett
2007-10-10 14:08:53 -05:00
Andrew Tridgell
61c6100617 r15854: more talloc_set_destructor() typesafe fixes 2007-10-10 14:08:32 -05:00
Jelmer Vernooij
aa6d66fda6 r15573: Fix build of systems that have iconv headers in non-standard locations
Split of system/locale.h header from system/iconv.h

Previously, iconv wasn't being used on these systems
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
d72c5c8f75 r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests. 2007-10-10 14:05:58 -05:00
Jelmer Vernooij
045bd55dd9 r15564: Fix copyrights (this file was originally based on just a few lines from smb.h) 2007-10-10 14:05:56 -05:00
Jelmer Vernooij
849818dcde r15457: Get rid of more usages of uint_t 2007-10-10 14:05:37 -05:00
Jelmer Vernooij
68004f68a3 r15377: Remove sys_select() code as it's no longer used. 2007-10-10 14:05:29 -05:00
Jelmer Vernooij
49bac12767 r15376: Add detection of -lnsl, required for building on SUN boxes. 2007-10-10 14:05:29 -05:00