Closed Bug 7077 Opened 26 years ago Closed 26 years ago

compile-et should put comments in generated .h file

Categories

(NSPR :: NSPR, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgmyers, Assigned: wtc)

Details

Attachments

(2 files)

Fix attached
Attached patch Proposed fix (deleted) — Splinter Review
Status: NEW → ASSIGNED
I modified your proposed fix to put the comments on their own lines and add blank lines in between, so that the generated header looks like: /* * * prerr.h * This file is automatically generated; please do not edit it. */ /* Memory allocation attempt failed */ #define PR_OUT_OF_MEMORY_ERROR (-6000L) /* Invalid file descriptor */ #define PR_BAD_DESCRIPTOR_ERROR (-5999L) /* The operation would have blocked */ #define PR_WOULD_BLOCK_ERROR ...
wtc's patch is fine by me.
The mozilla.org cvs repository is closed now for the M6 milestone, so I checked in the fix to the internal cvs repository. /m/src/ns/nspr20/pr/include/prerr.h, revision 2.4 /m/src/ns/nspr20/pr/src/misc/compile-et.pl, revision 2.5
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Checked in the fix to cvs.mozilla.org: /cvsroot/mozilla/nsprpub/pr/include/prerr.h, revision 3.4 /cvsroot/mozilla/nsprpub/pr/src/misc/compile-et.pl, revision 3.5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: