Re: CVS commit: src/lib/libc/net

2016-12-06 Thread David Holland
On Tue, Dec 06, 2016 at 01:41:03PM -0500, Christos Zoulas wrote: > Module Name: src > Committed By:christos > Date:Tue Dec 6 18:41:03 UTC 2016 > > Modified Files: > src/lib/libc/net: linkaddr.c > > Log Message: > Fix buffer copy without checking the size of

Re: CVS commit: src/lib/libc/net

2016-09-21 Thread Roy Marples
On 21/09/2016 13:10, Ryo ONODERA wrote: > Adding ifa_addrflags definition to src/include/ifaddrs.h is required? It is! I forgot that file from my commit, fixed now. Roy

Re: CVS commit: src/lib/libc/net

2016-09-21 Thread Ryo ONODERA
Hi, Adding ifa_addrflags definition to src/include/ifaddrs.h is required? From: "Roy Marples" , Date: Wed, 21 Sep 2016 10:53:24 + > Module Name: src > Committed By: roy > Date: Wed Sep 21 10:53:24 UTC 2016 > > Modified Files: > src/lib/libc/net: getifaddrs.3 getifaddrs.c > >

Re: CVS commit: src/lib/libc/net

2015-11-04 Thread Robert Elz
Date:Wed, 04 Nov 2015 14:02:12 +0100 (CET) From:Havard Eidnes Message-ID: <20151104.140212.184674982...@uninett.no> | 952, referred to from 1123. That's just fine if your intent is to put a host name in HOSTS.TXT That's all 952 applies to. If that is your intent,

Re: CVS commit: src/lib/libc/net

2015-11-04 Thread Steffen Nurpmeso
Robert Elz wrote: |Which standard? RFC 1035 2.3.1 defines hostnames. |ps: do go read section 11 of rfc2181 while you're pondering all of this. I think RFC 6895 would then be for the better: 3.3.1. Label Types At the present time, there are two categories of label types: data labels a

Re: CVS commit: src/lib/libc/net

2015-11-04 Thread Havard Eidnes
> | So, what did we do by default: allow "_" in hostnames when that's > | explicitly against standard, or not? > > Which standard? 952, referred to from 1123. > There's RFC952 that specifies the format of HOSTS.TXT (from 1985). > (The update in Hosts Requirements isn't material, one way or th

Re: CVS commit: src/lib/libc/net

2015-11-03 Thread Robert Elz
Date:Sun, 1 Nov 2015 23:45:36 -0800 From:Erik Fair Message-ID: <56dd2b5f-26b1-40b7-bd84-103d3f255...@netbsd.org> | So, what did we do by default: allow "_" in hostnames when that's | explicitly against standard, or not? Which standard? There's RFC952 that specif

Re: CVS commit: src/lib/libc/net

2015-11-02 Thread Steffen Nurpmeso
Erik Fair wrote: |So, what did we do by default: allow “_” in hostnames when that’s exp\ |licitly against standard, or not? I read the patch in the PR and coul\ |dn’t make heads or tails of it. fwiw i don't think this is generally true, my own one has a DNS::verifyName() and that does

Re: CVS commit: src/lib/libc/net

2015-11-02 Thread Christos Zoulas
In article <56dd2b5f-26b1-40b7-bd84-103d3f255...@netbsd.org>, Erik Fair wrote: >So, what did we do by default: allow “_” in hostnames when that’s >explicitly against standard, or not? I read the patch in the PR and >couldn’t make heads or tails of it. res_init() sets RES_NOCHECKNAME, but

Re: CVS commit: src/lib/libc/net

2015-11-02 Thread Steffen Nurpmeso
oops, of course ?0[sdaoden@wales]$ git grep IS_ASCII_ master master:modules/dns/config.h:#define _IS_ASCII_PRINTABLE(CHAR) ((CHAR) > 0x20 && (CHAR) < 0x7F) master:modules/dns/config.h:#define _IS_ASCII

Re: CVS commit: src/lib/libc/net

2015-11-02 Thread Erik Fair
So, what did we do by default: allow “_” in hostnames when that’s explicitly against standard, or not? I read the patch in the PR and couldn’t make heads or tails of it. Erik > On Oct 26, 2015, at 07:48, Christos Zoulas wrote: > > Module Name: src > Committed By: christos > Date:

Re: CVS commit: src/lib/libc/net

2011-12-26 Thread Joerg Sonnenberger
On Tue, Dec 27, 2011 at 12:44:10PM +1100, matthew green wrote: > > That adds a lot of restrictions on when UNSUPPORT_COMPILER.XXX can be > > set. I don't think it's a good idea to do that. > > i don't understand this. can you explain it further? The suggested pattern allows the variable to be se

re: CVS commit: src/lib/libc/net

2011-12-26 Thread matthew green
> On Mon, Dec 26, 2011 at 05:49:41PM +1100, matthew green wrote: > > > > > For completeness, it should be: > > > > > > .if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "arm" > > > COPTS.getaddrinfo.c+= ${${ACTIVE_CC} == "gcc" :? -fno-tree-ter :} > > > COPTS.gethnameaddr.c+=${${ACTIVE_CC} =

Re: CVS commit: src/lib/libc/net

2011-12-26 Thread Joerg Sonnenberger
On Mon, Dec 26, 2011 at 05:49:41PM +1100, matthew green wrote: > > > For completeness, it should be: > > > > .if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "arm" > > COPTS.getaddrinfo.c+= ${${ACTIVE_CC} == "gcc" :? -fno-tree-ter :} > > COPTS.gethnameaddr.c+= ${${ACTIVE_CC} == "gcc" :?

re: CVS commit: src/lib/libc/net

2011-12-25 Thread matthew green
> For completeness, it should be: > > .if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "arm" > COPTS.getaddrinfo.c+= ${${ACTIVE_CC} == "gcc" :? -fno-tree-ter :} > COPTS.gethnameaddr.c+=${${ACTIVE_CC} == "gcc" :? -fno-tree-ter :} > .endif why not just have: .if ${HAVE_GCC:U} == "45" &&

Re: CVS commit: src/lib/libc/net

2011-12-24 Thread Joerg Sonnenberger
On Sun, Dec 25, 2011 at 10:20:35AM +0900, Izumi Tsutsui wrote: > > On Sun, Dec 25, 2011 at 09:54:37AM +0900, Izumi Tsutsui wrote: > > > > On Sat, Dec 24, 2011 at 10:17:37PM +0900, Izumi Tsutsui wrote: > > > > > > > Log Message: > > > > > > > Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.

Re: CVS commit: src/lib/libc/net

2011-12-24 Thread Izumi Tsutsui
> On Sun, Dec 25, 2011 at 09:54:37AM +0900, Izumi Tsutsui wrote: > > > On Sat, Dec 24, 2011 at 10:17:37PM +0900, Izumi Tsutsui wrote: > > > > > > Log Message: > > > > > > Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.c on arm > > > > > > and gcc45 > > > > > > for workaround of a possibl

Re: CVS commit: src/lib/libc/net

2011-12-24 Thread Joerg Sonnenberger
On Sun, Dec 25, 2011 at 09:54:37AM +0900, Izumi Tsutsui wrote: > > On Sat, Dec 24, 2011 at 10:17:37PM +0900, Izumi Tsutsui wrote: > > > > > Log Message: > > > > > Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.c on arm and > > > > > gcc45 > > > > > for workaround of a possible optimazati

Re: CVS commit: src/lib/libc/net

2011-12-24 Thread Izumi Tsutsui
> On Sat, Dec 24, 2011 at 10:17:37PM +0900, Izumi Tsutsui wrote: > > > > Log Message: > > > > Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.c on arm and > > > > gcc45 > > > > for workaround of a possible optimazation bug. > > > > > > Please make sure this only is applied if the active

Re: CVS commit: src/lib/libc/net

2011-12-24 Thread Joerg Sonnenberger
On Sat, Dec 24, 2011 at 10:17:37PM +0900, Izumi Tsutsui wrote: > > > Log Message: > > > Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.c on arm and > > > gcc45 > > > for workaround of a possible optimazation bug. > > > > Please make sure this only is applied if the active CC is GCC. >

Re: CVS commit: src/lib/libc/net

2011-12-24 Thread Izumi Tsutsui
> > Log Message: > > Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.c on arm and gcc45 > > for workaround of a possible optimazation bug. > > Please make sure this only is applied if the active CC is GCC. Isn't this enough? --- .if defined(HAVE_GCC) && ${HAVE_GCC} == "45" && ${MACHINE_

Re: CVS commit: src/lib/libc/net

2011-12-24 Thread Joerg Sonnenberger
On Sat, Dec 24, 2011 at 04:59:00AM +, Izumi Tsutsui wrote: > Log Message: > Specify "-fno-tree-ter" to getaddrinfo.c and gethnamaddr.c on arm and gcc45 > for workaround of a possible optimazation bug. Please make sure this only is applied if the active CC is GCC. Joerg

Re: CVS commit: src/lib/libc/net

2010-12-07 Thread Christos Zoulas
In article <20101208020539.c6bd817...@cvs.netbsd.org>, Joerg Sonnenberger wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: joerg >Date: Wed Dec 8 02:05:39 UTC 2010 > >Modified Files: > src/lib/libc/net: nslexer.l > >Log Message: >input() is not used, so don't provide it. >

Re: CVS commit: src/lib/libc/net

2009-10-02 Thread Soren Jacobsen
On Oct 1, 2009, at 11:49 PM, Christoph Egger wrote: Index: src/lib/libc/net/getaddrinfo.3 diff -u src/lib/libc/net/getaddrinfo.3:1.47 src/lib/libc/net/ getaddrinfo.3:1.48 --- src/lib/libc/net/getaddrinfo.3:1.47 Fri Oct 2 02:45:29 2009 +++ src/lib/libc/net/getaddrinfo.3 Fri Oct 2 06:49:2

Re: CVS commit: src/lib/libc/net

2009-10-02 Thread Christoph Egger
Thomas Klausner wrote: > Module Name: src > Committed By: wiz > Date: Fri Oct 2 07:41:08 UTC 2009 > > Modified Files: > src/lib/libc/net: getaddrinfo.3 getaddrinfo.c gethnamaddr.c > > Log Message: > Revert a -> an changes: Adding an 'n' follows pronunciation, not writing. Thanks.