CVS commit: src/common/lib/libutil

2021-07-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jul 22 13:54:38 UTC 2021 Modified Files: src/common/lib/libutil: getfstypename.c Log Message: #include To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/common/lib/libutil/getfstypename.c Please note that di

CVS commit: src/common/lib/libutil

2020-01-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Jan 6 13:21:18 UTC 2020 Modified Files: src/common/lib/libutil: proc_compare.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libutil/proc_compare.c Please note t

CVS commit: src/common/lib/libutil

2020-01-06 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 6 11:16:35 UTC 2020 Modified Files: src/common/lib/libutil: proc_compare.c Log Message: proc_compare(): weed out zombies before doing anything else. From skrll@. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/common/lib/libutil

2019-12-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 6 19:36:22 UTC 2019 Modified Files: src/common/lib/libutil: snprintb.c Log Message: Formalize that the printf formats should be uintmax_t so we can uniformly use 'j' in the user-provided formatting strings instead of de

CVS commit: src/common/lib/libutil

2019-04-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Apr 27 17:45:28 UTC 2019 Modified Files: src/common/lib/libutil: snprintb.c Log Message: Fix an off-by-one in the F modifier that ended up skipping the first : or = entry, and add a * specifier for a "default case". To gen

CVS commit: src/common/lib/libutil

2018-07-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jul 26 00:33:26 UTC 2018 Modified Files: src/common/lib/libutil: snprintb.c Log Message: Avoid undefined behavior in snprintb.c Do not change the signedness bit with a left shift operation. Switch to unsigned integer to preven

CVS commit: src/common/lib/libutil

2017-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Oct 14 18:41:41 UTC 2017 Modified Files: src/common/lib/libutil: snprintb.c Log Message: doesn't work new format 'F' with a strings of length 1, or a string beginning with 'F' To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/common/lib/libutil

2014-08-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Aug 2 11:19:01 UTC 2014 Modified Files: src/common/lib/libutil: snprintb.c Log Message: fix lack of '>' pointed out in PR/48517 To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/common/lib/libutil/snprintb.c P

CVS commit: src/common/lib/libutil

2014-06-06 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Jun 6 07:08:37 UTC 2014 Modified Files: src/common/lib/libutil: snprintb.c Log Message: PR/48517 do not add extra '>' to string-converted value when nothing matches To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/common/lib/libutil

2013-08-08 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Aug 8 22:18:20 UTC 2013 Modified Files: src/common/lib/libutil: snprintb.c Log Message: Now that all of the macros are enclosed in "do { ... } while 0" we can remove unneded parenthesization of their invocations. OK mrg@

CVS commit: src/common/lib/libutil

2013-08-08 Thread Alistair G. Crooks
Module Name:src Committed By: agc Date: Thu Aug 8 16:43:13 UTC 2013 Modified Files: src/common/lib/libutil: snprintb.c Log Message: Get the correct inttypes.h header, so this can build on !NetBSD. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/common/

CVS commit: src/common/lib/libutil

2013-08-07 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 8 04:32:43 UTC 2013 Modified Files: src/common/lib/libutil: snprintb.c Log Message: apply some do { ... } while (0) so that macros aren't broken, completing the previous change. To generate a diff of this commit: cvs rdiff

CVS commit: src/common/lib/libutil

2013-08-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Aug 7 23:48:13 UTC 2013 Modified Files: src/common/lib/libutil: snprintb.c Log Message: The PUT* things are macros. Use { ... } to make sure they expand correctly. To generate a diff of this commit: cvs rdiff -u -r1.10 -

CVS commit: src/common/lib/libutil

2013-08-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Aug 7 22:37:28 UTC 2013 Modified Files: src/common/lib/libutil: snprintb.c Log Message: Fix boundary condition in multi-line format. When the '=' following a field name exactly filled a line, the back-up logic failed and r

CVS commit: src/common/lib/libutil

2013-08-06 Thread Alan Barrett
Module Name:src Committed By: apb Date: Tue Aug 6 22:02:50 UTC 2013 Modified Files: src/common/lib/libutil: snprintb.c Log Message: If HAVE_SNPRINTB_M is defined, then do not define the snprintb() and snprintb_m() functions. This should allow this file to be compiled fro

CVS commit: src/common/lib/libutil

2013-07-09 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jul 9 16:10:17 UTC 2013 Modified Files: src/common/lib/libutil: snprintb.c Log Message: Use "unsigned int" instead of "u_int" to make it easier to steal. u_int is out of fashion anyway... To generate a diff of this commit: cvs

CVS commit: src/common/lib/libutil

2012-04-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Apr 7 16:28:59 UTC 2012 Modified Files: src/common/lib/libutil: getfstypename.c Log Message: fix lint comment. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libutil/getfstypename.c Please not

CVS commit: src/common/lib/libutil

2012-04-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Apr 7 16:18:24 UTC 2012 Modified Files: src/common/lib/libutil: getfstypename.c Log Message: lint knows the code is not reachable, but gcc does not. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/common/l

CVS commit: src/common/lib/libutil

2012-01-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 23 03:22:41 UTC 2012 Modified Files: src/common/lib/libutil: snprintb.c Log Message: also handle the separator after the F field. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/common/lib/libutil/snpri

CVS commit: src/common/lib/libutil

2012-01-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 23 02:34:01 UTC 2012 Modified Files: src/common/lib/libutil: snprintb.c Log Message: In the new format F did not print a separator as required. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/common/lib

CVS commit: src/common/lib/libutil

2011-11-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 14 16:21:44 UTC 2011 Modified Files: src/common/lib/libutil: getfstypename.c Log Message: compile into nothing if _STANDALONE To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/common/lib/libutil/getfstype

CVS commit: src/common/lib/libutil

2011-11-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 14 14:37:13 UTC 2011 Modified Files: src/common/lib/libutil: getfstypename.c Log Message: add netbsd id To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/common/lib/libutil/getfstypename.c Please note th

CVS commit: src/common/lib/libutil

2011-11-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 14 14:36:40 UTC 2011 Modified Files: src/common/lib/libutil: getfstypename.c Log Message: - fix boot block building (-D_STANDALONE) - explain why we cast. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src

CVS commit: src/common/lib/libutil

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 22:21:29 UTC 2011 Modified Files: src/common/lib/libutil: getfstypename.c Log Message: the kernel does not have util.h To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libutil/getfstypename

CVS commit: src/common/lib/libutil

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 21:56:53 UTC 2011 Modified Files: src/common/lib/libutil: Makefile.inc Added Files: src/common/lib/libutil: getfstypename.c Log Message: Add a function to convert from a disklabel p_fstype integer to a dkw_pty

CVS commit: src/common/lib/libutil

2011-10-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 21 02:09:00 UTC 2011 Modified Files: src/common/lib/libutil: Makefile.inc Added Files: src/common/lib/libutil: proc_compare.c Log Message: Add a version of proc_compare that works both for kernel and userland (an

CVS commit: src/common/lib/libutil

2011-08-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 16 10:33:17 UTC 2011 Modified Files: src/common/lib/libutil: Makefile.inc Log Message: document non-literal format string To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libutil/Makefile.inc