Skip to content

Commit

Permalink
Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Myers committed Nov 13, 2012
1 parent 4759432 commit 8ca8931
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2012-11-13 Joseph Myers <joseph@codesourcery.com>

[BZ #14838]
* resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
macro.

2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>

* soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Version 2.17
14562, 14568, 14576, 14579, 14583, 14587, 14595, 14602, 14610, 14621,
14638, 14645, 14648, 14652, 14660, 14661, 14669, 14683, 14694, 14716,
14743, 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14805,
14807, 14809, 14811, 14815, 14821, 14824.
14807, 14809, 14811, 14815, 14821, 14824, 14838.

* Port to ARM AArch64 contributed by Linaro.

Expand Down
2 changes: 1 addition & 1 deletion resolv/netdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
# define NO_ADDRESS NO_DATA /* No address, look for MX record. */
#endif

#ifdef __USE_XOPEN2K
#if defined __USE_XOPEN2K || defined __USE_XOPEN_EXTENDED
/* Highest reserved Internet port number. */
# define IPPORT_RESERVED 1024
#endif
Expand Down

0 comments on commit 8ca8931

Please sign in to comment.