Closed
Bug 219487
Opened 21 years ago
Closed 21 years ago
Make new DNS code build/run on OpenVMS
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
4.5
People
(Reporter: colin, Assigned: wtc)
Details
Attachments
(2 files, 1 obsolete file)
686 bytes,
patch
|
wtc
:
review+
|
Details | Diff | Splinter Review |
780 bytes,
patch
|
colin
:
review+
|
Details | Diff | Splinter Review |
The DNS rewrite (bug 205726) leaves NSPR not building on OpenVMS. In order to
get it to build I need to no longer define "struct addrinfo" in _openvms.h.
I also need to define the environment variables GETADDRINFO and FREEADDRINFO so
that the new code which does getenv() calls for these (only for OpenVMS) will work.
I'll post the patch next. Both files are OpenVMS specific and so shouldn't break
anyone else.
Reporter | ||
Comment 1•21 years ago
|
||
Reporter | ||
Updated•21 years ago
|
Attachment #131614 -
Flags: review?(wchang0222)
Reporter | ||
Comment 2•21 years ago
|
||
Requesting blocking1.6a status since I can't build on OpenVMS without this fix.
Flags: blocking1.6a?
Assignee | ||
Updated•21 years ago
|
Attachment #131614 -
Flags: review?(wchang0222)
Assignee | ||
Comment 3•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #131614 -
Attachment is obsolete: true
Assignee | ||
Comment 4•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #131617 -
Flags: review+
Assignee | ||
Comment 5•21 years ago
|
||
Comment on attachment 131617 [details] [diff] [review]
OpenVMS fix for Mozilla (by Colin Blake)
Colin, NSPR may be using getnameinfo() in the near future.
Might be a good idea to add an environment variable for
getnameinfo() now.
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 131618 [details] [diff] [review]
OpenVMS fix for NSPR (by wtc)
Colin,
Could you test this patch?
Could you verify that AI_CANONNAME is defined as 2
and struct addrinfo is defined as
struct addrinfo {
int ai_flags;
int ai_family;
int ai_socktype;
int ai_protocol;
size_t ai_addrlen;
char *ai_canonname;
struct sockaddr *ai_addr;
struct addrinfo *ai_next;
};
in OpenVMS's <netdb.h> header?
Thanks.
Attachment #131618 -
Flags: review?(colin)
Reporter | ||
Comment 7•21 years ago
|
||
> Could you verify that AI_CANONNAME is defined as 2
> and struct addrinfo is defined as...
Alrady checked them. Yes.
Reporter | ||
Comment 8•21 years ago
|
||
Comment on attachment 131618 [details] [diff] [review]
OpenVMS fix for NSPR (by wtc)
Patch builds fine. I've also added getnameinfo to the env var list.
Attachment #131618 -
Flags: review?(colin) → review+
Assignee | ||
Comment 9•21 years ago
|
||
Comment on attachment 131618 [details] [diff] [review]
OpenVMS fix for NSPR (by wtc)
Thank you, Colin. I've checked in the NSPR patch on
the NSPR trunk (NSPR 4.5) and NSPRPUB_PRE_4_2_CLIENT_BRANCH
(Mozilla 1.6 alpha).
Reporter | ||
Comment 10•21 years ago
|
||
Can we mark this resolved now its checked in?
Assignee | ||
Comment 11•21 years ago
|
||
Colin,
I left this bug open for you to check in the patch
for mozilla/build/unix/vms/mozilla.com. Have you
checked in that patch?
Target Milestone: --- → 4.5
Reporter | ||
Comment 12•21 years ago
|
||
Oh, OK. No, I haven't yet. I'm not even building 1.6 yet. I'll try to get to
this before I leave.
Reporter | ||
Comment 13•21 years ago
|
||
Checked in the mozilla.com file to the Mozilla trunk. Rev 1.6.
Now can we close this :-)
Assignee | ||
Comment 14•21 years ago
|
||
Marked the bug fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•