79 Commits

Author SHA1 Message Date
biswatosh.chakraborty%sun.com
100fe11ff6 Removed Files: hsearch.c
For Bug Id: 265715. Reviewed by Nelson
    Issue: Removal of hsearch.c


git-svn-id: svn://10.0.0.236/trunk@237055 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 05:21:59 +00:00
nelson%bolyard.com
df9d62db72 Remove ndbm.* files from dbm. r=wtchang, bug 175741.
git-svn-id: svn://10.0.0.236/trunk@201203 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 04:53:59 +00:00
nelson%bolyard.com
4bca60dbe2 Remove files nsres.h and nsres.c from trunk. Bug 336198. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@196451 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-13 01:28:45 +00:00
gerv%gerv.net
2472ad72b0 Bug 331603 - remove advertising clause. See ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change for the legal basis for this change.
git-svn-id: svn://10.0.0.236/trunk@193362 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 00:23:40 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
gerv%gerv.net
53f3bd4146 Bug 236613: change to MPL/LGPL/GPL tri-license, plus some fixes to the BSD licensing of a couple of files.
git-svn-id: svn://10.0.0.236/trunk@180792 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 10:38:14 +00:00
dougt%meer.net
3d7bcc8055 Windows CE build changes. This addresses most of the outstanding Windows
CE compilation issues.

This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript.  This change is based on bug 242518.  See comment 36.

This patch also removes the unused enum in transformiix .  See bug
292118.

r/sr = dveditz/shaver
b    = 291229
a    = asa


git-svn-id: svn://10.0.0.236/trunk@172870 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 13:33:49 +00:00
wtchang%redhat.com
807da61e44 Carried Nelson's fix from DBM_1_6_BRANCH (revision 3.15.2.5) to the trunk:
The error paths for __hash_open() had leaks, double-frees, and
  potential crashes from using free'd memory.  This patch fixes them.
  Bug 230159. r=wtc. sr=relyea.


git-svn-id: svn://10.0.0.236/trunk@170537 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 22:04:02 +00:00
seawood%netscape.com
3b350b75cd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin


git-svn-id: svn://10.0.0.236/trunk@141408 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 20:14:17 +00:00
mkaply%us.ibm.com
27a92e48ef #201807
r=wtc
Corrupt databases on GCC because we were opening the file in the wrong mode


git-svn-id: svn://10.0.0.236/trunk@141231 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 03:09:19 +00:00
mkaply%us.ibm.com
d757ab762f #95128
r=pedemont, r=wtc, sr=dmose
OS/2 only - remove dependency on OS/2 specific dirent in dbm code

That was also the previous checkin to mcom_db.h - messed up the comment


git-svn-id: svn://10.0.0.236/trunk@136703 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 23:13:38 +00:00
seawood%netscape.com
2e5040b32d We don't use DEFS.
git-svn-id: svn://10.0.0.236/trunk@135976 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 05:01:41 +00:00
bzbarsky%mit.edu
b549c5800b Use calloc() instead of malloc() followed by memset to 0. Bug 124302, patch by
Aaron Lehmann <aaronl@vitelus.com>, r=timeless, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@134212 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:13:09 +00:00
bryner%netscape.com
eeafbaa427 Use -mdynamic-no-pic when building non-PIC code with gcc 3.1 on MacOS 10.2 (bug 165851). r=cls.
git-svn-id: svn://10.0.0.236/trunk@128612 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-31 04:36:54 +00:00
wtc%netscape.com
fadd9c12b4 Bugzilla bug 129080: Unroll the collect_data code. Pin the required buffers.
Allow the cache to grow if necessary to hold large objects. r=nelsonb,wtc.
Modified Files: h_bigkey.c hash_buf.c


git-svn-id: svn://10.0.0.236/trunk@120091 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:11:58 +00:00
wtc%netscape.com
6a8f527899 Plug leak. (bug 124234)
git-svn-id: svn://10.0.0.236/trunk@120090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:09:48 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
seawood%netscape.com
a9308f6d58 Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag


git-svn-id: svn://10.0.0.236/trunk@112307 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:10:09 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
wtc%netscape.com
a0aae4cf80 Bugzilla bug 111287: checked in a patch from Dave Inglis <dinglis@qnx.com>
to fix the QNX6 port of dbm.  r=wtc.
Modified files: include/mcom_db.h src/hash.c


git-svn-id: svn://10.0.0.236/trunk@108953 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 01:06:33 +00:00
jpierre%netscape.com
6da005ee84 Fix for 95128 - OS/2 build issue
git-svn-id: svn://10.0.0.236/trunk@108765 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 00:18:08 +00:00
wtc%netscape.com
a3600d2ad1 Bugzilla bug 104645: Fixed compiler warnings. Improved compiler warning
fixes.  r=mcafee.
Modified files: src/h_page.c src/hash.c tests/lots.c


git-svn-id: svn://10.0.0.236/trunk@107984 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:31:11 +00:00
wtc%netscape.com
5b76abc737 Bugzilla bug 103892: include <stdlib.h> rather than <malloc.h> for the
malloc functions.  r=cls.


git-svn-id: svn://10.0.0.236/trunk@106167 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:33:28 +00:00
wtc%netscape.com
196a987032 Bugzilla bug 105173: test the compiler-defined __SVR4 macro instead of
SVR4 for Solaris.
Modified Files:
        include/mcom_db.h include/ncompat.h src/memmove.c


git-svn-id: svn://10.0.0.236/trunk@106063 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:05:06 +00:00
wtc%netscape.com
9b7416bb2f Bugzilla bug 105173: in mcom_db.h, put the tests for HAVE_XXX_H inside
#ifdef __DBINTERFACE_PRIVATE so that users of this exported header don't
have to define these HAVE_XXX_H macros.  Define __DBINTERFACE_PRIVATE
in dbm/macbuild/DBMConfig.h and dbm/src/Makefile.win. r=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@105755 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 05:45:51 +00:00
wtc%netscape.com
9d6461e127 Bugzilla bug 104444: change the type of the h_charkey member of
struct hashhdr from int32 to uint32.
Modified files: dbm/include/hash.h dbm/src/hash.c


git-svn-id: svn://10.0.0.236/trunk@105352 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 03:16:13 +00:00
wtc%netscape.com
c8c2332748 Rewrote #ifndef #else #endif with the equivalent #ifdef #else #endif.
git-svn-id: svn://10.0.0.236/trunk@105297 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:45:13 +00:00
wtc%netscape.com
dae0a94f98 Bugzilla bug 103881: <sys/cdefs.h> as opposed to <cdefs.h> should be
included if HAVE_SYS_CDEFS_H is defined.  Other cleanups related to
cdefs.h.  r=shaver.
Modified files: dbm/src/snprintf.c dbm/include/cdefs.h
                dbm/include/mcom_db.h dbm/include/nsres.h


git-svn-id: svn://10.0.0.236/trunk@105210 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:07:55 +00:00
wtc%netscape.com
ceab2f68cd Fix a compiler warning (comparision between signed and unsigned). The
return value of strlen() is size_t.


git-svn-id: svn://10.0.0.236/trunk@104942 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:23:11 +00:00
wtc%netscape.com
e20398cb4f A better way to fix compiler warnings (signed/unsigned comparison) that
looks closer to the original code.


git-svn-id: svn://10.0.0.236/trunk@104909 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 13:58:29 +00:00
wtc%netscape.com
2fba9cbedc Bugzilla bug #72014: fixed DBM temporary file problems on OS/2. Thanks
to Javier Pedemonte <pedemont@us.ibm.com> for the patch.  r=relyea,wtc.
sr=blizzard. a=asa@mozilla.org for the trunk and mozilla0.9.2.
Modified files: h_page.c mktemp.c


git-svn-id: svn://10.0.0.236/trunk@97762 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 06:33:34 +00:00
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
mkaply%us.ibm.com
fe7e1dc212 OS/2 TB break
Don't even get me started


git-svn-id: svn://10.0.0.236/trunk@89601 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 04:11:42 +00:00
mkaply%us.ibm.com
a9d575cf6a OS/2 TB break
Is there a reason an XP_OS2 was thrown in on Win32 only code?


git-svn-id: svn://10.0.0.236/trunk@89585 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:51:03 +00:00
nelsonb%netscape.com
7d0250e121 Fix bugzilla bugs 69753 and 39465. Temporary DB files are now created
in $TMP, $TMPDIR or $TEMP, if possible.  On windows, temporary DB files
are now opened in binary mode and are removed when the progam terminates
or the DB is closed.  Multiple temp DB files can now be created in the
same program.  EOF value on disk is now updated when file is extended.


git-svn-id: svn://10.0.0.236/trunk@89552 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:29:55 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
mkaply%us.ibm.com
8ca37c9ffe Tinderbox break - remove OS/2 only code
git-svn-id: svn://10.0.0.236/trunk@73936 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:29:36 +00:00
mkaply%us.ibm.com
ebdfcca282 # 25555
r= pavlov@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@62324 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:00:06 +00:00
akkana%netscape.com
3dd3856433 18391: Remove MAX and MIN. Fix from cls@seawood.org, reviewed by me
git-svn-id: svn://10.0.0.236/trunk@58689 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:35:17 +00:00
cls%seawood.org
38da1ceec5 Oops, I missed the c++ comments in the review.
git-svn-id: svn://10.0.0.236/trunk@56639 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-01 22:45:52 +00:00
mcafee%netscape.com
5ab7ae8553 Fixing compile warnings on Unix, patch from kiel@pobox.com (21494). r=cls@seawood.org,mcafee@netscape.com
git-svn-id: svn://10.0.0.236/trunk@56563 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 08:02:07 +00:00
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
slamm%netscape.com
cee8b771f1 Add memmove to autoconf tests.
git-svn-id: svn://10.0.0.236/trunk@48160 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:55:39 +00:00
slamm%netscape.com
f33f0c1edb Fix a build warning (do not compile a file if it isn't needed).
git-svn-id: svn://10.0.0.236/trunk@48012 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:28:28 +00:00
cls%seawood.org
dbbf0c4eef Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c.
git-svn-id: svn://10.0.0.236/trunk@47060 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 14:25:28 +00:00
briano%netscape.com
2d01d09e80 Minor rearrangement.
git-svn-id: svn://10.0.0.236/trunk@46760 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 09:32:42 +00:00
sspitzer%netscape.com
2caa61b4e5 being anal, ignore me.
git-svn-id: svn://10.0.0.236/trunk@45952 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:32:35 +00:00
cyeh%netscape.com
b5db8d86ef Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45416 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:41:20 +00:00
ramiro%netscape.com
8f8c841662 Cleanup linkin of mozdbm.
git-svn-id: svn://10.0.0.236/trunk@45349 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:31:50 +00:00