Closed
Bug 481579
Opened 16 years ago
Closed 16 years ago
changes to shunt and tools for jemalloc on windows ce
Categories
(Firefox Build System :: General, defect)
Tracking
(fennec1.0a1-wm+)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | 1.0a1-wm+ | --- |
People
(Reporter: blassey, Assigned: blassey)
References
Details
(Keywords: fixed1.9.1)
Attachments
(1 file, 4 obsolete files)
15.42 KB,
patch
|
dougt
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #365603 -
Flags: review?(doug.turner)
Assignee | ||
Updated•16 years ago
|
Attachment #365603 -
Flags: review?(ted.mielczarek)
Assignee | ||
Updated•16 years ago
|
Attachment #365603 -
Attachment is patch: true
Attachment #365603 -
Attachment mime type: application/octet-stream → text/plain
Comment 1•16 years ago
|
||
Comment on attachment 365603 [details] [diff] [review]
patch v.1
why:
+#include <wchar.h>
This forces wchar.h to be included by every file.
Can you pull all of the "C" memory functions into an 'extern "C" block' so that you only need to declare these functions once?
Assignee | ||
Comment 2•16 years ago
|
||
Assignee: nobody → bugmail
Attachment #365603 -
Attachment is obsolete: true
Attachment #365920 -
Flags: review?(doug.turner)
Attachment #365603 -
Flags: review?(ted.mielczarek)
Attachment #365603 -
Flags: review?(doug.turner)
Assignee | ||
Updated•16 years ago
|
Attachment #365920 -
Flags: review?(ted.mielczarek)
Assignee | ||
Updated•16 years ago
|
Attachment #365920 -
Flags: review?(ted.mielczarek) → review?(benjamin)
Assignee | ||
Comment 3•16 years ago
|
||
this gets rid of the reference to mozce_coredll
Attachment #365920 -
Attachment is obsolete: true
Attachment #366759 -
Flags: review?(doug.turner)
Attachment #365920 -
Flags: review?(doug.turner)
Attachment #365920 -
Flags: review?(benjamin)
Assignee | ||
Updated•16 years ago
|
Attachment #366759 -
Flags: review?(benjamin)
Comment 4•16 years ago
|
||
Comment on attachment 366759 [details] [diff] [review]
patch v.3
look okay. mostly nits.
ooc, what is this change for:
+#define _CRTIMP __declspec(dllexport)
nit:
ce_wcsndup( const unsigned
No space between the ( and the type.
+ * Portions created by the Initial Developer are Copyright (C) 2008
2009
+mozce_strndup( const char *src, size_t len ) {
check for malloc failure.
same thing for the rest of these functions.
-static bool env_ready = false;
+static bool env_ready = FALSE;
ooc, was this needed?
- args[i++] = "/Zc:wchar_t-"; //
Why?
args[i++] = LIB_PATH;
argpath_conv(&argv[1], &args[i]);
-
+
and
-
+ args[i++] = "/NODEFAULTLIB";
+
+#ifdef MOZ_MEMORY
kill the whitespace.
Attachment #366759 -
Flags: review?(doug.turner) → review-
Assignee | ||
Comment 5•16 years ago
|
||
(In reply to comment #4)
> (From update of attachment 366759 [details] [diff] [review])
> look okay. mostly nits.
>
> ooc, what is this change for:
>
> +#define _CRTIMP __declspec(dllexport)
That is so when we include stdlib, it defines malloc, free etc. with the same linkage as we're using (otherwise its dllimport, which causes and error)
> - args[i++] = "/Zc:wchar_t-"; //
>
> Why?
/Zc:whcar_t- is in CFLAGS, defining it here is redundant and confusing if try to you change it
Assignee | ||
Updated•16 years ago
|
tracking-fennec: --- → 1.0a1-wm+
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•16 years ago
|
||
Attachment #366759 -
Attachment is obsolete: true
Attachment #368880 -
Flags: review?(doug.turner)
Attachment #366759 -
Flags: review?(benjamin)
Assignee | ||
Comment 7•16 years ago
|
||
Attachment #368880 -
Attachment is obsolete: true
Attachment #368888 -
Flags: review?(doug.turner)
Attachment #368880 -
Flags: review?(doug.turner)
Updated•16 years ago
|
Attachment #368888 -
Flags: review?(doug.turner) → review+
Assignee | ||
Comment 8•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•16 years ago
|
Attachment #368888 -
Flags: approval1.9.1?
Comment 9•16 years ago
|
||
Comment on attachment 368888 [details] [diff] [review]
patch v.5, quiets compiler warnings
a191=beltzner
Attachment #368888 -
Flags: approval1.9.1? → approval1.9.1+
Assignee | ||
Comment 10•16 years ago
|
||
Keywords: fixed1.9.1
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•