CVS commit: src/common/lib/libutil

2024-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 16 19:41:39 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: libutil/snprintb: factor out common subexpression GCC 10 was not able to optimize the code size on its own, so offer a little help. To

CVS commit: src/common/lib/libutil

2024-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 16 19:41:39 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: libutil/snprintb: factor out common subexpression GCC 10 was not able to optimize the code size on its own, so offer a little help. To

CVS commit: src/common/lib/libutil

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 08:53:42 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: remove redundant memset in kernel mode The provided buffer is already null-terminated by finish_buffer, even in error cases, t

CVS commit: src/common/lib/libutil

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 08:53:42 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: remove redundant memset in kernel mode The provided buffer is already null-terminated by finish_buffer, even in error cases, t

CVS commit: src/common/lib/libutil

2024-03-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 5 07:37:08 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: shrink code size, both in source and binary To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/common/lib/libu

CVS commit: src/common/lib/libutil

2024-03-04 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 5 07:37:08 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: shrink code size, both in source and binary To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/common/lib/libu

CVS commit: src/common/lib/libutil

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 12:44:11 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: clean up Use consistent data types for buffer positions and lengths, to avoid type casts. To generate a diff of this commit:

CVS commit: src/common/lib/libutil

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 12:44:11 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: clean up Use consistent data types for buffer positions and lengths, to avoid type casts. To generate a diff of this commit:

CVS commit: src/common/lib/libutil

2024-02-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 17 10:23:30 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: convert macros to local functions Let the compiler decide whether to inline the functions; allow stepping through the code in

CVS commit: src/common/lib/libutil

2024-02-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 17 10:23:30 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: convert macros to local functions Let the compiler decide whether to inline the functions; allow stepping through the code in

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 21:25:46 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: do not modify bufsize when producing multiple lines To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/common/

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 21:25:46 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: do not modify bufsize when producing multiple lines To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/common/

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 19:31:25 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: use size_t for buffer sizes and positions To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/common/lib/libuti

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 19:31:25 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: use size_t for buffer sizes and positions To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/common/lib/libuti

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:17:10 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: use unsigned integers for parsing the bitfmt To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/common/lib/lib

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:17:10 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: use unsigned integers for parsing the bitfmt To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/common/lib/lib

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:03:16 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: eliminate a few local variables To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/common/lib/libutil/snprintb

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:03:16 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: eliminate a few local variables To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/common/lib/libutil/snprintb

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 17:42:50 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: rename local variables The single-letter variables 't', 's', 'l' and 'c' were too hard to decipher. The variable 'f_len' was

CVS commit: src/common/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 17:42:50 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: rename local variables The single-letter variables 't', 's', 'l' and 'c' were too hard to decipher. The variable 'f_len' was

CVS commit: src/common/lib/libutil

2024-02-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 01:57:51 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: clean up Remove redundant parentheses and casts. Indent statement-like macros consistently, use separate lines for each state

CVS commit: src/common/lib/libutil

2024-02-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 01:57:51 UTC 2024 Modified Files: src/common/lib/libutil: snprintb.c Log Message: snprintb: clean up Remove redundant parentheses and casts. Indent statement-like macros consistently, use separate lines for each state

CVS commit: src/common/lib/libutil

2019-06-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 17 17:03:58 UTC 2019 Modified Files: src/common/lib/libutil: snprintb.c Log Message: PR/54300: Andreas Gustafsson: Remove useless case. should fix lib/libutil/t_snprintb test regression on sparc To generate a diff of t

CVS commit: src/common/lib/libutil

2019-06-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 17 17:03:58 UTC 2019 Modified Files: src/common/lib/libutil: snprintb.c Log Message: PR/54300: Andreas Gustafsson: Remove useless case. should fix lib/libutil/t_snprintb test regression on sparc To generate a diff of t