Missing variable quoting in m4 files

2006-05-21 Thread Roland Illig
Hi, when using the ls-mntd-fs.m4 file on NetBSD 3.0/i386, I got an error caused by an empty variable ($ac_cv_func_getmntent): test: =: unary operator expected So I patched all variable uses to include the proper quotes. Roland Index: fsusage.m4 ===

Re: Missing variable quoting in m4 files

2006-05-29 Thread Roland Illig
Jim Meyering wrote: Paul Eggert <[EMAIL PROTECTED]> wrote: ... That patch masks the actual error, which is that the variable was used without being defined. The underlying bug was fixed in a different way, as described in

bug#23121: Wrong translation in stty

2016-03-26 Thread Roland Illig
Hello, in coreutils-8.25, src/stty.c, line 955, the string "" is selected for translation. This is wrong, since the empty string has a special meaning: it outputs general information about the translation. You can see it by running "stty --help", which outputs "Last-Translator", among other inform

bug#37585: Undefined behavior in nl, print_lineno

2019-10-02 Thread Roland Illig
The current code says: next_line_no = line_no + page_incr; if (next_line_no < line_no) die (EXIT_FAILURE, 0, _("line number overflow")); Since intmax_t is a regular integer type, overflow invokes undefined behavior and must therefore be checked using other means.

bug#37585: Undefined behavior in nl, print_lineno

2019-10-03 Thread Roland Illig
Am 03.10.2019 um 21:43 schrieb Paul Eggert: > Thanks for the bug report. I looked for similar problems involving > integer-overflow diagnostics in coreutils and installed the attached > patches. The second patch should fix the bug you mentioned. Ah, the code looks so much simpler and nicer with th

bug#44248: Indentation of --help and --version

2020-10-26 Thread Roland Illig
Hi, As the German translator of coreutils, I fixed the indentation of the --help output today, for coreutils 8.31.90. While doing that, I noticed that the option "-z, --zero-terminated" is used by several programs that have different "native" indentation widths. Therefore their --help output lo

bug#44248: Indentation of --help and --version

2020-10-29 Thread Roland Illig
On 28.10.2020 21:55, Bernhard Voelker wrote: We have so many utils that it may be worth writing some utility functions to automatically do the alignment.  Usually, that part of the usage output has 3 columns: a) the short option (if any), b) the long option (if any), c) the description (maybe mul