summaryrefslogtreecommitdiff
path: root/lib/util
AgeCommit message (Collapse)AuthorFilesLines
2009-03-19lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystemStefan Metzmacher1-1/+8
metze
2009-03-15Remove -L/usr/lib from a couple more make variables.Jelmer Vernooij1-0/+1
2009-03-09Fix prototype mismatch.Jelmer Vernooij1-1/+1
2009-03-08Revert accidental reintroduction of void ** bug.Jelmer Vernooij2-5/+7
2009-03-03lib/util: remove samba specific talloc_get_type_abort()Stefan Metzmacher2-22/+0
metze
2009-03-02Import ISO-8859-1, 646 from Samba 3 iconv.Jelmer Vernooij1-0/+29
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij3-38/+122
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij4-46/+77
2009-03-01Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij2-0/+115
2009-03-01Move next_token_talloc to util.c, as util_str.c is only compiled inside samba 4.Jelmer Vernooij2-100/+100
2009-03-01Move next_token_talloc() to top-level.Jelmer Vernooij2-0/+115
2009-03-01Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij2-2/+3
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij4-23/+31
consistency with Samba 3.
2009-02-26Add tevent_ntstatusVolker Lendecke2-0/+83
2009-02-24Add tevent_req_is_unix_errorVolker Lendecke2-0/+73
2009-02-23Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman3-3/+42
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
2009-02-21Fix shadowed declaration warningTim Prouty1-1/+1
2009-02-20Moved become_daemon() and close_low_fds() to shared util libSteven Danneman2-14/+17
2009-02-13Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2-17/+13
2009-02-13Fix Coverity ID 707 (RESOURCE_LEAK)Volker Lendecke1-0/+1
2009-02-09Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵Jelmer Vernooij1-2/+0
and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
2009-02-02Attempt to fix "make test" on host "tridge"Volker Lendecke1-1/+1
2009-02-02lib/util: s/new/pn in idtree.cStefan Metzmacher1-16/+16
metze
2009-02-02lib/util: s/class/dclassStefan Metzmacher1-1/+1
metze
2009-02-01Fix headers, only ldb.h is requiredSimo Sorce1-2/+0
2009-01-30s4:lib/util: fix the buildStefan Metzmacher1-1/+1
metze
2009-01-30s4:build: kill DEFAULT_HEADERS variableStefan Metzmacher1-0/+1
metze
2009-01-29Fix coverity CID#66. Resource leak in error path.Jeremy Allison1-0/+1
Jeremy.
2009-01-19util_str: setup the correct talloc name for stringsStefan Metzmacher2-0/+4
metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
2009-01-16lib: add strlen_m_term_null from s3.Günther Deschner2-0/+20
Guenther
2009-01-09s4:debug: make setup_logging() a bit more compatible with samba3Stefan Metzmacher1-1/+1
In samba3 the 2nd argument is bool interactive. E.g ndrdump uses true there which used to map to DEBUG_FILE in samba4, it maps to DEBUG_STDOUT now, which is better. In the end end samba3 should also use the samba4 version of setup_logging() metze
2009-01-08Print the failed value in the time tests.Jelmer Vernooij1-5/+8
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-31/+0
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-0/+31
2008-12-30s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4Tim Prouty1-0/+2
2008-12-23Fix use of "time offset" parameter, and add test to make sure I don't break ↵Jelmer Vernooij3-1/+23
it again :-)
2008-12-17lib/util: make it possible to use debug.h with using xfile.hStefan Metzmacher2-2/+3
metze
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty1-1/+1
Also eliminates name conflicts with OneFS system libraries
2008-11-20s3 build: Fix incomplete types warningsTim Prouty1-3/+2
2008-11-18s3/s4 build: Fix execinfo and sasl build error when the libs/headers are in ↵Tim Prouty1-2/+12
non-standard locations. These configure checks have the correct flags at configure time, so let's pass them through so they are used at compile time.
2008-11-16lib/util: hex_encode_talloc(): fix error path and set talloc nameStefan Metzmacher1-0/+4
metze
2008-11-02Rename class to "cls" since the first is a keyword name in C++. Thanks,Jelmer Vernooij1-1/+1
Brad.
2008-11-01Move lp_*() calls a bit higher up the calls tack.Jelmer Vernooij1-1/+1
2008-11-01Remove convert_string_talloc_descriptor, add iconv_talloc().Jelmer Vernooij2-59/+77
2008-11-01Move ABS() to libutil.Jelmer Vernooij1-0/+4
2008-11-01ALlow util/debug.h to be included more than once.Jelmer Vernooij1-0/+5
2008-11-01Fix includes in installed version of talloc_stack.h.Jelmer Vernooij1-1/+1
2008-11-01Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij2-9/+27
Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
2008-11-01Only provide valgrind_strlen prototype when it's being compiled in.Jelmer Vernooij1-2/+2
2008-11-01Samba3: Include util.h header file rather than having custom prototypes.Jelmer Vernooij2-7/+25