Howard Chu
159461bfc8
ITS#5696 des_set_key -> des_set_key_and_parity
2009-07-03 22:19:52 +00:00
Howard Chu
4b8485c47a
ITS#5696 Additional MozNSS support from rmeggins@redhat.com
2009-07-02 23:10:23 +00:00
Hallvard Furuseth
7434318a17
ITS#5464, #5666 Update last change: Conflicted with compiler flag -D_GNU_SOURCE
2009-04-16 18:02:01 +00:00
Howard Chu
9e7b5d8f19
ITS#5464, #5666 define _GNU_SOURCE
2009-04-15 07:36:56 +00:00
Howard Chu
44f91f1464
ITS#6041 Windows opendir/closedir issues (from ITS#5408...)
2009-04-11 04:22:27 +00:00
Howard Chu
94ab6a31b2
ITS#6038 revert prev commits, ITS rejected
2009-03-27 11:07:42 +00:00
Rein Tollevik
c8cf2fc47a
ITS#6038: Write slapadd progress meter to stdout.
2009-03-26 22:50:54 +00:00
Howard Chu
d8e3b4e83e
ITS#6005 crypt salt_format must use ber_memfree
2009-03-09 01:28:00 +00:00
Howard Chu
02b71d58ec
ITS#6005 strings returned to slapd must use ber_mem*
2009-03-08 00:11:25 +00:00
Pierangelo Masarati
040f945d36
fix misc warnings
2009-02-15 21:59:16 +00:00
Howard Chu
bc486f123d
Fix spinner in prev commit
2009-02-05 10:07:20 +00:00
Howard Chu
d0515c4017
ITS#5922 with namespace changes
2009-02-05 09:38:07 +00:00
Hallvard Furuseth
ff08c4194c
Cleanup - macroize magic constant (ITS#5909)
2009-01-30 14:14:22 +00:00
Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +00:00
Pierangelo Masarati
7681642bcf
fix LDAP deref control response; fix tool response handling; add lutil_memcopy() for API uniformity (more about ITS#5768)
2008-12-11 23:17:08 +00:00
Hallvard Furuseth
677a11ad26
ITS#5748: tavl_find3(NULL,,,) returned undefined data
2008-10-22 19:39:42 +00:00
Hallvard Furuseth
03a729673c
Warning cleanup: signed meets unsigned.
2008-10-13 08:13:27 +00:00
Pierangelo Masarati
548a9f39ba
fix '<hex>'H conversion issue; did not look at decimal yet (ITS#5699)
2008-09-13 18:46:50 +00:00
Howard Chu
178141d7ec
ITS#5668 avoid overflows in Windows microsecond computation
2008-09-11 01:51:02 +00:00
Hallvard Furuseth
4f935126c4
ITS#5604: Normalize lutil_progname(): strip .exe from Windows executable names
2008-07-22 10:16:11 +00:00
Howard Chu
7d479302c0
ITS#5615 return success on Solaris 10
2008-07-15 20:07:36 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Pierangelo Masarati
20f2548c82
fix declarations of buffers for numeric strings; other related cleanup
2007-12-15 15:23:23 +00:00
Hallvard Furuseth
24d9258888
Remove unused variables
2007-12-06 17:23:23 +00:00
Howard Chu
304520c113
Add memctx to lutil_str2bin()
2007-12-02 19:11:41 +00:00
Howard Chu
34a503960d
Fix tmpbuf size
2007-12-01 20:28:18 +00:00
Howard Chu
6ffbb9b04d
Fix dirsep chars before opening file
2007-12-01 19:19:20 +00:00
Howard Chu
3e05442795
Cleanups from Hallvard
2007-12-01 19:18:43 +00:00
Howard Chu
d4baa7dc87
Fix carries
2007-12-01 11:14:40 +00:00
Howard Chu
fab334d5f1
Fix prev. Once more, with feeling.
2007-11-30 22:26:23 +00:00
Howard Chu
88ea88feeb
Fix prev cleanup.
2007-11-30 18:32:42 +00:00
Howard Chu
55f6387214
Cleanup prev commit
2007-11-30 18:25:45 +00:00
Howard Chu
14573820ec
Fix rev 1.49
2007-11-30 18:10:22 +00:00
Pierangelo Masarati
7aeac21440
silence warnings
2007-11-23 12:47:53 +00:00
Howard Chu
b710993764
Fix dec to bin for zero value
2007-11-21 05:08:08 +00:00
Howard Chu
beff004e1e
Fix dec to bin negative number handling
2007-11-21 01:49:09 +00:00
Howard Chu
9c8cf1bc04
Fix typo in dec to bin conversion
2007-11-20 18:14:17 +00:00
Pierangelo Masarati
6715f737b7
minor cleanup
2007-10-06 15:40:55 +00:00
Howard Chu
4d58197880
Add lutil_str2bin() for arbitrary length decimal-to-binary conversion
2007-10-01 06:50:19 +00:00
Pierangelo Masarati
3f9df357e8
don't leak file descriptors (coverity)
2007-09-03 16:18:17 +00:00
Howard Chu
8a532879cd
More for ITS#5117 - only use libfetch for non-file: URLs
2007-09-02 03:43:58 +00:00
Howard Chu
ec78507682
ITS#5117 try to log a message if chasing an include: fails. Since
...
ldif_read_record() doesn't distinguish errors from EOF, this is kind
of futile.
2007-09-02 02:16:52 +00:00
Pierangelo Masarati
145e6fc1f8
fix or comment Calysto findings
2007-08-21 10:52:16 +00:00
Pierangelo Masarati
ca1aed557b
make lutil_uuidstr_from_normalized() return the length of the string
2007-08-17 15:08:47 +00:00
Pierangelo Masarati
403704b7bc
move uuid normalized to string to liblutil
2007-08-17 12:42:52 +00:00
Hallvard Furuseth
25a7729a12
int -> ber_socklen_t for getsockname()
2007-06-10 20:35:30 +00:00
Hallvard Furuseth
28da797a3a
ITS#5007: Wrap code using MSG_WAITALL in #ifdef MSG_WAITALL.
2007-06-09 23:43:02 +00:00
Hallvard Furuseth
3750520f6f
Fix HP-UX crash: Replace socklen_t with ber_socklen_t from configure. ITS#4629.
2007-06-09 23:35:20 +00:00
Hallvard Furuseth
bbc719ca56
ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup
2007-05-09 18:17:10 +00:00
Howard Chu
b596ae0adf
ITS#4875 ignore zero-length st_size
2007-04-03 01:40:52 +00:00
Howard Chu
c49812bf6f
ITS#4893 back to pipes...
2007-03-26 12:44:11 +00:00
Howard Chu
867fb2fd9f
ITS#4893 just send the client socket, not a pipe descriptor.
2007-03-25 15:20:50 +00:00
Howard Chu
c6df30118f
ITS#4893 fix prev commit
2007-03-25 12:18:06 +00:00
Howard Chu
7426ab07fc
ITS#4893 define LDAP_PF_LOCAL_SENDMSG in <ac/socket.h> if a message must
...
be sent to transmit client credentials. Buffer the message data.
2007-03-25 04:40:22 +00:00
Howard Chu
a4f879f9d2
ITS#4880 s/HAVE_POSIX_TERMIOS/HAVE_TERMIOS_H/
2007-03-23 01:10:58 +00:00
Kurt Zeilenga
0a1301bc6b
Add support for uuid_generate/uuid_unparse
2007-03-02 07:36:23 +00:00
Howard Chu
ee2001ea4b
Note mutex protection requirements
2007-02-11 13:45:39 +00:00
Howard Chu
6cbf65642a
Move duplicate timestamp detection into lutil_gettime()
2007-02-11 13:42:29 +00:00
Howard Chu
ced581bfa3
Cleanup extraneous debug
2007-02-11 13:01:32 +00:00
Howard Chu
7ac06970e6
Don't let timestamps go backward
2007-02-06 04:48:35 +00:00
Howard Chu
4b1bb81452
Add lutil_gettime() returning structured time with microseconds. Use
...
microseconds in CSNs. Omit microseconds from modifyTImestamp...
2007-02-02 23:10:30 +00:00
Hallvard Furuseth
cb27c61010
avoid nonconst* = const* assignment in ldif_open_url().
2007-01-11 12:06:31 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Pierangelo Masarati
dd94ddba57
don't leave dependencies on liblutil in libldap :)
2006-12-17 22:04:25 +00:00
Pierangelo Masarati
a76b702d4c
fix request/result abandon
2006-12-03 20:56:25 +00:00
Howard Chu
2ccecba836
URL with authority spec must use absolute path
2006-11-27 19:03:59 +00:00
Howard Chu
e7be7301c2
allow file: URLs without authority spec.
2006-11-27 18:59:46 +00:00
Howard Chu
9446f8554b
define LDIF_MAXLINE instead of using BUFSIZ
2006-11-27 18:59:04 +00:00
Howard Chu
e16058d857
TS#4635 CR LF is also a valid line separator
2006-10-07 22:18:15 +00:00
Howard Chu
2cc356588e
dirent emulation for MSVC
2006-09-14 08:01:05 +00:00
Pierangelo Masarati
b5e33f8de9
don't search past end of berval
2006-06-13 20:34:02 +00:00
Howard Chu
40f818daef
Fix tavl_delete for two-node trees
2006-05-25 05:03:56 +00:00
Howard Chu
2d97c1cae1
ITS#4549 add tavl_find3() to return closest match
2006-05-19 15:24:16 +00:00
Howard Chu
70de4ee403
Fix lutil_parsetime parsing fractional seconds
2006-04-28 01:26:05 +00:00
Pierangelo Masarati
716d1770a2
fix strtoul() odd interface
2006-04-25 15:46:44 +00:00
Hallvard Furuseth
581c1ff6c7
Cast ctype.h char arguments to unsigned char
2006-04-01 23:44:42 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
ad4a21f1a4
cleanup time unparsing (don't add trailing 0s if other multiples have already been used)
2006-01-02 08:14:55 +00:00
Howard Chu
341ac2a066
Fix prev commit again, relative paths are legal.
2005-11-26 22:34:23 +00:00
Howard Chu
b4b8f12439
ITS#4221 fix -r1.6
2005-11-26 21:56:58 +00:00
Pierangelo Masarati
d34fffcaf9
use lutil_ato*() whenever appropriate
2005-11-24 01:10:05 +00:00
Kurt Zeilenga
ec24e6293f
Another getpeerucred(3) fix.
2005-11-23 19:41:28 +00:00
Kurt Zeilenga
dc98982397
cleanup last commit
2005-11-23 19:40:08 +00:00
Kurt Zeilenga
7468c7fb58
Support Solaris 10's getpeerucred(3) (*** blind commit ***)
2005-11-23 18:55:31 +00:00
Kurt Zeilenga
54a921caa9
s/ACCRIGHTS/ACCRIGHTSLEN/
2005-11-23 18:47:52 +00:00
Pierangelo Masarati
25fe62efde
add support for error-handling number/time parsing functions; need to replace ato{il}/strto[u]l throughout the code
2005-11-23 12:46:33 +00:00
Hallvard Furuseth
6a778f99f5
Fix lutil_memrchr():
...
Avoid void* pointer arithmetic.
Convert int c to unsigned char, so c=<negative char value> will match.
Do not decrement pointer below start of array (even when value is not used).
2005-11-14 15:40:01 +00:00
Pierangelo Masarati
474dfbc8fd
don't trust strchr/strrchr with bervals
2005-11-13 22:26:53 +00:00
Pierangelo Masarati
a6453f28f8
silence warnings
2005-11-06 23:27:09 +00:00
Howard Chu
c82ae524b9
Make time counter zero based
2005-10-05 15:45:22 +00:00
Kurt Zeilenga
9449c5709e
ITS#4021: add new {CLEARTEXT} kludge as bv_len=0 kludge no
...
longer works well.
2005-09-29 20:30:09 +00:00
Howard Chu
8c3e9ddb1c
avl_delete...
2005-09-26 08:57:19 +00:00
Howard Chu
4c89b0e80c
Tweak branches in avl_find
2005-09-26 08:21:10 +00:00
Howard Chu
dee98ccd47
Replace avl_insert/delete with iterative version
2005-09-26 08:15:55 +00:00
Howard Chu
53833c6ae6
Fix tavl_delete
2005-09-26 08:15:37 +00:00
Hallvard Furuseth
55fa9241a4
Remove unused variable
2005-09-26 04:36:19 +00:00
Howard Chu
3a018600d3
Revert prev commit
2005-09-23 06:27:16 +00:00
Howard Chu
e840a34fef
Fix end conditions for tavl_end and tavl_next
2005-09-23 06:25:13 +00:00
Howard Chu
0951e71df4
tavl_delete: copy balance factor
2005-09-22 01:16:28 +00:00
Howard Chu
495f7e5629
tavl_delete - swap whole structures, not the data pointers.
2005-09-21 19:18:40 +00:00