bug-bash
[Top][All Lists]
Advanced

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

bash-5.1.16 fails to unlink named pipes if pipeline terminates premature


From: RVP
Subject: bash-5.1.16 fails to unlink named pipes if pipeline terminates prematurely
Date: Fri, 9 Sep 2022 07:11:27 +0000 (UTC)

Configuration Information [Automatically generated, do not change]:
Machine: amd64
OS: freebsd13.0
Compiler: cc
Compilation CFLAGS: -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong 
-isystem /usr/local/include -fno-strict-aliasing
uname output: FreeBSD x202e.localdomain 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 
GENERIC amd64
Machine Type: amd64-portbld-freebsd13.0

Bash Version: 5.1
Patch Level: 16
Release Status: release

Description:
        On FreeBSD 13.1-RELEASE-p2, /dev/fd may not always be mounted,
        therefore bash-5.1.16 is configured with `bash_cv_dev_fd=absent'.
        In this situation, bash does not unlink named pipes used for
        process-substitution when a pipeline terminates prematurely.

Repeat-By:
        $ diff -u <(ls -l /usr/bin) <(ls -l /tmp) | head >/dev/null
        $ ls -l /tmp/sh-np.*
        prw-------  1 rvp  wheel  0  8 Sep 22:52 /tmp/sh-np.N59YMr
        prw-------  1 rvp  wheel  0  8 Sep 22:52 /tmp/sh-np.S9X8Fr




reply via email to

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