Closed
Bug 109210
Opened 23 years ago
Closed 23 years ago
freebsd-current build broken by malloc.h
Categories
(Directory :: LDAP C SDK, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mikejestes, Assigned: dmosedale)
Details
fresh checkout and build of mozilla on freebsd current broken.
simple fix:
Index: directory/c-sdk//ldap/libraries/liblber/lber-int.h
===================================================================
RCS file: /cvsroot/mozilla/directory/c-sdk/ldap/libraries/liblber/lber-int.h,v
retrieving revision 1.2.2.4
diff -u -r1.2.2.4 lber-int.h
--- directory/c-sdk//ldap/libraries/liblber/lber-int.h 2001/10/26 20:47:20 1.2.2.4
+++ directory/c-sdk//ldap/libraries/liblber/lber-int.h 2001/11/09 02:13:29
@@ -48,7 +48,7 @@
#ifdef macintosh
# include "ldap-macos.h"
#else /* macintosh */
-#if !defined(BSDI) && !defined(DARWIN)
+#if !defined(BSDI) && !defined(DARWIN) && !defined(FREEBSD)
# include <malloc.h>
#endif
# include <errno.h>
malloc.h has been depreciated for years on freebsd, but always just included
stdlib.h
this has been changed to produce a build error if malloc.h is included.
Comment 1•23 years ago
|
||
The proposed fix looks fine to me. I wonder if any platforms need <malloc.h>
today? Reassigning to Dan for shepherding into the build.
Assignee: mcs → dmose
Assignee | ||
Comment 2•23 years ago
|
||
Looks fine to me too; r=dmose on the patch.
Severity: normal → critical
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla0.9.7
Assignee | ||
Comment 3•23 years ago
|
||
sr=sspitzer, in person
Assignee | ||
Comment 4•23 years ago
|
||
Fix checked in to LDAPCSDK_40_BRANCH. Giving back to mcs for checkin on current
CVS tip.
Assignee: dmose → mcs
Status: ASSIGNED → NEW
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.7 → ---
<malloc.h> shouldn't be included on any post K&R system, particularly BSDI and
Darwin.
i think LDAPCSDK_40_BRANCH is the one we build mozilla isn't it? so i guess this
bug could be closed?
Comment 7•23 years ago
|
||
Please leave it open. Mozilla current builds off LDAPCSDK_40_BRANCH, as you
said. But this fix needs to be committed to ldapcsdk_branch_50, which is the
development tip. Otherwise we will lose it when we change Mozilla to use newer
LDAP C SDK code.
Assignee | ||
Comment 10•23 years ago
|
||
Checked in to ldapcsdk_branch_50.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•