author | Andreas Gal <gal@mozilla.com> |
Tue, 16 Dec 2008 21:16:03 -0800 | |
changeset 23077 | 1329b1e3edd3bd779ebfb12ae4226707633c6bd7 |
parent 23076 | 370f4468be2f8d3d038dfba7eff34645de59608c |
child 23078 | 7c898d7b2e9eae2b6983954cd0d6f7d2a19327a9 |
push id | 4346 |
push user | rsayre@mozilla.com |
push date | Fri, 26 Dec 2008 01:26:36 +0000 |
treeherder | mozilla-central@8eb5a5b83a93 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | me |
bugs | 465460 |
milestone | 1.9.2a1pre |
js/src/js.cpp | file | annotate | diff | comparison | revisions |
--- a/js/src/js.cpp +++ b/js/src/js.cpp @@ -2959,17 +2959,17 @@ MakeAbsolutePathname(JSContext *cx, cons #endif // XP_UNIX static JSBool Snarf(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) { JSString *str; const char *filename; - char *pathname; + const char *pathname; JSStackFrame *fp; JSBool ok; size_t cc, len; char *buf; FILE *file; str = JS_ValueToString(cx, argv[0]); if (!str)