Closed
Bug 153938
Opened 23 years ago
Closed 23 years ago
i don't like #if defined(XP_PC) && !defined(XP_OS2)
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: mkaply)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
4.30 KB,
patch
|
timeless
:
review+
dveditz
:
superreview+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•23 years ago
|
||
I don't either.
We have bugs and diffs for some of this stuff, but it never got checked in.
Someone just needs to give me blanket authority to change this stuff when I see
it.
it looks like a few places don't handle BeOS or OS/2.
fwiw
#include <unistd.h> - BeOS
#include <netdb.h> - BONE
#include <sys/socket.h> - BONE
#include <arpa/inet.h> - BONE
I bet most platforms don't exercise this code
| Assignee | ||
Comment 4•23 years ago
|
||
I've done some porting in some of these files, so this patch needs updating.
Note, in the libxpnet files, I used __OS2__ to be consistent with the use of
_WINDOWS (compiler define rather than Mozilla define)
I think that this was done deliberately by the writer of libxpnet - I've no idea
why.
Also, I'd prefer #if defined(XP_WIN) || defined(XP_OS2) to
#ifdef XP_PC
| Assignee | ||
Comment 5•23 years ago
|
||
Changing the _WINDOWS and other stuff isn't right.
This past JUST gets rid of XP_PC stuff.
In some cases, we had to do:
#ifdef XP_OS2
#elif defined(XP_PC)
for the OS/2 case - I fixed these as well to use XP_WIN and moved OS/2 to the
bottom.
Very simple patch.
Attachment #89005 -
Attachment is obsolete: true
| Assignee | ||
Updated•23 years ago
|
Attachment #111622 -
Flags: review?(timeless)
Attachment #111622 -
Flags: superreview?(dveditz)
Attachment #111622 -
Flags: review?(timeless)
Attachment #111622 -
Flags: review+
Comment 6•23 years ago
|
||
Comment on attachment 111622 [details] [diff] [review]
Patch to just address issue in bug
sr=dveditz
Attachment #111622 -
Flags: superreview?(dveditz) → superreview+
| Assignee | ||
Comment 7•23 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•