Closed Bug 231983 Opened 21 years ago Closed 21 years ago

xpicleanup incorrectly uses strcmp

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pkwarren, Assigned: pkwarren)

Details

Attachments

(1 file)

In InstallCleanupUNIX.cpp, there is the following snippet of code:

 74     // don't have to do anything if the files are the same
 75     if (strcmp(replacementFile, doomedFile))
 76         return DONE;
 77 

This should be:

if (strcmp(replacementFile, doomedFile) == 0)
Attached patch PatchSplinter Review
Assignee: xpi-engine → pkw
Status: NEW → ASSIGNED
Attachment #141331 - Flags: superreview?(mkaply)
Attachment #141331 - Flags: review?(timeless)
Comment on attachment 141331 [details] [diff] [review]
Patch

sr=darin
Attachment #141331 - Flags: superreview?(mkaply) → superreview+
Attachment #141331 - Flags: review?(timeless) → review+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: