seawood%netscape.com
b06385def3
Change mksnt* checks to mks*
...
Bug #202598 r=wtc
git-svn-id: svn://10.0.0.236/trunk@141432 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 01:47:57 +00:00
seawood%netscape.com
dc1de8c614
Add -s to default optimization flags for os2gcc builds.
...
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
2003-04-18 19:27:09 +00:00
seawood%netscape.com
b3a5d11b25
Sync config.guess & config.sub with official GNU copies.
...
Bug #199343
git-svn-id: svn://10.0.0.236/trunk@141405 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 19:20:22 +00:00
seawood%netscape.com
41bc90a1b3
Fix x86 checks so that they work for xeon processors
...
Bug #199343 r=wtc
git-svn-id: svn://10.0.0.236/trunk@141404 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 19:18:12 +00:00
kairo%kairo.at
81cde04677
bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@141326 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 18:43:57 +00:00
mcs%netscape.com
a59bfdd9cd
Partial fix for 148272 - flawfinder warnings in directory.
...
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
2003-04-01 21:04:23 +00:00
djani%netscape.com
c973b5abcd
Bug 198218: added usage for -g
...
git-svn-id: svn://10.0.0.236/trunk@140490 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 18:12:49 +00:00
mcs%netscape.com
675516603d
Fix 190539 - Speed optimizations for OS/2.
...
Changes merged from ldapcsdk_50_client_branch.
git-svn-id: svn://10.0.0.236/trunk@140489 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 18:11:26 +00:00
mcs%netscape.com
4dc3895b74
Fix 199353 - ldapsearch contains recurring memory leaks.
...
Free the entry controls (ectrls) array inside print_entry().
git-svn-id: svn://10.0.0.236/trunk@140488 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 17:55:45 +00:00
mcs%netscape.com
620722c7a4
Fix bug # 200007 - add option to flush ldapsearch output after each entry.
...
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
2003-04-01 17:04:41 +00:00
mcs%netscape.com
042db5ce15
Fix bug # 174912 - Sporadically missing entries during referral.
...
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
2003-04-01 15:17:11 +00:00
djani%netscape.com
1aa0f973fb
Bug 198218: Now, the ldap clients send the password policy request control by default at the 'bind' level. To suppress it, use -g option. Also, the clients can parse the password policy response control.
...
git-svn-id: svn://10.0.0.236/trunk@140473 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 01:37:54 +00:00
mcs%netscape.com
1cd7eb9a68
Fix 175900 - read overrun in ldap resolve code.
...
Note: this fixes code we do not compile right now.
git-svn-id: svn://10.0.0.236/trunk@140161 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 21:12:03 +00:00
mcs%netscape.com
74319d5e50
Follow up fix for 126462 - Occurences of uninitialized variables being
...
used before being set (in directory/c-sdk).
Fix debug build.
git-svn-id: svn://10.0.0.236/trunk@140160 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 20:44:58 +00:00
mcs%netscape.com
e512518762
Fix 144241 - possible C SDK leak or delayed free().
...
Note: unconfirmed fix; I do not have a test program for this bug.
git-svn-id: svn://10.0.0.236/trunk@140158 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 20:05:24 +00:00
mcs%netscape.com
5076ab7942
Fix 126462 - Occurences of uninitialized variables being used
...
before being set (in directory/c-sdk).
git-svn-id: svn://10.0.0.236/trunk@140157 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 19:59:05 +00:00
mcs%netscape.com
952ba976ed
Fix 198972 - LDAP tools do not build on AIX.
...
Link with iconv library on AIX.
git-svn-id: svn://10.0.0.236/trunk@140156 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 19:49:11 +00:00
dmose%mozilla.org
7f5981ae11
Don't use strcmp() just to check for a zero-length string (bug 58221). Patch by timeless@myrealbox.com, r=dmose@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@140031 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:19:05 +00:00
mcs%netscape.com
8d80f1fd4c
Fix 189089 - port nspr w32 now.c fix to directory.
...
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
2003-03-21 16:41:42 +00:00
mcs%netscape.com
b9b47058f3
Fix 183385 - eliminate references to NSS key/cert/module files.
...
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
2003-03-21 16:00:34 +00:00
mcs%netscape.com
8b4978716e
Fix 183798 - crash if charset conversion fails.
...
git-svn-id: svn://10.0.0.236/trunk@139852 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 15:46:41 +00:00
mcs%netscape.com
626bd1a0fd
Fix 195441 - command line tools: :< in LDIF fails to import file
...
contents correctly.
Also removed a useless call to feof().
git-svn-id: svn://10.0.0.236/trunk@139841 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 14:56:59 +00:00
bzbarsky%mit.edu
cb5f836162
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
seawood%netscape.com
88a13bdac8
Add mingw support.
...
Bug #134113 r=mcs sr=dmose
git-svn-id: svn://10.0.0.236/trunk@139107 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 21:12:09 +00:00
timeless%mozdev.org
637f19c2b0
Bug 152700 compiler warnings caused by 119380 checkin
...
patch by dmose r=timeless sr=bryner
git-svn-id: svn://10.0.0.236/trunk@138678 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 03:18:58 +00:00
kairo%kairo.at
de1f7b5269
bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@138565 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 00:05:44 +00:00
seawood%netscape.com
9dfd61d929
Default to using absolute symlinks when building on Darwin.
...
Bug #193164 r=ccarlen
git-svn-id: svn://10.0.0.236/trunk@138298 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 16:58:47 +00:00
timeless%mozdev.org
4c3673a823
Bug 191717 `PRUint8 * array' might be used uninitialized in this function
...
r=dmose sr=alecf
git-svn-id: svn://10.0.0.236/trunk@138270 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 04:41:12 +00:00
asa%mozilla.org
142b3b53a7
checkin for dmose. fix bustage for --enable-ldap-extensions bug 189691 r+sr=dmose a=asa
...
git-svn-id: svn://10.0.0.236/trunk@136932 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-24 09:57:29 +00:00
dbaron%dbaron.org
0653a5fa91
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135993 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:35:36 +00:00
kairo%kairo.at
e6ced14fde
change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@135834 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 19:57:47 +00:00
miodrag%netscape.com
25b852aa24
Incorporated fix to printEntryStart() by Jeff.Gay@gfnews.net
...
git-svn-id: svn://10.0.0.236/trunk@135794 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-02 22:04:46 +00:00
seawood%netscape.com
f365ac16a3
Hardcode the use of Sun's ld & ranlib since they are the only ones supported.
...
Bug #181382 r=dmose
git-svn-id: svn://10.0.0.236/trunk@135426 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 21:44:49 +00:00
djani%netscape.com
72066a575b
Bug 179133: Now we support cert and key DBs with prefixes in the names also, just like ldapssl_pkcs_init() does. Now all of the code calls NSS_Initialize() instead of NSS_Init().
...
git-svn-id: svn://10.0.0.236/trunk@134802 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 19:10:17 +00:00
mcs%netscape.com
dd4c8f8139
Fix bug # 177756 - eliminate dependency on libNLS.
...
If HAVE_LIBNLS is not defined, OS functions (iconv and Win32
native APIs) are used for character set conversion of command
line arguments.
Fix bug # 177766 - LDAP tools should reject second -h argument.
A second -p argument is also rejected.
Fix bug # 159139 - HP/UX: LDAP command line tools do no charset conversion.
Removed special case makefile rules for convutf8.cpp on HP/UX.
git-svn-id: svn://10.0.0.236/trunk@134797 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 17:21:55 +00:00
mcs%netscape.com
cc5865f4c9
Fix bug # 177771 - libssldap: keyfile password should be optional.
...
If a NULL keypasswd value is passed to ldapssl_enable_clientauth()
then it is assumed that the application has already unlocked
the key DB or has installed its own GetPassword callback.
Also improved some error reporting.
git-svn-id: svn://10.0.0.236/trunk@134796 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 17:11:20 +00:00
miodrag%netscape.com
c4df1d005f
Removed unnecessary code, updated javadoc
...
git-svn-id: svn://10.0.0.236/trunk@134744 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 01:35:57 +00:00
miodrag%netscape.com
b0070e1509
Removed two trailing ^M
...
git-svn-id: svn://10.0.0.236/trunk@134741 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 01:04:19 +00:00
miodrag%netscape.com
1e4d37b68e
Removed in sdk 4.17
...
git-svn-id: svn://10.0.0.236/trunk@134658 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 01:19:09 +00:00
miodrag%netscape.com
9547a3050f
Minor corrections
...
git-svn-id: svn://10.0.0.236/trunk@134656 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:43:13 +00:00
miodrag%netscape.com
f33ff5c692
Added JAVA_VERSION variable, .CHECK_VARS target, better support for different java versions
...
git-svn-id: svn://10.0.0.236/trunk@134655 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:42:35 +00:00
miodrag%netscape.com
fa2abcd100
Updtates for LDAPJDK 4.17
...
git-svn-id: svn://10.0.0.236/trunk@134654 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:38:20 +00:00
miodrag%netscape.com
a1ee7a06f7
A minor change for javadoc
...
git-svn-id: svn://10.0.0.236/trunk@134653 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:36:21 +00:00
miodrag%netscape.com
6d40d91740
Added jss32_stub.jar
...
git-svn-id: svn://10.0.0.236/trunk@134652 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:33:56 +00:00
miodrag%netscape.com
5413a51b98
A fix for jdk1.4 javadoc
...
git-svn-id: svn://10.0.0.236/trunk@134651 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:26:50 +00:00
seawood%netscape.com
ae0f08c6b0
Fix egrep syntax.
...
git-svn-id: svn://10.0.0.236/trunk@134365 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 09:59:07 +00:00
seawood%netscape.com
f7a5f8eec0
Properly detect OS_ARCH when building on Win32 ME.
...
Bug #180822 r=dmose,wtc
git-svn-id: svn://10.0.0.236/trunk@134362 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 06:06:12 +00:00
bzbarsky%mit.edu
9a29d832d6
kill off some nsISupportsArray and fix a potential leak. Bug 177400,
...
r=dmose, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@133939 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 02:35:20 +00:00
mcs%netscape.com
6e31d32214
Fix bug # 177775 - libprldap: NSPR error is sometimes lost.
...
git-svn-id: svn://10.0.0.236/trunk@133925 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 21:03:19 +00:00
mcs%netscape.com
6107849741
Fix bug # 177778 - ldap_set_option( NULL, ... ) resets ldap_debug to zero.
...
git-svn-id: svn://10.0.0.236/trunk@133924 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 21:01:43 +00:00