Age | Commit message (Collapse) | Author | Files | Lines |
|
Since glibc 2.20, the _BSD_SOURCE and _SVID_SOURCE macros are
deprecated in favor of the _DEFAULT_SOURCE macro.
See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes
Change-Id: I18dd6a698f3f5aa51d1e45bf53b031bb061e17e8
Reviewed-on: https://plan9port-review.googlesource.com/1500
Reviewed-by: David du Colombier <0intro@gmail.com>
|
|
Really trivial port.
Change-Id: Ib2e3ad48df555ca4bd9339ddf79a832be895bd95
Reviewed-on: https://plan9port-review.googlesource.com/1030
Reviewed-by: Russ Cox <rsc@google.com>
|
|
Change-Id: I0af67bc44c7bb62a8e5a47eac597367f521f1c11
Reviewed-on: https://plan9port-review.googlesource.com/1210
Reviewed-by: Russ Cox <rsc@google.com>
|
|
Change-Id: I6eaeebc9b6a4d78ce07efe7680ba8f2eff16462f
Reviewed-on: https://plan9port-review.googlesource.com/1230
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Russ Cox <rsc@google.com>
|
|
Fix compilation problems, libdraw still doesn't work right yet.
LGTM=rsc
R=rsc
https://codereview.appspot.com/67820046
|
|
R=rsc
http://codereview.appspot.com/6744054
|
|
R=rsc
http://codereview.appspot.com/6749053
|
|
In some situations, gethostbyname can
return an empty address list.
R=rsc
http://codereview.appspot.com/6443097
|
|
Not all systems have ss_len, and we've never set it before.
R=rsc
http://codereview.appspot.com/6497102
|
|
R=rsc
http://codereview.appspot.com/6495109
|
|
On some systems, the third argument of connect() and bind()
is expected to be the length of the address family instead
of the length of the sockaddr structure.
R=rsc
http://codereview.appspot.com/6489072
|
|
R=rsc
http://codereview.appspot.com/6457077
|
|
Fix build error and warning on OpenBSD 5.1,
as reported by Dimitri Sokolyuk.
R=rsc
http://codereview.appspot.com/6350044
|
|
The function p9dialparse() returns the host as a sockaddr_storage
structure instead of a u32int, to be able to handle both IPv4
and IPv6 addresses. Because the sockaddr_storage structure also
handle port numbers and Unix path names, there is no longer
need to set them in the calling functions. However, these values
are still returned for convenience.
The sockaddr_in and sockaddr_un structures have been replaced
by sockaddr_storage to handle Unix, IPv4 and IPv6 sockets.
Names and addresses are resolved using either gethostbyname()
or getaddrinfo() functions.
The getaddrinfo() function is documented in RFC2553 and standardized
since POSIX.1-2001. It supports both IPv4 and IPv6 addresses.
The gethostbyname() function is deprecated since POSIX.1-2008.
However, some libc implementations don't handle getaddrinfo()
properly, thus we preferred to try gethostbyname() first.
I've tried to preserve most of the old code logic to prevent
from surprising or unwanted behavior.
R=rsc
http://codereview.appspot.com/6255068
|
|
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4826049
|
|
R=rsc
http://codereview.appspot.com/4838047
|
|
R=rsc
http://codereview.appspot.com/4436071
|
|
thanks to Erik Quanstrom
R=rsc
http://codereview.appspot.com/3469042
|
|
R=, rsc
CC=
http://codereview.appspot.com/1762045
|
|
R=rsc
http://codereview.appspot.com/376045
|
|
R=rsc
http://codereview.appspot.com/396042
|
|
http://codereview.appspot.com/123050
|
|
http://codereview.appspot.com/116096
|
|
http://codereview.appspot.com/116075
|
|
http://codereview.appspot.com/116073
|
|
http://codereview.appspot.com/109049
|
|
http://codereview.appspot.com/108042
|
|
fixes #15 http://code.swtch.com/plan9port/issues/15
http://codereview.appspot.com/107043
|
|
nan64.c was part of change #1 in this repository and
did not have a notice at that point (September 2003).
An earlier copy of libfmt, dated January 14-15, 2003,
makes it clear that nan64.c was extracted from fltfmt.c
and strtod.c, so use the same notice they use.
|
|
|
|
|
|
|
|
http://codereview.appspot.com/96185
|
|
pow10 was giving up too easily
http://codereview.appspot.com/96178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|