summaryrefslogtreecommitdiff
path: root/source4/lib/util
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21740: this fixes the real cause of the large log files we had. The problemAndrew Tridgell1-0/+17
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 (This used to be commit d20102d363f4b9214e29296ad8ec45c8d95614b5)
2007-10-10r21688: Add simple tests for genrandJelmer Vernooij1-0/+66
(This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)
2007-10-10r21656: Move tests a bit closer to the things they test, should make syncing ↵Jelmer Vernooij3-0/+279
with samba3 easier. (This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10r21174: many thanks to Paul Wayper for pointing out that C99 requires aAndrew Tridgell3-3/+3
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 (This used to be commit 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
2007-10-10r20734: always terminate the string... so that an empty data_blobStefan Metzmacher1-0/+1
gets '\0' as "" string metze (This used to be commit 4f5daa830a3c02a05ba1bc7f32eedbe1d52640a1)
2007-10-10r20730: this can be constStefan Metzmacher1-1/+1
metze (This used to be commit 181db920476a9ebddeee1ebea17be0baf85ea59e)
2007-10-10r20436: add more comments and add macros signed versions of the 64 bitStefan Metzmacher1-3/+9
macros metze (This used to be commit e77d0d1532e800e0a7b0a4a30cf9b4d97761ee52)
2007-10-10r20325: handle NULL strings in is_ipaddress()Stefan Metzmacher1-1/+3
metze (This used to be commit b8b69ff6bec0c1d412b1f935721b45ef07e9c9f5)
2007-10-10r20091: remove blank lines at the end of text lines loaded from a fileAndrew Tridgell1-1/+7
(This used to be commit afcc797e8a25d99269f67e05fe57e952dd5d65bc)
2007-10-10r19672: Make LIBSAMBA-UTIL a subsystem again for now because it has ↵Jelmer Vernooij1-4/+4
interdependencies with LIBSAMBA-CONFIG. (This used to be commit 4a044fb529075044755a0b5cc21446bf24bec72e)
2007-10-10r19671: Fix remaining unresolved symbols in shared library build.Jelmer Vernooij1-1/+2
Fix starting tests in shared library build. (This used to be commit 3b65a0d6e491a57ed216dc0cd9c31d46e0cb6a35)
2007-10-10r19539: Move pidfile to smbd/Jelmer Vernooij2-130/+1
(This used to be commit eefa64cbe392c4c4dcbf71b8bcf5128cce0339ba)
2007-10-10r19504: - fixed a free error in file_lines_parseAndrew Tridgell1-13/+25
- 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 (This used to be commit c5423ea22bdaa055807d4e6f7ac4be934194fe45)
2007-10-10r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.cAndrew Tridgell2-0/+551
tdbutil.c is Samba specific, so should not be part of the generic tdb library (This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
2007-10-10r18614: a bit of work done while on the plane.Rafal Szczesniak1-0/+22
a new function converting NTTIME to struct timeval rafal (This used to be commit e9ebbb8661ac6efc5bf07798a64cdb9f7c7eea50)
2007-10-10r18593: try to get the same socket_wrapper file building in samba3 and samba4Stefan Metzmacher1-0/+5
this is preparation of adding libreplace to samba3 later. metze (This used to be commit 26228e4b2e8debd84caebe84bb34bfbbf2ad405c)
2007-10-10r18213: don't list LIBREPLACE depdendecies explicit andStefan Metzmacher1-4/+2
always at it as first private dependencies metze (This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)
2007-10-10r18138: LIBREPLACE provides stuff from -ldl so it should depend on itStefan Metzmacher1-1/+1
metze (This used to be commit b4e4c115ab23bcc3b116a3736ddf2e88bab6f4cf)
2007-10-10r18137: more LIBREPLACE depsAndrew Tridgell1-0/+1
(This used to be commit 2d813d1e6deb99b06e43462885be848a5399b9a8)
2007-10-10r18130: the move to system/ in libreplace broke some things ... should beAndrew Tridgell1-1/+2
happier now (This used to be commit 18542f184f75074e56a9793a9e3b6c6d747bb9e6)
2007-10-10r18126: Fix -ldl dependency problemJelmer Vernooij1-1/+1
(This used to be commit ce31b736a9418889538b5778ceb0b18071cdfebd)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij3-2/+110
* 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) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17790: replace uses -ldl and should directly depend on itStefan Metzmacher1-1/+1
metze (This used to be commit 560a3058e53479133015d1b0a7cd149393c45438)
2007-10-10r17783: fix compiler warningsStefan Metzmacher1-1/+5
metze (This used to be commit c999dd02100e59bfd34585850c354ac2e9708cbb)
2007-10-10r17782: fix compiler warningStefan Metzmacher1-0/+2
metze (This used to be commit 97f6980372e2d06bdae461c737f9e0279f30b9b9)
2007-10-10r17633: Return NULL at the end of the file, or else we can't tell theAndrew Bartlett1-0/+4
difference between end of file and a blank line. Andrew Bartlett (This used to be commit 6fd6239a0f16154c13713bf1398b2873d1103335)
2007-10-10r17221: Add some integer wrap parinoia to data_blob_append().Andrew Bartlett1-5/+18
Andrew Bartlett (This used to be commit 7c5a25a423da3db982396ac507df985fa934be73)
2007-10-10r17167: indentAndrew Bartlett1-1/+1
(This used to be commit 4dcdc5a3ad6847be6c6199854121ae4ccadaa673)
2007-10-10r16923: remove unused substitude codeStefan Metzmacher2-171/+0
metze (This used to be commit ea88c8c99eff2203d13f9877e590d9d7f2fbb910)
2007-10-10r16922: move some macros out of talloc.h as the don't belong to tallocStefan Metzmacher1-0/+4
metze (This used to be commit 4c68e315e2288eef97527911daf18622a994ac31)
2007-10-10r16517: Get rid of pointless safe_free() (not SAFE_FREE()!) function.Jelmer Vernooij1-13/+0
(This used to be commit 6bc91497827a66af6d9adf26c689e9cc458d8ecf)
2007-10-10r16516: Get rid of file_exists() as there already is a file_exist().Jelmer Vernooij1-9/+0
(This used to be commit c4b3c2b18c6df43c8a4808fab72bc45439ba9421)
2007-10-10r16186: Use full include path to make sure it's being picked up by theJelmer Vernooij1-1/+1
dependency generator. (This used to be commit fbbc3b11683d594d31e6487873946b68c2c46923)
2007-10-10r16185: Remove autogenerated file from SVN.Jelmer Vernooij1-25/+0
(This used to be commit a975f11d452deb2c5e06b8ba02f528b08d2842e1)
2007-10-10r16052: Add .m4 file for XATTR detection (from ntvfs/posix/config.m4)Andrew Bartlett1-0/+32
Andrew Bartlett (This used to be commit 9a9c2bc4aaa4afc947fb490f48bf037e03d2f223)
2007-10-10r16051: Move the XATTR compatability code into a new file, so I can use it forAndrew Bartlett3-0/+157
the getntacl utility. Andrew Bartlett (This used to be commit b1e0d4747b412929e1d4e24d6d9e504df3ddc824)
2007-10-10r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell1-2/+1
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10r15573: Fix build of systems that have iconv headers in non-standard locationsJelmer Vernooij3-3/+3
Split of system/locale.h header from system/iconv.h Previously, iconv wasn't being used on these systems (This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests.Jelmer Vernooij4-12/+4
(This used to be commit d72c5c8f755277eb22e1f6834d98202f00c09934)
2007-10-10r15564: Fix copyrights (this file was originally based on just a few lines ↵Jelmer Vernooij1-3/+1
from smb.h) (This used to be commit 045bd55dd992f054606ffacae1580afb817b1e33)
2007-10-10r15457: Get rid of more usages of uint_tJelmer Vernooij1-3/+3
(This used to be commit 849818dcdeb8eaf2eb22fea3896a4f7c777d8c5f)
2007-10-10r15377: Remove sys_select() code as it's no longer used.Jelmer Vernooij2-170/+0
(This used to be commit 68004f68a364ce826ed8cbed0977e631ca60594d)
2007-10-10r15376: Add detection of -lnsl, required for building on SUN boxes.Jelmer Vernooij1-1/+1
(This used to be commit 49bac12767ca59095ad6609a3826f7f17ddb601c)
2007-10-10r15349: Integrate set_socket_options() into the socket libraryJelmer Vernooij2-134/+0
(This used to be commit 598ea173cd718dad0df24505796ca50cb728a2e9)
2007-10-10r15318: Don't create empty static libraries as some hosts have trouble with ↵Jelmer Vernooij1-1/+2
them. (This used to be commit 1505d7c6001f8a35e728a14af2885b813c32ebe7)
2007-10-10r15316: I don't understand quite why this function was ever like this, but weAndrew Bartlett1-2/+1
need to replace every instance of the character. Previously we skipped the first. Andrew Bartlett (This used to be commit 5b58ab98d6b47b7cfd47eb5f7d38dc3724e44ca2)
2007-10-10r15302: Remove strangely named function "StrnCpy" - strlcpy is available as aJelmer Vernooij1-21/+0
replacement. (This used to be commit 72237344cf22dacfaf1d87c3e0b922023fa4afb0)
2007-10-10r15298: Fix the build using a few hacks in the build system.Jelmer Vernooij1-6/+6
Recursive dependencies are now forbidden (the build system will bail out if there are any). I've split up auth_sam.c into auth_sam.c and sam.c. Andrew, please rename sam.c / move its contents to whatever/wherever you think suits best. (This used to be commit 6646384aaf3e7fa2aa798c3e564b94b0617ec4d0)
2007-10-10r15295: Fix some dependenciesJelmer Vernooij7-725/+104
Move unistr-specific code to lib/charset/. Remove _m from some places where it's not needed. (This used to be commit 03224e112424968fc3f547c6159c7ccae2d1aa5b)
2007-10-10r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues ↵Jelmer Vernooij1-1/+1
with local (empty) libpopt.a overriding global one (This used to be commit 2f06305e53478e5030c24550954f221a9a97c83f)