Closed Bug 242495 Opened 21 years ago Closed 21 years ago

Extension to type mapping broken on Linux

Categories

(Core Graveyard :: File Handling, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: Bienvenu)

Details

(Keywords: regression)

Attachments

(1 file)

This is a regression from bug 197166. It looks like the data is never copied from "cbuf" into "buf" in the loop in nsOSHelperAppService::GetTypeAndDescriptionFromMimetypesFile -- as a result, we only ever see the first line of the file. I suppose the other loops should be checked too, just to make sure. And of course OS/2 has the same issues.
Keywords: regression
Attached patch proposed fix (deleted) — Splinter Review
Whoops, sorry. OS/2 is OK..
Attachment #147581 - Flags: review?(bzbarsky)
Attachment #147581 - Flags: superreview?(mscott)
Comment on attachment 147581 [details] [diff] [review] proposed fix r=bzbarsky, I think. Like I said in the other bug, using -p and more context (-u6 or -u8) would make patches a _lot_ easier to review...
Attachment #147581 - Flags: review?(bzbarsky) → review+
Attachment #147581 - Flags: superreview?(mscott) → superreview+
fixed, thx, I'll try to remember the -p option.
Status: NEW → 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: