Closed Bug 31285 Opened 26 years ago Closed 26 years ago

FileOps return extra lead slash for pathways on Linux.

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect, P3)

x86
Linux

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: depman1, Assigned: dbragg)

Details

(Keywords: platform-parity)

Linux only. build 2000-03-09. 1. Go to http://jimbob/trigger2.html 2. Select any of the fileop routines (a_fileop_fileexists, filecopy, filedelete, etc.). all use "file:///" for 1st parameter in getFolder(); 3. Trigger. 4. Check logfile, specifically "pathway" line for the file operation. Result: "pathway = //u/..." Expected: "pathway = /u/..." Here are some examples from logfiles: ------------------------------------------------------------------------------- http://jimbob/jars/a_fileop_fileexe_param_unix.xpi -- 03/01/2000 17:52:49 ------------------------------------------------------------------------------- Acceptance: a_fileop_fileexe_param_unix --------------------------------------- [1/1] Installing: /u/depstein/builds/M14/mar01/package/test_exe_param Install completed successfully The execute part ---------------- ** pathway = //u/depstein/builds/M14/mar01/package/test_exe_param ** fileExecute returns = -208 Install completed successfully Finished Installation 03/01/2000 17:52:49 ------------------------------------------------------------------------------- http://jimbob/jars/a_fileop_fileexists.xpi -- 03/07/2000 11:28:33 ------------------------------------------------------------------------------- Acceptance: a_fileop_fileexists ------------------------------- [1/1] Installing: /u/depstein/builds/M14/mar07/package/components/fileexists.txt Install completed successfully The fileexists part ------------------- ** Path to fileexists.txt = //u/depstein/builds/M14/mar07/package/componentsfileexists.txt ** fileExists for file should return 1 (true) = 0 ** Directory returned = /u/depstein/builds/M14/mar07/package ** fileExists for directory should return 0 (false) = 1 Install completed successfully Finished Installation 03/07/2000 11:28:34 ------------------------------------------------------------------------------- http://jimbob/jars/a_fileop_filemoddatechanged.xpi -- 03/09/2000 12:16:57 ------------------------------------------------------------------------------- Acceptance: a_fileop_filemoddatechanged --------------------------------------- [1/2] Installing: /u/depstein/builds/M14/mar09/package/moddate2.txt [2/2] Installing: /u/depstein/builds/M14/mar09/package/moddate.txt Install completed successfully The modify part --------------- ** Path to fileSource1 = //u/depstein/builds/M14/mar09/packagemoddate.txt ** filemoddate returns = 0 ** Path to fileSource2 = //u/depstein/builds/M14/mar09/packagemoddate2.txt ** File.moddatechanged should return 0 (false) = false ** File.moddatechanged should return 1 (true) = false Install completed successfully Finished Installation 03/09/2000 12:16:58
entered pp for keyword.
Keywords: pp
QA Contact: jimmylee → depstein
Target Milestone: M15
reassign to dbragg bug meeting 3/20
Assignee: cathleen → dbragg
Target Milestone: M15 → M18
fixed. http://jimbob/jars/a_fileop_fileexists.xpi -- 04/23/2000 22:35:52 ------------------------------------------------------------------------------- Acceptance: a_fileop_fileexists ------------------------------- [1/1] Installing: /builds/dougt/mozilla/dist/bin/fileexists.txt Install completed successfully The fileexists - file part -------------------------- ** Path to fileexists.txt = /builds/dougt/mozilla/dist/bin/fileexists.txt ** fileExists for file should return 1 (true) = 1 The fileexists - directory part ------------------------------- ** Directory returned = /builds/dougt/mozilla/dist/bin/ ** fileExists for directory should return 1 (true) = 1 Finished Installation 04/23/2000 22:35:53
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
fixed
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.