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
r=mkaply, sr=blizzard (platform specific)
OS/2 only - bring back VACPP support for NSPR and DBM mainly so VACPP can still be used with NSS
git-svn-id: svn://10.0.0.236/trunk@155127 18797224-902f-48f8-a5cc-f745e15eee43
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
Also remove some VACPP references
git-svn-id: svn://10.0.0.236/trunk@146925 18797224-902f-48f8-a5cc-f745e15eee43
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
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
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
* 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
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
no longer define SVR4 on Solaris. I may use __SVR4 instead after verifying
that all Solaris compilers define it.
git-svn-id: svn://10.0.0.236/trunk@105771 18797224-902f-48f8-a5cc-f745e15eee43
#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
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
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
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
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