coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stdbuf: support AIX


From: Collin Funk
Subject: stdbuf: support AIX
Date: Sun, 22 Jun 2025 18:48:43 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Pádraig,

On AIX the following test fails:

    $ make TESTS=tests/misc/stdbuf.sh check
    [...]
    FAIL: tests/misc/stdbuf.sh
    [...]

This is because AIX does not support the LD_PRELOAD environment
variable. Copying the text from their docs [1]:

    The LDR_PRELOAD and LDR_PRELOAD64 environment variables make it
    possible for a process to preload shared libraries. The LDR_PRELOAD
    environment variable is for 32-bit processes, and the LDR_PRELOAD64
    environment variable is for 64-bit processes.

The attached patch fixes it.

Not sure if this warrants a NEWS entry. I'll let you decide.

Collin

[1] 
https://www.ibm.com/docs/en/aix/7.3.0?topic=techniques-preloaded-shared-libraries

Attachment: 0001-stdbuf-support-AIX.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]