Re: Symlink flag for chmod

2024-03-19 Thread Pádraig Brady
On 18/03/2024 18:31, Pádraig Brady wrote: On 25/01/2024 14:13, Pádraig Brady wrote: On 25/01/2024 12:30, Johannes Segitz wrote: Hello, chown has a flag that prevents symlink following. chown/chmod is sometimes used in %post/%pre sections of rpm packages to fix up permissions. When this is

bug#69901: (echo a; echo b) | sort -nu looses some data

2024-03-19 Thread Paul Eggert
On 3/19/24 08:33, Rafal Maszkowski wrote: he --debug option advised in README does not say anything helpful: (echo a; echo b) | sort --debug -nu sort: text ordering performed using simple byte comparison a ^ no match for key That diagnostic message is helpful. It's telling you that there's no

bug#69901: (echo a; echo b) | sort -nu looses some data

2024-03-19 Thread Rafal Maszkowski
Sort with -n and -u options works correctly for numbers: (echo 10; echo 11) | sort -nu 10 11 but looses data when used with non-numbers: (echo a; echo b) | sort -nu a (echo 1.0; echo 1.1) | sort -nu 1.0 I have tested this on versions 8.32 and 9.2 default for Debian 11 and 12, and additionally

[PATCH] maint: basenc: consistently check buffer bounds when encoding

2024-03-19 Thread Pádraig Brady
* src/basenc.c (base16_encode, base2msbf_encode, base2lsbf_encode): Ensure we don't overflow the output buffer, whose length is passed in the OUTLEN parameter. This issue was flagged by clang with -Wunused-but-set-parameter. --- src/basenc.c | 10 +++--- 1 file changed, 7 insertions(+), 3

Re: Bug#628815: coreutils: pinky makes crazy DNS queries

2024-03-19 Thread Pádraig Brady
On 19/03/2024 10:54, deb...@perkelt.hu wrote: I looked into this and found that pinky tries to canonicalize the information in the "Where" column automaticaly, and it has no option to disable this behaviour. see line 285 pinky.c: if (*ut_host) /* See if we can

Re: RFE: enable buffering on null-terminated data

2024-03-19 Thread Zachary Santer
On Tue, Mar 19, 2024 at 1:24 AM Kaz Kylheku wrote: > > But what tee does is set up _IONBF on its output streams, > including stdout. So it doesn't buffer at all. Awesome. Nevermind.

bug#69873: Acknowledgement (df(1) does not display all UFS mountpoints as valid on FreeBSD)

2024-03-19 Thread Osipov, Michael (IN IT IN)
I have now reported this upstream since I consider this to be a bug in the FreeBSD Linux compat layer: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277804