Closed Bug 183876 Opened 23 years ago Closed 23 years ago

MachO builds create a bad PkgInfo file in the bundle

Categories

(SeaMonkey :: Build Config, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.3alpha

People

(Reporter: jmt, Assigned: netscape)

Details

Attachments

(1 file, 1 obsolete file)

in xpfe/bootstrap/Makefile.in, as part of constructing the bundle for the MachO build, we do: echo APPLMOZZ > $(DIST)>/$(APP_NAME).app/Contents/PkgInfo As it turns out, this is subtly wrong, but I only found this out when calling CFBundleGetPackageInfo : it returned empty values for us. The problem is echo is appending a newline to the PkgInfo file, so it comes out as 9 bytes long, not 8. This seems to matter to the CFBundle code (though maybe this is version dependent). In any case, switching to 'echo -n' works (stops it outputing the trailing newline).
Comment on attachment 108471 [details] [diff] [review] Implement GetBindingParent on genericDOMDataNode oops, wrong bug :-(
Attachment #108471 - Attachment is obsolete: true
> In any case, switching to 'echo -n' works Sounds reasonable to me. No matter how trivial, put up a patch so we have something to r= :-)
Comment on attachment 108536 [details] [diff] [review] use echo -n :-) r=ccarlen
Attachment #108536 - Flags: review+
Comment on attachment 108536 [details] [diff] [review] use echo -n a=asa for checkin to 1.3a
Attachment #108536 - Flags: approval1.3a+
Patch has been checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.3alpha
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: