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

72 Коммитов

Автор SHA1 Сообщение Дата
seawood%netscape.com 8893b1e6fd 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 2ec6e21b9b #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 2be49f1e9e #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 61c6807456 We don't use DEFS. 2003-01-08 05:01:41 +00:00
bzbarsky%mit.edu e43c4fe666 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 39ed63d1de 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 5184d25080 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 bb8492a155 Plug leak. (bug 124234) 2002-04-27 05:09:48 +00:00
timeless%mac.com fc883176bf Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
seawood%netscape.com fa5df5e54c 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 874c54280c 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 e5672f0c4c 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 cfe378971d Fix for 95128 - OS/2 build issue 2001-11-22 00:18:08 +00:00
wtc%netscape.com fcc52c8feb 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 9554e5dc1d 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 c9bcf1c9ee 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 32350fbb8b 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 e744300e88 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 1737bf3639 Rewrote #ifndef #else #endif with the equivalent #ifdef #else #endif. 2001-10-12 21:45:13 +00:00
wtc%netscape.com afe4a14413 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 c9c2e191fd 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 3f26aab5de 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 4d9f95160f 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 80f526179f 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 6b90cec67e OS/2 TB break
Don't even get me started
2001-03-14 04:11:42 +00:00
mkaply%us.ibm.com 3b58d8139f 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 11d86294ac 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 105d3c555e carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
mkaply%us.ibm.com b1aebe2f89 Tinderbox break - remove OS/2 only code 2000-07-10 20:29:36 +00:00
mkaply%us.ibm.com 29dcfad804 # 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 7ed3fa6bfc 18391: Remove MAX and MIN. Fix from cls@seawood.org, reviewed by me 2000-01-26 01:35:17 +00:00
cls%seawood.org 9556ddf3f9 Oops, I missed the c++ comments in the review. 2000-01-01 22:45:52 +00:00
mcafee%netscape.com 36ce5c2166 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 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
dmose%mozilla.org 42fc94a6ec 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 b96bbca97c Add memmove to autoconf tests. 1999-09-18 02:55:39 +00:00
slamm%netscape.com fe81ee1ce6 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 1a2e16af42 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 37bfd8650d Minor rearrangement. 1999-09-10 09:32:42 +00:00
sspitzer%netscape.com 0aa9b42c4c being anal, ignore me. 1999-09-03 22:32:35 +00:00
cyeh%netscape.com e1657e9fe6 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:41:20 +00:00
ramiro%netscape.com 411c10dc89 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
dveditz%netscape.com cb94e57e83 removing LITENESS 1999-07-30 23:54:36 +00:00
briano%netscape.com ea37bbc00a 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 73e3e2ed0f ssize_t aint available on windoze. Fixing build. - mcafee & dp 1999-07-15 00:58:11 +00:00
mcafee%netscape.com 97a8f274cb Fixing warning errors (9245) 1999-07-15 00:17:20 +00:00
mcafee%netscape.com a4e4a82e49 Fix VMS bustage. Patch submitted by Colin Blake. 1999-07-07 06:46:35 +00:00
sspitzer%netscape.com c894751ee0 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
mcafee%netscape.com b7ffd49f96 strerror() should only be implemented if we don't HAVE_STRERROR. Fixes BeOS build. Patch provided by Duncan Wilcox. (duncan@be.com) 1999-06-25 12:40:11 +00:00
briano%netscape.com 5d7096cde2 Eliminate the need to use -DQNX by switching to __QNX__, predefined by the compiler. 1999-05-14 01:46:00 +00:00