Граф коммитов

74 Коммитов

Автор SHA1 Сообщение Дата
dougt%meer.net be6760da53 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
2005-04-29 13:33:49 +00:00
wtchang%redhat.com d03cb1a256 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.
2005-03-10 22:04:02 +00:00
seawood%netscape.com f7bf89f618 Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
mkaply%us.ibm.com ca7bf9defc #201807
r=wtc
Corrupt databases on GCC because we were opening the file in the wrong mode
2003-04-16 03:09:19 +00:00
mkaply%us.ibm.com ba067c962e #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
2003-01-20 23:13:38 +00:00
seawood%netscape.com 0eda67d6d3 We don't use DEFS. 2003-01-08 05:01:41 +00:00
bzbarsky%mit.edu 4b06a70b5f Use calloc() instead of malloc() followed by memset to 0. Bug 124302, patch by
Aaron Lehmann <aaronl@vitelus.com>, r=timeless, sr=bzbarsky
2002-11-20 23:13:09 +00:00
bryner%netscape.com 9f214d42df Use -mdynamic-no-pic when building non-PIC code with gcc 3.1 on MacOS 10.2 (bug 165851). r=cls. 2002-08-31 04:33:02 +00:00
wtc%netscape.com f9171f1b27 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
2002-04-27 05:11:58 +00:00
wtc%netscape.com 2dc5b0572e Plug leak. (bug 124234) 2002-04-27 05:09:48 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
seawood%netscape.com e56e20b1dc Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
seawood%netscape.com 45bfbf0658 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
2001-12-18 09:14:29 +00:00
wtc%netscape.com 6affdfaccb 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
2001-11-27 01:06:33 +00:00
jpierre%netscape.com 69af15d0f8 Fix for 95128 - OS/2 build issue 2001-11-22 00:18:08 +00:00
wtc%netscape.com 7b299ec707 Bugzilla bug 104645: Fixed compiler warnings. Improved compiler warning
fixes.  r=mcafee.
Modified files: src/h_page.c src/hash.c tests/lots.c
2001-11-14 01:31:11 +00:00
wtc%netscape.com 00acadd475 Bugzilla bug 103892: include <stdlib.h> rather than <malloc.h> for the
malloc functions.  r=cls.
2001-10-24 14:33:28 +00:00
wtc%netscape.com 5fb19fec4a 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
2001-10-23 22:05:06 +00:00
wtc%netscape.com 3b286f75a5 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
2001-10-19 05:45:51 +00:00
wtc%netscape.com 1944958d8e 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
2001-10-13 03:16:13 +00:00
wtc%netscape.com d9c1ea3392 Rewrote #ifndef #else #endif with the equivalent #ifdef #else #endif. 2001-10-12 21:45:13 +00:00
wtc%netscape.com 33aa663cd0 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
2001-10-11 22:07:55 +00:00
wtc%netscape.com 134cee78d2 Fix a compiler warning (comparision between signed and unsigned). The
return value of strlen() is size_t.
2001-10-09 21:23:11 +00:00
wtc%netscape.com 68691b7bc8 A better way to fix compiler warnings (signed/unsigned comparison) that
looks closer to the original code.
2001-10-09 13:58:29 +00:00
wtc%netscape.com 785d64e876 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
2001-06-22 06:33:34 +00:00
cls%seawood.org bf5fb48486 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
2001-06-18 22:10:38 +00:00
mkaply%us.ibm.com 6fec3bd415 OS/2 TB break
Don't even get me started
2001-03-14 04:11:42 +00:00
mkaply%us.ibm.com bff0f6cdf6 OS/2 TB break
Is there a reason an XP_OS2 was thrown in on Win32 only code?
2001-03-14 02:51:03 +00:00
nelsonb%netscape.com fa4b497eb8 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.
2001-03-14 00:29:55 +00:00
pinkerton%netscape.com d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
mkaply%us.ibm.com c2beac891c Tinderbox break - remove OS/2 only code 2000-07-10 20:29:36 +00:00
mkaply%us.ibm.com d7236ee829 # 25555
r= pavlov@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-03-07 21:00:06 +00:00
akkana%netscape.com e3baf152e0 18391: Remove MAX and MIN. Fix from cls@seawood.org, reviewed by me 2000-01-26 01:35:17 +00:00
cls%seawood.org cb43cdd902 Oops, I missed the c++ comments in the review. 2000-01-01 22:45:52 +00:00
mcafee%netscape.com 9f3d5d8eb0 Fixing compile warnings on Unix, patch from kiel@pobox.com (21494). r=cls@seawood.org,mcafee@netscape.com 1999-12-28 08:02:07 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
slamm%netscape.com 2e6f458c03 Add memmove to autoconf tests. 1999-09-18 02:55:39 +00:00
slamm%netscape.com 3447e0068a Fix a build warning (do not compile a file if it isn't needed). 1999-09-17 20:28:28 +00:00
cls%seawood.org adf94e4618 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. 1999-09-12 14:25:28 +00:00
briano%netscape.com e8197f828d Minor rearrangement. 1999-09-10 09:32:42 +00:00
sspitzer%netscape.com ea67644152 being anal, ignore me. 1999-09-03 22:32:35 +00:00
cyeh%netscape.com 780c169cc7 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:41:20 +00:00
ramiro%netscape.com 18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
dveditz%netscape.com 340c1d9c62 removing LITENESS 1999-07-30 23:54:36 +00:00
briano%netscape.com 5ca4aa0b87 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
dp%netscape.com 461e552458 ssize_t aint available on windoze. Fixing build. - mcafee & dp 1999-07-15 00:58:11 +00:00
mcafee%netscape.com 6b837eb2d2 Fixing warning errors (9245) 1999-07-15 00:17:20 +00:00
mcafee%netscape.com 65953591c1 Fix VMS bustage. Patch submitted by Colin Blake. 1999-07-07 06:46:35 +00:00
sspitzer%netscape.com d07322f19a fix the "ANSI C forbids an empty source file" warning.
of course this introduce the "defined but not used" warning.
I'll fix that when later.
1999-06-26 04:36:48 +00:00