CVS commit: src/lib/libc/inet

2011-03-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Mar  6 16:00:20 UTC 2011

Modified Files:
src/lib/libc/inet: inet_net_pton.c

Log Message:
Check bits on each loop to prevent integer oveflow.
Reported by Maksymilian Arciemowicz


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/inet/inet_net_pton.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2011-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 22 18:21:58 UTC 2011

Modified Files:
src/lib/libc/inet: inet.3

Log Message:
document what size is.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/inet/inet.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2012-03-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Mar 20 17:08:13 UTC 2012

Modified Files:
src/lib/libc/inet: inet_cidr_pton.c inet_net_ntop.c inet_net_pton.c
inet_ntop.c

Log Message:
Use C89 definitions


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/inet/inet_cidr_pton.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/inet/inet_net_ntop.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/inet/inet_net_pton.c
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/inet/inet_ntop.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2012-07-20 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Fri Jul 20 13:40:58 UTC 2012

Modified Files:
src/lib/libc/inet: inet_net.3

Log Message:
- Use .Vt for variable types outside the SYNOPSIS section rather than .Ft
- Use .Fn for function names outside the NAME section rather than .Nm
- Mark NULL as a defined value (.Dv)
- New sentence new line
- Don't start sentences with an arugment name
- Use \- rather than a bare - for a minus sign
- Spelling: rightmost
- Stray whitespace
  (Most changes from FreeBSD)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/inet/inet_net.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2012-07-20 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Fri Jul 20 14:25:38 UTC 2012

Modified Files:
src/lib/libc/inet: inet.3

Log Message:
- Use .Vt for variable types outside the SYNOPSIS section rather than .Ft
- Use .Fn for function names outside the NAME section rather than .Nm


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/inet/inet.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2012-07-20 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Fri Jul 20 19:18:09 UTC 2012

Modified Files:
src/lib/libc/inet: inet.3

Log Message:
- Add ERRORS section covering errno values set by inet_ntop() and
  inet_pton()


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/inet/inet.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2012-07-20 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Fri Jul 20 19:44:39 UTC 2012

Modified Files:
src/lib/libc/inet: inet_net.3

Log Message:
- Add an ERRORS section rather than incompletely documenting the
  possible errno values in the DESCRIPTION section.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/inet/inet_net.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2012-07-20 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Jul 20 20:48:59 UTC 2012

Modified Files:
src/lib/libc/inet: inet_net.3

Log Message:
Whitespace fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/inet/inet_net.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2012-07-25 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Wed Jul 25 14:51:15 UTC 2012

Modified Files:
src/lib/libc/inet: inet.3

Log Message:
- Further clarify differences between inet_pton() and inet_aton()
  (i.e. the former only accepts decimal numbers; no octal or hex)
- Clarify that inet_network() does not do byte rearrangement for one,
  two, and three part dotted addresses ala inet_aton() and inet_addr().
- whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/inet/inet.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2018-03-01 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Fri Mar  2 06:31:53 UTC 2018

Modified Files:
src/lib/libc/inet: inet_ntop.c

Log Message:
PR/48585: Set errno when returning NULL for AF_INET

In inet_ntop4(), errno wasn't set before returning NULL.
Seems like an oversight in the existing fix for PR/48585.
Noticed by code inspection.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/inet/inet_ntop.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2014-02-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 10 16:30:54 UTC 2014

Modified Files:
src/lib/libc/inet: inet_ntop.c

Log Message:
remove unneeded code, and kill parens from return


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/inet/inet_ntop.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2014-02-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 10 16:29:30 UTC 2014

Modified Files:
src/lib/libc/inet: inet_ntop.c

Log Message:
PR/48585: Henning Petersen: Always set errno when returning NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/inet/inet_ntop.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2017-05-08 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue May  9 02:56:44 UTC 2017

Modified Files:
src/lib/libc/inet: inet_net_ntop.c

Log Message:
Avoid shift of negative signed integer. this is UB. NFC.

from gcc8, ok riastradh


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/inet/inet_net_ntop.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2018-12-13 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Dec 13 08:42:26 UTC 2018

Modified Files:
src/lib/libc/inet: inet_cidr_pton.c

Log Message:
Remove unused macro.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/inet/inet_cidr_pton.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/inet

2018-12-13 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Dec 13 08:44:11 UTC 2018

Modified Files:
src/lib/libc/inet: inet_net_pton.c

Log Message:
Remove unused macro.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/inet/inet_net_pton.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.