CVS commit: src/lib/libc/gen

2021-08-06 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Aug  7 03:17:23 UTC 2021

Modified Files:
src/lib/libc/gen: signal.3

Log Message:
typo


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/gen/signal.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/gen

2021-07-11 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sun Jul 11 16:30:41 UTC 2021

Modified Files:
src/lib/libc/gen: initdir.c

Log Message:
Make sure dd_size is init'd, even when nothing has been read (so it
will be 0).   Reported on tech-userlevel by Mouse 20210711T044753+


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/gen/initdir.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/gen

2021-06-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jun 18 10:57:14 UTC 2021

Modified Files:
src/lib/libc/gen: vis.c

Log Message:
PR/56260: Alex Richardson: Out-of-bounds stack read in lib/libc/gen/vis.c
Also sync with other FreeBSD changes.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/lib/libc/gen/vis.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/gen

2021-05-24 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon May 24 23:59:59 UTC 2021

Modified Files:
src/lib/libc/gen: setjmp.3

Log Message:
Clarify what happens when you longjmp(..., 0).

Derived from C99 7.13.2.1 `The longjmp function'.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/gen/setjmp.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/gen

2021-05-03 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon May  3 08:30:30 UTC 2021

Modified Files:
src/lib/libc/gen: Makefile.inc

Log Message:
Whitespace police.


To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.213 src/lib/libc/gen/Makefile.inc

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



CVS commit: src/lib/libc/gen

2021-03-30 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Mar 30 15:31:51 UTC 2021

Modified Files:
src/lib/libc/gen: sysctl.c

Log Message:
libc/gen: fix hack for previously unsupported lint initializers

Supported since init.c 1.182 from 2021-03-30.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/lib/libc/gen/sysctl.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/gen

2021-02-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Feb 26 06:39:14 UTC 2021

Modified Files:
src/lib/libc/gen: endutent.3

Log Message:
Fix xref, add missing word.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/endutent.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/gen

2021-02-25 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Feb 26 04:28:15 UTC 2021

Modified Files:
src/lib/libc/gen: Makefile.inc

Log Message:
Add missing endutent.3 to MAN.


To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 src/lib/libc/gen/Makefile.inc

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



CVS commit: src/lib/libc/gen

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 26 03:19:34 UTC 2021

Modified Files:
src/lib/libc/gen: Makefile.inc

Log Message:
put back line accidentally removed.


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/lib/libc/gen/Makefile.inc

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



CVS commit: src/lib/libc/gen

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 26 03:05:01 UTC 2021

Modified Files:
src/lib/libc/gen: Makefile.inc
Added Files:
src/lib/libc/gen: endutent.3

Log Message:
PR/56012: Kouichi Hashikawa: getutent(3) man page is missing


To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207 src/lib/libc/gen/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/lib/libc/gen/endutent.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/gen

2021-02-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 21 16:33:23 UTC 2021

Modified Files:
src/lib/libc/gen: isascii.3

Log Message:
isascii.3: fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/gen/isascii.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/gen

2021-02-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Feb 17 23:51:04 UTC 2021

Modified Files:
src/lib/libc/gen: directory.3

Log Message:
Document that rewinddir(3) might either reopen or just lseek the dir.

(Currently it depends on the underlying directory, but documenting the
exact details seems inadvisable.)

Also, Someone(TM) should check if POSIX permits this or if we ought to
improve the implementation.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/lib/libc/gen/directory.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/gen

2021-02-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Feb 17 23:39:46 UTC 2021

Modified Files:
src/lib/libc/gen: directory.3

Log Message:
Fix some typos/malapropisms in directory(3).


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/lib/libc/gen/directory.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/gen

2020-08-20 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Aug 20 22:56:56 UTC 2020

Modified Files:
src/lib/libc/gen: signalname.3 signalnumber.c

Log Message:
When not compiling -DSMALL permit use of names RTMIN[+n] and RTMAX[-n]
(where n is a decimal integer in the range [0 .. SIGRTMAX-SIGRTMIN].
As usual a leading "sig" is ignored and the strings are case independent.

Some implementations do not name the real time signals, and using
labels like RTMIN+3 can be the only way they can be manipulated,
so allow that technique (we still return the RTnn names on the inverse
translation though).

Because this is used by both kill(1) and sh(1) the kill and trap
commands both gain access to the new notation (when !SMALL).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/signalname.3 \
src/lib/libc/gen/signalnumber.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/gen

2020-08-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Aug 18 19:18:06 UTC 2020

Modified Files:
src/lib/libc/gen: dehumanize_number.c

Log Message:
make sure errno is always set when we return -1 (Anon Ymous)


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/gen/dehumanize_number.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/gen

2020-07-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul  5 01:09:48 UTC 2020

Modified Files:
src/lib/libc/gen: Makefile.inc endutxent.3

Log Message:
revert previous; utmpxname is already documented in getlastlogx.3. Should
probably be moved.


To generate a diff of this commit:
cvs rdiff -u -r1.204 -r1.205 src/lib/libc/gen/Makefile.inc
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/gen/endutxent.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/gen

2020-07-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul  5 01:05:50 UTC 2020

Modified Files:
src/lib/libc/gen: Makefile.inc endutxent.3

Log Message:
document utmpxname(3)


To generate a diff of this commit:
cvs rdiff -u -r1.203 -r1.204 src/lib/libc/gen/Makefile.inc
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/gen/endutxent.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/gen

2020-06-02 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Jun  2 19:30:29 UTC 2020

Modified Files:
src/lib/libc/gen: timespec_get.3

Log Message:
timespec_get(3) was developed by myself

Remove FreeBSD from the authorship as it was just a pullup of small
documentation changes.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/gen/timespec_get.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/gen

2020-05-11 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Mon May 11 14:54:34 UTC 2020

Modified Files:
src/lib/libc/gen: posix_spawnp.c

Log Message:
Do as the manual says, and use _PATH_DEFPATH if PATH is not present in
the environment rather than simply turning into posix_spawn() in that case.

Also, we cannot use strtok() to parse PATH, the semantics don't fit the API.
Borrow the guts of execvp for the PATH search.

We still simply check for a file with 'x' permission, and assume that one
will do, whatever it is, which isn't really correct, but ...


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/gen/posix_spawnp.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/gen

2020-05-10 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun May 10 19:36:49 UTC 2020

Modified Files:
src/lib/libc/gen: Makefile.inc

Log Message:
Don't add getentropy.c to the build (remove symbol from libc)

Still being discussed in tech-userlevel. If we wait any longer someone
is going to try the excuse that the discussion is entirely pointless, since
removing symbols is too hard.


To generate a diff of this commit:
cvs rdiff -u -r1.202 -r1.203 src/lib/libc/gen/Makefile.inc

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



CVS commit: src/lib/libc/gen

2020-05-07 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu May  7 12:55:06 UTC 2020

Modified Files:
src/lib/libc/gen: getentropy.3

Log Message:
Fix macro usage. Fix typo. New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/getentropy.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/gen

2020-03-30 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Mar 30 22:14:48 UTC 2020

Modified Files:
src/lib/libc/gen: nlist.3

Log Message:
Add comma in enumeration.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gen/nlist.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/gen

2020-03-30 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Mar 30 20:37:04 UTC 2020

Modified Files:
src/lib/libc/gen: nlist.3

Log Message:
Mention elf rather than a.out some more.

(Also, inspired by freebsd, which removed the non-elf support)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gen/nlist.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/gen

2020-03-30 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Mar 30 20:35:12 UTC 2020

Modified Files:
src/lib/libc/gen: nlist.3

Log Message:
xref elf(5).


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/gen/nlist.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/gen

2020-03-30 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Mar 30 20:34:11 UTC 2020

Modified Files:
src/lib/libc/gen: nlist_private.h

Log Message:
Be less of a minefield for new architectures. They're not going to be a.out.
Remove sh5, long gone.
(Hopefully nothing hits the #else case)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/gen/nlist_private.h

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



CVS commit: src/lib/libc/gen

2020-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 15:30:25 UTC 2020

Modified Files:
src/lib/libc/gen: xsyslog.c

Log Message:
Add sysloglike attr.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/gen/xsyslog.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/gen

2020-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 14:18:50 UTC 2020

Modified Files:
src/lib/libc/gen: syslog_private.h

Log Message:
fix print-like attrs


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

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



CVS commit: src/lib/libc/gen

2020-03-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar  2 14:10:24 UTC 2020

Modified Files:
src/lib/libc/gen: xsyslog.c

Log Message:
PR/55041: Fix printf format in syslog(3) error message.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/gen/xsyslog.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/gen

2020-02-01 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Feb  1 15:38:46 UTC 2020

Modified Files:
src/lib/libc/gen: pthread_atfork.c

Log Message:
Switch atform allocations from malloc()+free() to mmap()+munmap()

This avoid bootstrapping malloc too early when libc+libpthread are not
ready. It is called through pthread__init() -> _pthread_atfork().

This also helps LLVM Leak Sanitizer to pacify false positive reports.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/gen/pthread_atfork.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/gen

2019-05-08 Thread Christoph Badura
Module Name:src
Committed By:   bad
Date:   Wed May  8 15:37:41 UTC 2019

Modified Files:
src/lib/libc/gen: unvis.3

Log Message:
Clarify that strunvisx() and strnunvisx() take the same flags as unvis().
Document VIS_NOESCAPE for unvis().
Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/gen/unvis.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/gen

2019-03-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Mar 12 22:21:53 UTC 2019

Modified Files:
src/lib/libc/gen: humanize_number.3

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gen/humanize_number.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/gen

2019-03-11 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Mon Mar 11 15:10:51 UTC 2019

Modified Files:
src/lib/libc/gen: humanize_number.3 humanize_number.c

Log Message:
PR lib/54053

When auto scaling, and the buffer is bigger than big enough
for the biggest possible number, don't try and calculate
the max value that will fit in the buffer - that calc
will overflow (guaranteed) and is useless, the value
we're formatting cannot possibly be bigger.  So simply
use the unscaled value (the raw number).

While here, also avoid returning values that are larger
than the buffer len ... while it would be nice to be able
to find out how big the buffer should be so the data will
fit, the interface doesn't really allow that (the buffer
length passed in controls the scaling - at least when
auto scaling) and the code already does "return -1" when
it detects the buffer length is too small, even before
it works out how much would have been needed.  So, rather
than returning a value > len (while truncating the result
to fit in len ... all courtesy of snprintf()) return -1
in this case as well.

Also, allow suffix==NULL (meaning "") - there's no reason
not to, and requiring users to pass in an explicit "" is
not useful.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/gen/humanize_number.3
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/gen/humanize_number.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/gen

2019-02-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 18 20:27:20 UTC 2019

Modified Files:
src/lib/libc/gen: devname.c

Log Message:
appease string + int warning.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/gen/devname.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/gen

2019-01-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 24 18:01:38 UTC 2019

Modified Files:
src/lib/libc/gen: popen.c

Log Message:
PR/53904: Jintao Zhu: Use a mutex instead of an rwlock to assure thread safety


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/libc/gen/popen.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/gen

2019-01-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jan 15 07:01:01 UTC 2019

Modified Files:
src/lib/libc/gen: ctype.3

Log Message:
Use \- for minus.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/gen/ctype.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/gen

2019-01-14 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan 15 03:43:15 UTC 2019

Modified Files:
src/lib/libc/gen: ctype.3

Log Message:
Fly, nasal demons, fly away...


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/gen/ctype.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/gen

2019-01-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 15 03:30:58 UTC 2019

Modified Files:
src/lib/libc/gen: ctype.3

Log Message:
Use the same variable for the locale example.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/gen/ctype.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/gen

2019-01-14 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan 15 01:23:49 UTC 2019

Modified Files:
src/lib/libc/gen: ctype.3

Log Message:
Don't talk about "the first argument" when there's only one.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/gen/ctype.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/gen

2019-01-14 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan 15 01:13:49 UTC 2019

Modified Files:
src/lib/libc/gen: ctype.3

Log Message:
Fix markup pasto.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/gen/ctype.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/gen

2019-01-14 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan 15 01:11:03 UTC 2019

Modified Files:
src/lib/libc/gen: ctype.3

Log Message:
Remove the extra cast to int in the CAVEATS example.
We removed it from EXAMPLES a few releases ago.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/gen/ctype.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/gen

2019-01-14 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan 15 00:43:32 UTC 2019

Modified Files:
src/lib/libc/gen: ctype.3

Log Message:
Fix typo in macro flag.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/gen/ctype.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/gen

2019-01-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jan 15 00:31:19 UTC 2019

Modified Files:
src/lib/libc/gen: ctype.3

Log Message:
Expand on correct and incorrect usage, and on compiler warnings.

Give an example program with the warning, and some example nonsense
outputs.  Also note why glibc's approach doesn't solve the problem.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/gen/ctype.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/gen

2018-09-26 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Sep 27 00:45:34 UTC 2018

Modified Files:
src/lib/libc/gen: dirname.c

Log Message:
HACK:   if calling dirname() with the results of a previous dirname()
there is no need to copy the path into the output buffer, it is already
there

All this has to change to become compat with a forthcoming POSIX update.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gen/dirname.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/gen

2018-09-06 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Sep  6 09:28:00 UTC 2018

Modified Files:
src/lib/libc/gen: sysctl.3

Log Message:
fix references, the things were moved into netipsec/ a while ago


To generate a diff of this commit:
cvs rdiff -u -r1.203 -r1.204 src/lib/libc/gen/sysctl.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/gen

2018-08-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Aug 13 06:08:48 UTC 2018

Modified Files:
src/lib/libc/gen: timespec_get.3

Log Message:
Sort SEE ALSO.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/gen/timespec_get.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/gen

2018-08-10 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Aug 10 20:35:52 UTC 2018

Modified Files:
src/lib/libc/gen: timespec_get.3

Log Message:
Merge FreeBSD improvements to the man-page of timespec_get(3)

Keep NetBSD references instead of FreeBSD ones included in the FreeBSD
version.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/timespec_get.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/gen

2018-07-25 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jul 26 00:05:28 UTC 2018

Modified Files:
src/lib/libc/gen: ftok.c

Log Message:
Avoid undefined behavior in ftok(3)

Do not change the signedness bit with a left shift operation.
Cast to unsigned integer to prevent this.

ftok.c:56:10, left shift of 123456789 by 24 places cannot be represented in 
type 'int'
ftok.c:56:10, left shift of 4160 by 24 places cannot be represented in type 
'int'

Detected with micro-UBSan in the user mode.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/gen/ftok.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/gen

2017-12-12 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Dec 13 06:43:46 UTC 2017

Modified Files:
src/lib/libc/gen: fmtcheck.c

Log Message:
Revert change made by rev 1.11; now, fmtcheck(3) does not complain about
unused trailing arguments as before.

See also discussion on tech-userland:
http://mail-index.netbsd.org/tech-userlevel/2017/12/07/msg011019.html


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/gen/fmtcheck.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/gen

2017-12-12 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Dec 12 14:13:52 UTC 2017

Modified Files:
src/lib/libc/gen: ctype.3

Log Message:
Add ctype to the NAME section (as this is a man page for ctype)
Remove rest of the names from the NAME section
(These names have their own individual man pages, as such it doesn't make sense
 to have their names in the NAME section in this man page as well. Moreover,
 we have been trying to fix such man pages so that apropos(1)/whatis(1) are
 able to search these man pages. Other examples of such fixed man pages include
 memory(3), string(3) etc.)

ok wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/gen/ctype.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/gen

2017-12-06 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Dec  6 16:38:22 UTC 2017

Modified Files:
src/lib/libc/gen: signal.3

Log Message:
The list of async-signal-safe functions got moved to sigaction(2).


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/gen/signal.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/gen

2017-12-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Dec  6 14:05:14 UTC 2017

Modified Files:
src/lib/libc/gen: fmtcheck.c

Log Message:
Fix possible use of uninitialized variable in case of WIN32 && !_WIN64.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/gen/fmtcheck.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/gen

2017-12-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Dec  6 12:32:02 UTC 2017

Modified Files:
src/lib/libc/gen: fmtcheck.c

Log Message:
Teach fmtcheck(3) about wint_t, intmax_t, char *, intmax_t *, and wide string
arguments. Taken from FreeBSD:
https://svnweb.freebsd.org/base/head/lib/libc/gen/fmtcheck.c#rev181154


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gen/fmtcheck.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/gen

2017-12-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Dec  6 12:30:27 UTC 2017

Modified Files:
src/lib/libc/gen: fmtcheck.c

Log Message:
Teach fmtcheck(3) about the ' (thousands separator) flag. Taken from FreeBSD:
https://svnweb.freebsd.org/base/head/lib/libc/gen/fmtcheck.c#rev143905


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gen/fmtcheck.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/gen

2017-12-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Dec  6 12:28:53 UTC 2017

Modified Files:
src/lib/libc/gen: fmtcheck.c

Log Message:
Teach fmtcheck(3) about the flags a, A, F, G, t, and z. Taken from FreeBSD:
https://svnweb.freebsd.org/base/head/lib/libc/gen/fmtcheck.c#rev117014


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/gen/fmtcheck.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/gen

2017-12-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Dec  6 11:33:35 UTC 2017

Modified Files:
src/lib/libc/gen: fmtcheck.c

Log Message:
Correct oversight of wrong format string with fewer number of arguments than
default format string has.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/gen/fmtcheck.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/gen

2017-11-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Nov 27 16:37:21 UTC 2017

Modified Files:
src/lib/libc/gen: vis.c

Log Message:
Use 16x instead of 4x the amount of space since each wint_t can result in
4 bytes of 4 characters ("\ooo") each.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/lib/libc/gen/vis.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/gen

2017-10-24 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Oct 24 19:14:55 UTC 2017

Modified Files:
src/lib/libc/gen: unvis.3

Log Message:
Add missing functions from the SYNOPSIS to the NAME section


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/gen/unvis.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/gen

2017-10-24 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Oct 24 19:07:13 UTC 2017

Modified Files:
src/lib/libc/gen: randomid.3

Log Message:
Use commas at the right places in the NAME section


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/gen/randomid.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/gen

2017-10-24 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Oct 24 19:04:58 UTC 2017

Modified Files:
src/lib/libc/gen: pwcache.3

Log Message:
Add missing functions from the SYNOPSIS to the NAME section


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/gen/pwcache.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/gen

2017-10-24 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Oct 24 18:54:03 UTC 2017

Modified Files:
src/lib/libc/gen: getgrouplist.3

Log Message:
Remove trailing comma after last Nm entry in the NAME section


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/gen/getgrouplist.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/gen

2017-10-24 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Oct 24 18:50:46 UTC 2017

Modified Files:
src/lib/libc/gen: getpass.3

Log Message:
Add getpass_r and getpassfd to the NAME section as well.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/gen/getpass.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/gen

2017-10-24 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Oct 24 18:42:06 UTC 2017

Modified Files:
src/lib/libc/gen: cgetcap.3

Log Message:
Fix typo: s/cexpandtc/csetexpandtc

The synopsis and description mention only csetexpandtc function.
nxr also only shows csetexpandtc while no matches for cexpandtc.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/gen/cgetcap.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/gen

2017-09-27 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Sep 27 18:55:50 UTC 2017

Modified Files:
src/lib/libc/gen: isnan.3

Log Message:
move VAX notes to CAVEATS, clarify.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/isnan.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/gen

2017-09-27 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Sep 27 09:04:30 UTC 2017

Modified Files:
src/lib/libc/gen: isinf.3

Log Message:
Move VAX notes to CAVEATS, clarify that it just returns zero

The VAX isinf implementation is in sys/arch/vax/include/math.h.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gen/isinf.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/gen

2017-09-18 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Sep 18 08:48:23 UTC 2017

Modified Files:
src/lib/libc/gen: exec.3

Log Message:
Remove superfluous Tn.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/gen/exec.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/gen

2017-09-17 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Sep 17 11:45:10 UTC 2017

Modified Files:
src/lib/libc/gen: exec.3

Log Message:
Add execlpe and execvpe to the NAME section


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/gen/exec.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/gen

2017-09-10 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Sep 10 10:12:43 UTC 2017

Modified Files:
src/lib/libc/gen: devname.3

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/gen/devname.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/gen

2017-09-10 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Sep 10 10:12:21 UTC 2017

Modified Files:
src/lib/libc/gen: devname.3

Log Message:
Sort sections. Make error descriptions complete sentences.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/gen/devname.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/gen

2017-09-09 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sun Sep 10 00:49:40 UTC 2017

Modified Files:
src/lib/libc/gen: devname.3

Log Message:
Fix a typo, and some wording improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/gen/devname.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/gen

2017-09-09 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Sep  9 18:45:04 UTC 2017

Modified Files:
src/lib/libc/gen: devname.3

Log Message:
Remove the BUGS section from devname(3)

devname(3) does not report type of error on purpose.

Suggested by 


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gen/devname.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/gen

2017-09-09 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Sep  9 18:00:40 UTC 2017

Modified Files:
src/lib/libc/gen: devname.3

Log Message:
Document devname_r(3) in devname(3).

Improve clarity of devname(3) mentioning that it returns a pointer to the
buffer pointer. This approach is not thread-safe and not reentrant.

Not that devname(3) does not set errno on failure and document it as a bug.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gen/devname.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/gen

2017-08-05 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Aug  5 20:22:29 UTC 2017

Modified Files:
src/lib/libc/gen: vis.3

Log Message:
Remove superfluous Pp.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/lib/libc/gen/vis.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/gen

2017-08-03 Thread Brian Ginsbach
Module Name:src
Committed By:   ginsbach
Date:   Fri Aug  4 01:06:22 UTC 2017

Modified Files:
src/lib/libc/gen: vis.3

Log Message:
There are more than four types of encoding.  The combination of
VIS_CSTYLE | VIS_OCTAL is different from either separately.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/lib/libc/gen/vis.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/gen

2017-05-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon May 15 16:09:09 UTC 2017

Modified Files:
src/lib/libc/gen: assert.c

Log Message:
Don't make assert use stdio; saves >100K on an empty static binary.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/gen/assert.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/gen

2017-05-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun May 14 12:35:47 UTC 2017

Modified Files:
src/lib/libc/gen: signalname.3

Log Message:
Formatting and punctuation improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/signalname.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/gen

2017-05-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon May  8 14:42:16 UTC 2017

Modified Files:
src/lib/libc/gen: glob.c

Log Message:
use the symbolic M_ALL and trim with M_MASK


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/lib/libc/gen/glob.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/gen

2017-04-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Apr 26 14:56:54 UTC 2017

Modified Files:
src/lib/libc/gen: glob.c

Log Message:
Switch from a recursive pattern matching algorithm to handle '*'
to a backtracking one. Avoids DoS attacks with patterns "a*a*a*a*a*...b"
matching against "..." https://research.swtch.com/glob


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/lib/libc/gen/glob.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/gen

2017-04-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 23 13:23:02 UTC 2017

Modified Files:
src/lib/libc/gen: vis.3

Log Message:
fix typo (Leonardo Taccari)


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/lib/libc/gen/vis.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/gen

2017-04-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 23 01:58:48 UTC 2017

Modified Files:
src/lib/libc/gen: vis.3 vis.c

Log Message:
Add VIS_DQ (for OpenBSD compat)


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/lib/libc/gen/vis.3
cvs rdiff -u -r1.72 -r1.73 src/lib/libc/gen/vis.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/gen

2017-04-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Apr 18 12:34:07 UTC 2017

Modified Files:
src/lib/libc/gen: xsyslog.c

Log Message:
always initialize iovcnt

from clang static analyzer


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/gen/xsyslog.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/gen

2017-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr 13 17:45:56 UTC 2017

Modified Files:
src/lib/libc/gen: humanize_number.c

Log Message:
Fix out of bounds read for very large numbers (pointed out by Brooks Davis)
https://svnweb.freebsd.org/changeset/base/316766


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/gen/humanize_number.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/gen

2017-03-23 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Mar 23 12:31:57 UTC 2017

Modified Files:
src/lib/libc/gen: syslog.3

Log Message:
Remove trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libc/gen/syslog.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/gen

2017-03-22 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Wed Mar 22 19:36:04 UTC 2017

Modified Files:
src/lib/libc/gen: xsyslog.c

Log Message:
Unbreak build, init variable (not a false alarm for this one.)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/gen/xsyslog.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/gen

2017-03-09 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Mar  9 11:39:41 UTC 2017

Modified Files:
src/lib/libc/gen: extattr.c

Log Message:
Remove redundant null check before free. it is safe to free(NULL)
While here, clear up odd whitespace issue. NFC


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/gen/extattr.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/gen

2017-03-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Mar  6 09:24:09 UTC 2017

Modified Files:
src/lib/libc/gen: realpath.3

Log Message:
Improve grammar.  Pointed out by Timo Buhrmester on netbsd-docs list.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/gen/realpath.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/gen

2017-02-21 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Feb 21 19:53:20 UTC 2017

Modified Files:
src/lib/libc/gen: popen.3

Log Message:
Use Fn for function name.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/gen/popen.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/gen

2017-02-21 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue Feb 21 18:22:15 UTC 2017

Modified Files:
src/lib/libc/gen: syslog.3

Log Message:
Fix spelling of "parenthesis".


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/gen/syslog.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/gen

2017-02-12 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 12 22:37:49 UTC 2017

Modified Files:
src/lib/libc/gen: vis.c

Log Message:
fix off-by-one, found by asan.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/lib/libc/gen/vis.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/gen

2017-01-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 15 16:41:39 UTC 2017

Modified Files:
src/lib/libc/gen: syslog_ss.c

Log Message:
fix *syslog_ss*


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/syslog_ss.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/gen

2017-01-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jan 14 22:19:29 UTC 2017

Modified Files:
src/lib/libc/gen: getpwent.c

Log Message:
don't include machine/param.h  already does WTF?


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/lib/libc/gen/getpwent.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/gen

2017-01-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 12 01:58:39 UTC 2017

Modified Files:
src/lib/libc/gen: syslog.c syslog_private.h syslog_ss.c xsyslog.c

Log Message:
A little more restructuring so that we don't need mutex stuff in syslog_ss.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/lib/libc/gen/syslog.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/syslog_private.h \
src/lib/libc/gen/syslog_ss.c src/lib/libc/gen/xsyslog.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/gen

2017-01-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 12 00:38:01 UTC 2017

Modified Files:
src/lib/libc/gen: Makefile.inc syslog.c
Added Files:
src/lib/libc/gen: syslog_private.h syslog_ss.c xsyslog.c

Log Message:
Split syslog.c to:

- syslog_ss.c *_ss api functions (don't use stdio, time)
- syslog.c: *syslog* non _ss api functions (use stdio, time)
- xsyslog.c> common guts.

The motivation for this is not to drag in stdio/locale/floating point/time
for every binary, since syslog_ss() is used in __stack_check_fail() for SSP.


To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197 src/lib/libc/gen/Makefile.inc
cvs rdiff -u -r1.55 -r1.56 src/lib/libc/gen/syslog.c
cvs rdiff -u -r0 -r1.1 src/lib/libc/gen/syslog_private.h \
src/lib/libc/gen/syslog_ss.c src/lib/libc/gen/xsyslog.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/gen

2017-01-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 10 17:46:47 UTC 2017

Modified Files:
src/lib/libc/gen: sysctl.c

Log Message:
simplify cast.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/libc/gen/sysctl.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/gen

2017-01-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 10 17:45:58 UTC 2017

Modified Files:
src/lib/libc/gen: asysctl.c

Log Message:
cast for size_t


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/asysctl.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/gen

2016-12-26 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Mon Dec 26 10:16:43 UTC 2016

Modified Files:
src/lib/libc/gen: getpwent.3

Log Message:
Add missing full stop.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/lib/libc/gen/getpwent.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/gen

2016-12-17 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Dec 17 10:25:49 UTC 2016

Modified Files:
src/lib/libc/gen: scandir.3

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/gen/scandir.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/gen

2016-12-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Dec 10 14:13:29 UTC 2016

Modified Files:
src/lib/libc/gen: exec.3

Log Message:
Fix typo; ".Lx" should be ".Nx"


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/gen/exec.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/gen

2016-10-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Oct  4 12:48:15 UTC 2016

Modified Files:
src/lib/libc/gen: timespec_get.c

Log Message:
return 0 on unsupported bases.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/timespec_get.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/gen

2016-10-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Oct  4 10:46:40 UTC 2016

Modified Files:
src/lib/libc/gen: timespec_get.3

Log Message:
Fix xref.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/timespec_get.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/gen

2016-09-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Sep 30 06:22:21 UTC 2016

Modified Files:
src/lib/libc/gen: sysctlgetmibinfo.c

Log Message:
Be more careful about preserving errno. Might conceivably be related
to PR 51432.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gen/sysctlgetmibinfo.c

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



  1   2   3   4   5   >