CVS commit: src/lib/libutil

2021-05-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun May 16 19:42:35 UTC 2021 Modified Files: src/lib/libutil: parsedate.3 Log Message: PR bin/56042 Fix typos (2nd acst should have been acdt), 0550 for ist should be 0530 (5.5 hours is not 5 hours and 50 minutes...). Comment out t

CVS commit: src/lib/libutil

2020-10-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Oct 30 22:03:11 UTC 2020 Modified Files: src/lib/libutil: parsedate.y Log Message: PR lib/46542 Add checks to detect overflow, and also detect other invalid (out of range) inputs for parsedate(). There could be more, and some o

CVS commit: src/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 17:47:45 UTC 2020 Modified Files: src/lib/libutil: parsedate.y Log Message: Check the year field of a tentative ISO-8601 date format for overflow before committing to it being an 8601 format date, rather than after (or the

CVS commit: src/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 15:08:39 UTC 2020 Modified Files: src/lib/libutil: parsedate.3 Log Message: Catch the parsedate man page up with recent updates, ans also include some general improvements I've had kicking around for a long time, but never

CVS commit: src/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 15:08:17 UTC 2020 Modified Files: src/lib/libutil: parsedate.y Log Message: For touch -d (which uses parsedate()) POSIX specifies that the ISO-8601 format -mm-ddTHH:MM:SS[radix_and+frac][Z] be accepted. We didn't hand

CVS commit: src/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 15:05:53 UTC 2020 Modified Files: src/lib/libutil: parsedate.y Log Message: POSIX requires that when converting 2 digit year representations to actual specific years, values from 69-99 be treated as 20th century, and value

CVS commit: src/lib/libutil

2020-07-30 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Jul 30 21:23:36 UTC 2020 Modified Files: src/lib/libutil: snprintb.3 Log Message: Fix grammar. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/lib/libutil/snprintb.3 Please note that diffs are not public doma

CVS commit: src/lib/libutil

2020-03-30 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Mar 30 08:24:36 UTC 2020 Modified Files: src/lib/libutil: pidlock.c Log Message: fail to create a pidfile if hostname contains '/' To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libutil/pidlock.c Please

CVS commit: src/lib/libutil

2019-12-07 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat Dec 7 12:47:07 UTC 2019 Modified Files: src/lib/libutil: snprintb.3 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libutil/snprintb.3 Please note that diffs are

CVS commit: src/lib/libutil

2019-12-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 6 19:31:52 UTC 2019 Modified Files: src/lib/libutil: snprintb.3 Log Message: Correct the man page, and say that the printf(3) format characters need to be uintmax_t. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/lib/libutil

2019-04-27 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat Apr 27 17:58:51 UTC 2019 Modified Files: src/lib/libutil: snprintb.3 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libutil/snprintb.3 Please note that diffs are

CVS commit: src/lib/libutil

2019-04-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Apr 27 17:48:13 UTC 2019 Modified Files: src/lib/libutil: snprintb.3 Log Message: remove dup line To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libutil/snprintb.3 Please note that diffs are not pub

CVS commit: src/lib/libutil

2019-04-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Apr 27 17:46:08 UTC 2019 Modified Files: src/lib/libutil: snprintb.3 Log Message: Document the '*' field and give a more complex example with F and *. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/l

CVS commit: src/lib/libutil

2018-12-28 Thread Alexander Nasonov
Module Name:src Committed By: alnsn Date: Fri Dec 28 18:44:11 UTC 2018 Modified Files: src/lib/libutil: getfsspecname.3 Log Message: Document "ROOT." syntax before documenting a generic . To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libutil/getfssp

CVS commit: src/lib/libutil

2018-12-27 Thread Alexander Nasonov
Module Name:src Committed By: alnsn Date: Thu Dec 27 21:35:48 UTC 2018 Modified Files: src/lib/libutil: getfsspecname.c Log Message: No need to quadruple a buffer because strunvis(3) doesn't expand. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libu

CVS commit: src/lib/libutil

2018-10-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Oct 6 23:48:00 UTC 2018 Modified Files: src/lib/libutil: getfsspecname.c Log Message: use the right type. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libutil/getfsspecname.c Please note that diffs

CVS commit: src/lib/libutil

2018-06-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jun 24 09:30:26 UTC 2018 Modified Files: src/lib/libutil: pty.c Log Message: Fix stack use after scope in libutil/pty The pt variable's elements are used after the end of the pt scope. A move of pt to outer scope fixes this.

CVS commit: src/lib/libutil

2018-06-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jun 24 01:53:14 UTC 2018 Modified Files: src/lib/libutil: passwd.c Log Message: Prevent underflow buffer read in trim_whitespace() in libutil/passwd.c If a string is empty or contains only white characters, the algorithm of re

CVS commit: src/lib/libutil

2018-04-05 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Apr 5 11:07:00 UTC 2018 Modified Files: src/lib/libutil: opendisk.3 Log Message: Use mdoc macros. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libutil/opendisk.3 Please note that diffs are not public

CVS commit: src/lib/libutil

2017-10-22 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Oct 23 01:05:10 UTC 2017 Modified Files: src/lib/libutil: pidlock.3 Log Message: Sort errors. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libutil/pidlock.3 Please note that diffs are not public domain

CVS commit: src/lib/libutil

2017-10-22 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Oct 22 16:59:18 UTC 2017 Modified Files: src/lib/libutil: snprintb.3 Log Message: Add snprintb_m to the NAME section. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libutil/snprintb.3 Please note tha

CVS commit: src/lib/libutil

2017-10-22 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Oct 22 16:55:32 UTC 2017 Modified Files: src/lib/libutil: pidfile.3 Log Message: Add missing functions to the NAME section To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libutil/pidfile.3 Please note

CVS commit: src/lib/libutil

2017-03-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Mar 30 20:00:21 UTC 2017 Modified Files: src/lib/libutil: util.3 Log Message: Use Sy to highlight the table header. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/lib/libutil/util.3 Please note that diff

CVS commit: src/lib/libutil

2017-03-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Mar 30 19:56:36 UTC 2017 Modified Files: src/lib/libutil: util.3 Log Message: Add missing functions To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libutil/util.3 Please note that diffs are not public

CVS commit: src/lib/libutil

2017-03-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Mar 30 19:41:41 UTC 2017 Modified Files: src/lib/libutil: getmntopts.3 Log Message: Add getmntoptstr, getmntoptnum, and freemntopts to the NAME section Fix couple of sentences getmntoptstr, getmntoptnum, and freemntopts need

CVS commit: src/lib/libutil

2017-03-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Mar 30 19:23:06 UTC 2017 Modified Files: src/lib/libutil: getdiskrawname.3 Log Message: Add getdiskcookedname to the NAME section Fix couple of typos. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libu

CVS commit: src/lib/libutil

2017-03-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 22 18:17:42 UTC 2017 Modified Files: src/lib/libutil: parsedate.3 parsedate.y Log Message: parsedate.y: meaningless KNF of a comment (no code changes) parsedate.3: add an item in BUGS noting the weirdness of "next" The rea

CVS commit: src/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 22 01:49:37 UTC 2017 Modified Files: src/lib/libutil: parsedate.3 parsedate.y Log Message: Make parsedate handle "12 noon" and "12 midnight" (including when the time is "12:00" or "12:00:00) - but only for exactly 12 o'clock.

CVS commit: src/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 22 00:59:06 UTC 2017 Modified Files: src/lib/libutil: parsedate.y Log Message: Fix PR lib/52101 -- 12:30 am is 00:30:00 and 12:30 pm is 12:30:00 To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libutil/

CVS commit: src/lib/libutil

2017-01-28 Thread Soren Jacobsen
Module Name:src Committed By: snj Date: Sun Jan 29 05:13:55 UTC 2017 Modified Files: src/lib/libutil: opendisk.3 Log Message: new lookup order will be in 7.1 before 8.0 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libutil/opendisk.3 Please note

CVS commit: src/lib/libutil

2016-12-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Dec 29 18:30:55 UTC 2016 Modified Files: src/lib/libutil: Makefile sockaddr_snprintf.c Log Message: Make this portable to other OSs To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/lib/libutil/Makefile cvs

CVS commit: src/lib/libutil

2016-12-22 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Fri Dec 23 06:01:42 UTC 2016 Modified Files: src/lib/libutil: parsedate.3 Log Message: Complete a sentence and replace full stop with a comma at one place as the sentence wasn't finished To generate a diff of this commit: cvs r

CVS commit: src/lib/libutil

2016-06-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Jun 26 07:09:24 UTC 2016 Modified Files: src/lib/libutil: parsedate.3 parsedate.y Log Message: Remove dawn/sunup/sunset/sundown (sunrise was never there...) If 06:00 or 18:00 are wanted, just say "06:00" (etc). If these are ever

CVS commit: src/lib/libutil

2016-06-07 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Jun 7 11:20:45 UTC 2016 Modified Files: src/lib/libutil: opendisk.3 Log Message: Fix typo. Sort errors. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libutil/opendisk.3 Please note that diffs are not p

CVS commit: src/lib/libutil

2016-06-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 6 17:50:19 UTC 2016 Modified Files: src/lib/libutil: opendisk.3 opendisk.c Log Message: PR/51216: Instead of trying to open files in the current working directory first for paths that don't contain "/", first try the /d

CVS commit: src/lib/libutil

2016-06-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jun 1 22:58:52 UTC 2016 Modified Files: src/lib/libutil: sockaddr_snprintf.c Log Message: Use NULL instead of 0. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libutil/sockaddr_snprintf.c Please no

CVS commit: src/lib/libutil

2016-05-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 3 18:14:55 UTC 2016 Modified Files: src/lib/libutil: parsedate.y Log Message: Make relative date changes ("+ 2 months") etc, work a little more sanely. OK christos@ To generate a diff of this commit: cvs rdiff -u -r1.27 -

CVS commit: src/lib/libutil

2016-04-12 Thread Roy Marples
Module Name:src Committed By: roy Date: Tue Apr 12 20:40:43 UTC 2016 Modified Files: src/lib/libutil: pidfile.c Log Message: Removed botched debug left over. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libutil/pidfile.c Please note that diffs a

CVS commit: src/lib/libutil

2016-04-12 Thread Roy Marples
Module Name:src Committed By: roy Date: Tue Apr 12 20:36:35 UTC 2016 Modified Files: src/lib/libutil: pidfile.c Log Message: Fix pidfile location path rules to match prior version. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libutil/pidfile.c P

CVS commit: src/lib/libutil

2016-04-11 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Apr 11 08:49:57 UTC 2016 Modified Files: src/lib/libutil: pidfile.3 Log Message: Add serial commas. Fix minus. Sort SEE ALSO. Fix xref. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libutil/pidfile.3 Pl

CVS commit: src/lib/libutil

2016-04-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 6 18:08:16 UTC 2016 Modified Files: src/lib/libutil: sockaddr_snprintf.c Log Message: pretty-print link addresses. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libutil/sockaddr_snprintf.c Ple

CVS commit: src/lib/libutil

2016-01-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 25 18:14:04 UTC 2016 Modified Files: src/lib/libutil: getbootfile.c Log Message: prefer instead of To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libutil/getbootfile.c Please note that diffs are

CVS commit: src/lib/libutil

2015-12-31 Thread David A. Holland
Module Name:src Committed By: dholland Date: Thu Dec 31 10:52:06 UTC 2015 Modified Files: src/lib/libutil: parsedate.y Log Message: When computing relative months, use mktime() directly and don't call our Convert(). And check it for failure. This fixes three sets of proble

CVS commit: src/lib/libutil

2015-12-31 Thread David A. Holland
Module Name:src Committed By: dholland Date: Thu Dec 31 10:31:07 UTC 2015 Modified Files: src/lib/libutil: parsedate.y Log Message: Always use localtime_r; I don't think any of this code is tripping itself up, but it's still good practice for library functions to not trash

CVS commit: src/lib/libutil

2015-12-31 Thread David A. Holland
Module Name:src Committed By: dholland Date: Thu Dec 31 09:12:58 UTC 2015 Modified Files: src/lib/libutil: parsedate.y Log Message: Reformat grammar part according to my standards for yacc grammars. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/li

CVS commit: src/lib/libutil

2015-12-10 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Dec 10 21:32:35 UTC 2015 Modified Files: src/lib/libutil: parsedate.3 Log Message: Markup improvements. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libutil/parsedate.3 Please note that diffs are not p

CVS commit: src/lib/libutil

2015-12-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 8 12:51:21 UTC 2015 Modified Files: src/lib/libutil: parsedate.3 Log Message: more changes I forgot to commit To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/lib/libutil/parsedate.3 Please note that

CVS commit: src/lib/libutil

2015-12-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 8 12:51:04 UTC 2015 Modified Files: src/lib/libutil: parsedate.y Log Message: preserve a copy of the tm so we can check later. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/lib/libutil/parsedate.y

CVS commit: src/lib/libutil

2015-12-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 7 20:55:49 UTC 2015 Modified Files: src/lib/libutil: parsedate.3 parsedate.y Log Message: - Add support for "midnight" "noon", dawn etc. - Add validation to date/time strings by checking that mktime did not change the

CVS commit: src/lib/libutil

2015-12-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 6 14:43:59 UTC 2015 Modified Files: src/lib/libutil: parsedate.y Log Message: Fix west australia offset, from kre To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libutil/parsedate.y Please note

CVS commit: src/lib/libutil

2015-11-26 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Nov 26 09:48:21 UTC 2015 Modified Files: src/lib/libutil: parsedate.3 Log Message: Sort sections. Mark up NULL. End Bl with El. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libutil/parsedate.3 Please n

CVS commit: src/lib/libutil

2015-11-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 26 01:00:54 UTC 2015 Modified Files: src/lib/libutil: parsedate.3 Log Message: Fix documentation inconsistencies, and add some clarifications (from kre) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src

CVS commit: src/lib/libutil

2015-11-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 26 01:00:02 UTC 2015 Modified Files: src/lib/libutil: parsedate.y Log Message: Patch from kre: - fix missing/inconsistent abbreviations - set dst only if we are using localtime. - properly check for errors where there we

CVS commit: src/lib/libutil

2015-10-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 29 20:29:24 UTC 2015 Modified Files: src/lib/libutil: login_cap.c Log Message: Correct typos in comments Pointed out by Edgar Fuss and J. Lewis Muir. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/

CVS commit: src/lib/libutil

2015-09-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Sep 26 20:28:55 UTC 2015 Modified Files: src/lib/libutil: kinfo_getvmmap.c Log Message: need uvm_param.h now. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libutil/kinfo_getvmmap.c Please note that d

CVS commit: src/lib/libutil

2015-09-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 24 15:30:39 UTC 2015 Modified Files: src/lib/libutil: kinfo_getvmmap.c Log Message: Hello lint. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libutil/kinfo_getvmmap.c Please note that diffs are n

CVS commit: src/lib/libutil

2015-09-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 24 14:39:20 UTC 2015 Modified Files: src/lib/libutil: Makefile shlib_version Added Files: src/lib/libutil: kinfo_getvmmap.3 kinfo_getvmmap.c Log Message: Add kinfo_getvmmap from FreeBSD To generate a diff of th

CVS commit: src/lib/libutil

2015-07-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jul 26 17:37:38 UTC 2015 Modified Files: src/lib/libutil: efun.3 Log Message: Bump date for recent changes To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libutil/efun.3 Please note that diffs are not p

CVS commit: src/lib/libutil

2015-07-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jul 26 17:36:38 UTC 2015 Modified Files: src/lib/libutil: efun.3 Log Message: Sync parameter name with efun.c This change is non-functional. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libutil/efun.

CVS commit: src/lib/libutil

2015-06-13 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Jun 13 19:52:58 UTC 2015 Modified Files: src/lib/libutil: getfsspecname.3 Log Message: grammar patrol To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libutil/getfsspecname.3 Please note that diffs are

CVS commit: src/lib/libutil

2015-01-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jan 22 19:04:28 UTC 2015 Modified Files: src/lib/libutil: pidfile.c Log Message: s/basename/bname/ To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libutil/pidfile.c Please note that diffs are not pub

CVS commit: src/lib/libutil

2015-01-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jan 22 16:19:08 UTC 2015 Modified Files: src/lib/libutil: pidfile.c Log Message: - not all asprintfs return -1 *and* set buf = NULL, check explicitly. - don't shadow basename(3) To generate a diff of this commit: cvs rdiff

CVS commit: src/lib/libutil

2015-01-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 18 18:09:36 UTC 2015 Modified Files: src/lib/libutil: Makefile efun.3 efun.c Log Message: add estro{i,u} (Kamil Rytarowski) To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/lib/libutil/Makefile cvs rdi

CVS commit: src/lib/libutil

2014-10-08 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Oct 8 22:10:04 UTC 2014 Modified Files: src/lib/libutil: parsedate.3 Log Message: Drop trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libutil/parsedate.3 Please note that diffs are

CVS commit: src/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src Committed By: apb Date: Wed Oct 8 17:38:28 UTC 2014 Modified Files: src/lib/libutil: parsedate.y Log Message: Improved handling of local times. * A magic value USE_LOCAL_TIME (defined as 9) may be passed as the Timezone to Convert(), instructing it

CVS commit: src/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src Committed By: apb Date: Wed Oct 8 17:06:18 UTC 2014 Modified Files: src/lib/libutil: parsedate.3 Log Message: The tzoff argument is in minutes (behind/west of UTC), not seconds. While here, also say that time = NULL and tzoff = NULL are independent. The c

CVS commit: src/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src Committed By: apb Date: Wed Oct 8 14:43:48 UTC 2014 Modified Files: src/lib/libutil: parsedate.y Log Message: Add a new non-terminal "time_numericzone" for a time with a numeric timezone. Move some productions from "time" to "time_numericzone". Increment

CVS commit: src/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src Committed By: apb Date: Wed Oct 8 14:32:29 UTC 2014 Modified Files: src/lib/libutil: parsedate.y Log Message: A time like HH:MM:SS.sss says nothing about whether DST is on or off. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libu

CVS commit: src/lib/libutil

2014-10-07 Thread Alan Barrett
Module Name:src Committed By: apb Date: Tue Oct 7 22:39:32 UTC 2014 Modified Files: src/lib/libutil: parsedate.3 Log Message: Document that years in ISO 8601 dates are taken literally. "69-09-10" is in the year 69, not 2069. To generate a diff of this commit: cvs rdiff

CVS commit: src/lib/libutil

2014-10-07 Thread Alan Barrett
Module Name:src Committed By: apb Date: Tue Oct 7 22:27:14 UTC 2014 Modified Files: src/lib/libutil: parsedate.y Log Message: Some years don't need the "maybe add 1900 or 2000" adjustment that was designed for handling two-digit abbreviated years. For example, "1/2/70" st

CVS commit: src/lib/libutil

2014-09-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 29 21:04:52 UTC 2014 Modified Files: src/lib/libutil: opendisk.c Log Message: toolify opendisk To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libutil/opendisk.c Please note that diffs are not pu

CVS commit: src/lib/libutil

2014-09-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 17 23:54:42 UTC 2014 Modified Files: src/lib/libutil: getdiskrawname.c Log Message: KNF, sign cast. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libutil/getdiskrawname.c Please note that diffs a

CVS commit: src/lib/libutil

2014-09-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Sep 12 11:38:23 UTC 2014 Modified Files: src/lib/libutil: getdiskrawname.c Log Message: use the passed parameter instead of PATH_MAX. Change signedness of nlen. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 sr

CVS commit: src/lib/libutil

2014-09-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Sep 12 07:59:37 UTC 2014 Modified Files: src/lib/libutil: getdiskrawname.c Log Message: - use a private buffer to resolve symlinks, the previous code was broken - factored out symlink handling - handle relative symlinks now -

CVS commit: src/lib/libutil

2014-08-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 18 07:33:21 UTC 2014 Modified Files: src/lib/libutil: getfsspecname.3 Log Message: fix param name To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libutil/getfsspecname.3 Please note that diffs are

CVS commit: src/lib/libutil

2014-05-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 25 13:46:07 UTC 2014 Modified Files: src/lib/libutil: getfsspecname.c Log Message: In COMPAT_DKWEDGE, attempt to open the label as specified in the NAME= entry. This works for BSD disklabels, providing full compatibility

CVS commit: src/lib/libutil

2013-12-31 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Dec 31 12:58:02 UTC 2013 Modified Files: src/lib/libutil: sockaddr_snprintf.c Log Message: Use output buffer size to limit copy-out of sun_path. Otherwise you may get a buffer overflow with strlcpy :) To generate a diff of

CVS commit: src/lib/libutil

2013-12-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Dec 22 14:31:51 UTC 2013 Modified Files: src/lib/libutil: getdiskrawname.c Log Message: Resolve symlinks and cook the targets instead of the symlink names. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib

CVS commit: src/lib/libutil

2013-08-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Aug 7 23:22:28 UTC 2013 Modified Files: src/lib/libutil: snprintb.3 Log Message: Update example using hex-escape-sequences to conform to gcc parsing rules. (See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167 for details.

CVS commit: src/lib/libutil

2013-08-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Aug 7 22:51:59 UTC 2013 Modified Files: src/lib/libutil: snprintb.3 Log Message: Add an example using snprintb_m() Replace \*[Gt] and \*[Lt] with the simple characters > and < (OK wiz) XXX Note that the examples currently

CVS commit: src/lib/libutil

2013-06-23 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Jun 23 08:38:41 UTC 2013 Modified Files: src/lib/libutil: login_cap.3 Log Message: Put code example on its own line, using Dl. Ok christos To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libutil/login_cap.

CVS commit: src/lib/libutil

2013-06-21 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jun 21 08:18:25 UTC 2013 Modified Files: src/lib/libutil: login_cap.3 Log Message: Punctuation nit. (Shouldn't the whole line be .Dl or .Bl -literal instead?) To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/li

CVS commit: src/lib/libutil

2013-06-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 20 20:42:30 UTC 2013 Modified Files: src/lib/libutil: Makefile login_cap.3 Log Message: document login_getpwclass(3) To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/lib/libutil/Makefile cvs rdiff -u -

CVS commit: src/lib/libutil

2013-06-11 Thread YAMAMOTO Takashi
Module Name:src Committed By: yamt Date: Wed Jun 12 01:46:07 UTC 2013 Modified Files: src/lib/libutil: parsedate.y Log Message: fix timezone bugs in rev.1.11 and rev.1.13. PR/47916. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libutil/parsedate.

CVS commit: src/lib/libutil

2013-06-11 Thread YAMAMOTO Takashi
Module Name:src Committed By: yamt Date: Wed Jun 12 01:31:25 UTC 2013 Modified Files: src/lib/libutil: parsedate.y Log Message: add rcsid To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libutil/parsedate.y Please note that diffs are not public doma

CVS commit: src/lib/libutil

2013-06-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jun 7 17:23:26 UTC 2013 Modified Files: src/lib/libutil: sockaddr_snprintf.3 sockaddr_snprintf.c Log Message: Add a debugging format that prints all the fields with names. To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/lib/libutil

2013-05-03 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri May 3 20:21:24 UTC 2013 Modified Files: src/lib/libutil: getbyteorder.3 Log Message: Use more markup. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libutil/getbyteorder.3 Please note that diffs are not p

CVS commit: src/lib/libutil

2013-05-02 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu May 2 07:17:10 UTC 2013 Modified Files: src/lib/libutil: Makefile Added Files: src/lib/libutil: getbyteorder.3 getbyteorder.c Log Message: Add getbyteorder() call. To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/lib/libutil

2013-01-19 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sat Jan 19 15:28:25 UTC 2013 Modified Files: src/lib/libutil: parsedate.3 Log Message: Document that errno may be used to distinguish between a non-error result of -1 and an error. To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/lib/libutil

2013-01-19 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sat Jan 19 15:23:33 UTC 2013 Modified Files: src/lib/libutil: parsedate.y Log Message: Distinguish between a non-error result of (time_t)-1 and an error result. Modernise the test code inside #ifdef TEST. To generate a diff of this

CVS commit: src/lib/libutil

2013-01-19 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sat Jan 19 09:27:32 UTC 2013 Modified Files: src/lib/libutil: parsedate.y Log Message: mktime(3) works in local time, and trying to trick it by setting tm_gmtoff doesn't work. Instead, call mktime_z(3) with a null timezone (so it wo

CVS commit: src/lib/libutil

2013-01-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Jan 16 06:44:28 UTC 2013 Modified Files: src/lib/libutil: ttymsg.3 Log Message: Sort sections. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libutil/ttymsg.3 Please note that diffs are not public domain

CVS commit: src/lib/libutil

2013-01-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 15 22:42:14 UTC 2013 Modified Files: src/lib/libutil: ttymsg.3 Log Message: add some things to add next time we modify the function To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libutil/ttymsg.3

CVS commit: src/lib/libutil

2013-01-01 Thread David Laight
Module Name:src Committed By: dsl Date: Tue Jan 1 18:32:17 UTC 2013 Modified Files: src/lib/libutil: getfsspecname.c Log Message: Don't rely on something including sys/ioctl.h for us. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libutil/getfsspecn

CVS commit: src/lib/libutil

2012-12-30 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Dec 30 17:37:13 UTC 2012 Modified Files: src/lib/libutil: efun.c Log Message: Fix failure message for ecalloc. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libutil/efun.c Please note that diffs are

CVS commit: src/lib/libutil

2012-12-30 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Dec 30 17:36:00 UTC 2012 Modified Files: src/lib/libutil: efun.c Log Message: If malloc, calloc, or realloc returns NULL when a size of 0 was requested, which is allowed by pertinent standards, honor it instead of bombing.

CVS commit: src/lib/libutil/compat

2012-11-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 4 13:08:57 UTC 2012 Modified Files: src/lib/libutil/compat: compat_loginx.c util.h Log Message: don't include things you don't need To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libutil/compat/co

CVS commit: src/lib/libutil

2012-09-19 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Sep 19 23:22:57 UTC 2012 Modified Files: src/lib/libutil: stat_flags.3 Log Message: Fix string_to_flags prototype. From Brooks Davis in PR 46986. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/li

CVS commit: src/lib/libutil

2012-07-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jul 27 21:33:46 UTC 2012 Modified Files: src/lib/libutil: openpty.3 Log Message: mention PATH_MAX instead of 16. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libutil/openpty.3 Please note that dif

CVS commit: src/lib/libutil

2012-07-27 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jul 27 18:22:04 UTC 2012 Modified Files: src/lib/libutil: openpty.3 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libutil/openpty.3 Please note that diffs are no

  1   2   >