Replace existing licenses with a triple license (NPL/GPL/LGPL or
MPL/GPL/LGPL).
Add licenses to files that had no license.
Remove two unused files.
git-svn-id: svn://10.0.0.236/trunk@147837 18797224-902f-48f8-a5cc-f745e15eee43
A queue of pending outbound requests is kept. UnBind requests are NOT
queued however.
Abandon requests are not sent if a request is not outstanding.
Cleaned up the code in result.c to avoid use of magic return values
such as -1 and -2. Also removed some dead code and dead files.
ltest (test.c) now supports SSL and async I/O options.
git-svn-id: svn://10.0.0.236/trunk@147488 18797224-902f-48f8-a5cc-f745e15eee43
about Solaris: older Linux versions do not have in_addr_t, so
don't assume they do.
git-svn-id: svn://10.0.0.236/trunk@146393 18797224-902f-48f8-a5cc-f745e15eee43
Avoid using sunos5 (not defined).
Removed definitions of these macros that are not used anwhere:
HAVE_GETPWNAM_R, HAVE_GETGRNAM_R, SIG_FN, WAIT_FLAGS.
git-svn-id: svn://10.0.0.236/trunk@146384 18797224-902f-48f8-a5cc-f745e15eee43
Also, on Windows the -i option was previously ignored; now the following
values are accepted: windows-1252, ANSI, utf-8, utf8 (2 charsets in total).
git-svn-id: svn://10.0.0.236/trunk@146382 18797224-902f-48f8-a5cc-f745e15eee43
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa
The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
git-svn-id: svn://10.0.0.236/trunk@142814 18797224-902f-48f8-a5cc-f745e15eee43
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #201555 r=cls
git-svn-id: svn://10.0.0.236/trunk@141406 18797224-902f-48f8-a5cc-f745e15eee43
Fix most critical warnings in the core LDAP library code:
AIX has snprintf() so we now #define HAVE_SNPRINTF there.
Use snprintf() instead of sprintf() in ldap_perror().
Use snprintf() instead of sprintf() in ldap_init_getfilter_buf()
and improve error reporting for bad regular expressions.
git-svn-id: svn://10.0.0.236/trunk@140507 18797224-902f-48f8-a5cc-f745e15eee43
The new option is:
-r flush output after each entry is printed (useful with -C)
git-svn-id: svn://10.0.0.236/trunk@140487 18797224-902f-48f8-a5cc-f745e15eee43
Don't treat a request as complete if its LDAP result message
has not yet been received. Previously, nested referrals and
references could cause requests to be prematurely terminated.
git-svn-id: svn://10.0.0.236/trunk@140486 18797224-902f-48f8-a5cc-f745e15eee43
See bug # 188396 - NSPR should not use ftime on windows.
This fixes a potential Year 2038 issue.
git-svn-id: svn://10.0.0.236/trunk@139942 18797224-902f-48f8-a5cc-f745e15eee43
The LDAP tools code no longer has any knowledge of the NSS
file names; the certpath2keypath() function has been deleted
and we now simply use the certdbpath as keydbpath when it is
provided (it makes no difference in the end). But note that
because we need to maintain backwards compatibility, the
libssldap code used by the ldapssl_.*_init() functions still
knows the default name of the NSS module file (secmod.db),
and the code also relies on the fact that the suffix for the
key and cert files is ".db" and that the first letter in the
main part of the name is either 'c' or 'k'.
Also fixed a bug that caused the module file name specified on
the LDAP tools command line (-m name) to be ignored.
The ldapsearch and ldapcmp tools now exit with LDAP_NO_MEMORY
if an LDIF fragment can't be constructed.
Also fixed some issues reported by lint:
Return values that were ignored.
Make more functions and global variables static.
Add /*ARGSUSED*/ and similar lint-friendly comments.
git-svn-id: svn://10.0.0.236/trunk@139935 18797224-902f-48f8-a5cc-f745e15eee43