Subj : about File.currentDir To : netscape.public.mozilla.jseng From : Taro Kato Date : Fri Mar 26 2004 01:19 pm Hello. A bug is in the source code of SpiderMonkey. Although it is a program mistake clearly, since it is generally hard to appear, in bugzilla, they are the contents which are not reported. However, since it is fatal in contents, I want to demand correction. Moreover, they are not the contents which can be reported by the report format of bugzilla. It is because it is the format which can report only the bug which surfaced. Where is technical contact point which reports the bug of a source code? A problem is in the 'currentDir' property of a file object. The setter of this property causes access violation. Even 1.5rc6 of the newest were not corrected. It has accessed to the object using the unresolved variable in which garbage is contained in it from the 2507th line of jsfile.c. Being downed is clear. > static JSBool > file_currentDirSetter(JSContext *cx, JSObject *obj, jsval id, jsval *vp) > { > JSObject *rhsObject; > char *path; > JSFile *file = JS_GetInstancePrivate(cx, rhsObject, &file_class, NULL); ~~~~~~~~~ A file object does not exist in the default compiled program. (#define of JS_HAS_FILE_OBJECT is not usually carried out), Therefore, I guess that it was not discovered. because It is not found unless a source code is read. I wish solution of this problem. Kind regards. ----- Since I cannot write English, I am using the language translation machine. Sorry if Words of me is unsuitable. ----- Taro Kato @ Tokyo Japan .