CVS commit: src/lib/libc/net

2024-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 7 21:04:43 UTC 2024 Modified Files: src/lib/libc/net: getservent.3 Log Message: getservent.3: fix format of day of month To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/net/getservent.3 Pleas

CVS commit: src/lib/libc/net

2024-09-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Sep 7 21:04:43 UTC 2024 Modified Files: src/lib/libc/net: getservent.3 Log Message: getservent.3: fix format of day of month To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/net/getservent.3 Pleas

CVS commit: src/lib/libc/net

2024-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 21:28:00 UTC 2024 Modified Files: src/lib/libc/net: getaddrinfo.3 Log Message: Document that freeaddrinfo(NULL) dumps core. A source code comment already said this, but it's easier to find in a man page. To generate a d

CVS commit: src/lib/libc/net

2024-02-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Feb 16 22:50:33 UTC 2024 Modified Files: src/lib/libc/net: getnameinfo.3 Log Message: getnameinfo(3): fix/prettify markup To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/lib/libc/net/getnameinfo.3 Please note

CVS commit: src/lib/libc/net

2024-02-16 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Feb 16 22:50:33 UTC 2024 Modified Files: src/lib/libc/net: getnameinfo.3 Log Message: getnameinfo(3): fix/prettify markup To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/lib/libc/net/getnameinfo.3 Please note

CVS commit: src/lib/libc/net

2024-02-15 Thread Joseph Koshy
Module Name:src Committed By: jkoshy Date: Thu Feb 15 15:08:23 UTC 2024 Modified Files: src/lib/libc/net: getnameinfo.3 Log Message: Document the NI_NUMERICSCOPE flag. PR lib/57832 To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/lib/libc/net/getnameinf

CVS commit: src/lib/libc/net

2024-02-15 Thread Joseph Koshy
Module Name:src Committed By: jkoshy Date: Thu Feb 15 15:08:23 UTC 2024 Modified Files: src/lib/libc/net: getnameinfo.3 Log Message: Document the NI_NUMERICSCOPE flag. PR lib/57832 To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/lib/libc/net/getnameinf

CVS commit: src/lib/libc/net

2024-01-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 21 12:58:10 UTC 2024 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Unwrap a line which wasn't wrapped before it had an __UNCONST() added to it, and now that that is gone again, doesn't need wrapping any more.

CVS commit: src/lib/libc/net

2024-01-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jan 21 12:58:10 UTC 2024 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Unwrap a line which wasn't wrapped before it had an __UNCONST() added to it, and now that that is gone again, doesn't need wrapping any more.

CVS commit: src/lib/libc/net

2024-01-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 20 16:18:56 UTC 2024 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Make the first argument of ip6_str2scopeid const, instead of __UNCONST. Thanks kre@. While here s/u_int32_t/uint32_t/ To generate a diff

CVS commit: src/lib/libc/net

2024-01-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 20 16:18:56 UTC 2024 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Make the first argument of ip6_str2scopeid const, instead of __UNCONST. Thanks kre@. While here s/u_int32_t/uint32_t/ To generate a diff

CVS commit: src/lib/libc/net

2023-12-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Dec 7 22:33:49 UTC 2023 Modified Files: src/lib/libc/net: sethostent.c Log Message: Fix a couple of (not very likely) memory leaks, reported by e...@google.com who attributed them: the malloc one was reported to Android (as

CVS commit: src/lib/libc/net

2023-12-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Dec 7 22:33:49 UTC 2023 Modified Files: src/lib/libc/net: sethostent.c Log Message: Fix a couple of (not very likely) memory leaks, reported by e...@google.com who attributed them: the malloc one was reported to Android (as

CVS commit: src/lib/libc/net

2023-09-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Sep 8 18:17:41 UTC 2023 Modified Files: src/lib/libc/net: getnameinfo.c Log Message: PR/57609: Carl Engvall: Add salen checks but accept larger sizes (upto sockaddr_storage) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/net

2023-09-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Sep 8 18:17:41 UTC 2023 Modified Files: src/lib/libc/net: getnameinfo.c Log Message: PR/57609: Carl Engvall: Add salen checks but accept larger sizes (upto sockaddr_storage) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/net

2022-12-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Dec 4 00:13:11 UTC 2022 Modified Files: src/lib/libc/net: getservent.3 Log Message: getservent(3): Section 3 has RETURN VALUES, not DIAGNOSTICS While here, don't claim that null pointer is zero. We should probably just pick th

CVS commit: src/lib/libc/net

2022-12-03 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Dec 4 00:13:11 UTC 2022 Modified Files: src/lib/libc/net: getservent.3 Log Message: getservent(3): Section 3 has RETURN VALUES, not DIAGNOSTICS While here, don't claim that null pointer is zero. We should probably just pick th

CVS commit: src/lib/libc/net

2022-12-03 Thread Jan Schaumann
Module Name:src Committed By: jschauma Date: Sat Dec 3 23:55:52 UTC 2022 Modified Files: src/lib/libc/net: getservent.3 Log Message: reference /var/db/services.cdb / services_mkdb(8) To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/net/getserve

CVS commit: src/lib/libc/net

2022-12-03 Thread Jan Schaumann
Module Name:src Committed By: jschauma Date: Sat Dec 3 23:55:52 UTC 2022 Modified Files: src/lib/libc/net: getservent.3 Log Message: reference /var/db/services.cdb / services_mkdb(8) To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/net/getserve

CVS commit: src/lib/libc/net

2022-03-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Mar 12 08:43:12 UTC 2022 Modified Files: src/lib/libc/net: getservent_r.c Log Message: getservent_r: use reallocarr CVSv -- To generate a diff of this commit:

CVS commit: src/lib/libc/net

2022-03-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Mar 12 08:43:12 UTC 2022 Modified Files: src/lib/libc/net: getservent_r.c Log Message: getservent_r: use reallocarr CVSv -- To generate a diff of this commit:

CVS commit: src/lib/libc/net

2022-03-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Mar 12 08:41:38 UTC 2022 Modified Files: src/lib/libc/net: getprotoent_r.c Log Message: getprotoent_r: use reallocarr To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/net/getprotoent_r.c Please note tha

CVS commit: src/lib/libc/net

2022-03-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Mar 12 08:41:38 UTC 2022 Modified Files: src/lib/libc/net: getprotoent_r.c Log Message: getprotoent_r: use reallocarr To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/net/getprotoent_r.c Please note tha

CVS commit: src/lib/libc/net

2021-10-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Oct 28 20:56:32 UTC 2021 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Fix typo in comment: allows, not alows. I don't know what an alow is, maybe some cousin of the alot. Awaiting a nature documentary by Al

CVS commit: src/lib/libc/net

2021-10-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Oct 28 20:56:32 UTC 2021 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: Fix typo in comment: allows, not alows. I don't know what an alow is, maybe some cousin of the alot. Awaiting a nature documentary by Al

CVS commit: src/lib/libc/net

2021-10-27 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 27 19:24:38 UTC 2021 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: getaddrinfo(3): malloc + memset -> calloc To generate a diff of this commit: cvs rdiff -u -r1.120 -r1.121 src/lib/libc/net/getaddrinfo.c Ple

CVS commit: src/lib/libc/net

2021-10-27 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 27 19:24:38 UTC 2021 Modified Files: src/lib/libc/net: getaddrinfo.c Log Message: getaddrinfo(3): malloc + memset -> calloc To generate a diff of this commit: cvs rdiff -u -r1.120 -r1.121 src/lib/libc/net/getaddrinfo.c Ple

CVS commit: src/lib/libc/net

2019-05-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 29 02:30:43 UTC 2019 Modified Files: src/lib/libc/net: rthdr.c Log Message: Fix typo(s/suppport/support/) in comment. From FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/net/rthdr.c

CVS commit: src/lib/libc/net

2019-05-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 29 02:30:43 UTC 2019 Modified Files: src/lib/libc/net: rthdr.c Log Message: Fix typo(s/suppport/support/) in comment. From FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libc/net/rthdr.c

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. >

CVS commit: src/lib/libc/net

2010-01-29 Thread Ignatios Souvatzis
Module Name:src Committed By: is Date: Fri Jan 29 22:26:48 UTC 2010 Modified Files: src/lib/libc/net: getnameinfo.c Log Message: Print AppleTalk phase 2 range, too, if available. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/lib/libc/net/getnameinfo.c

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.