Path: csiph.com!goblin3!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Michael Felt Newsgroups: gnu.bash.bug Subject: Re: make distclean and bash-4.4 - FYI Date: Thu, 1 Nov 2018 12:43:10 +0200 Lines: 48 Approved: bug-bash@gnu.org Message-ID: References: <4631d44f-ecec-d119-96db-982c9dcfad06@felt.demon.nl> <711e0e84-e01f-1796-7be5-bec53f5b3ad0@felt.demon.nl> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1541069027 6138 208.118.235.17 (1 Nov 2018 10:43:47 GMT) X-Complaints-To: action@cs.stanford.edu To: chet.ramey@case.edu, bug-bash@gnu.org Envelope-to: bug-bash@gnu.org Content-Language: en-US X-Enigmail-Draft-Status: N11100 Fcc: imap://aixtools@felt-1.demon.nl/Sent In-Reply-To: X-Identity-Key: id3 X-Account-Key: account4 X-Mailer: iPhone Mail (15E216) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; attachmentreminder=0; deliveryformat=4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.101.98.107 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:14757 > On 10/31/2018 9:31 PM, Chet Ramey wrote: >> On 10/31/18 3:13 PM, Michael Felt wrote: >>=20 >> Running "make test", and I amy have forgotten something I did in the past= . >> a) running tests as root (initially) >> b) ends with: >> run-vredir >> 14,16c14,16 >> < ./vredir.tests: line 25: $v: A file descriptor does not refer to an >> open file. >> < ./vredir.tests: line 26: $v: A file descriptor does not refer to an >> open file. >> < ./vredir.tests: line 27: $v: A file descriptor does not refer to an >> open file. >> --- >>> ./vredir.tests: line 25: $v: Bad file descriptor >>> ./vredir.tests: line 26: $v: Bad file descriptor >>> ./vredir.tests: line 27: $v: Bad file descriptor > These are just different messages for the same value of errno. >=20 >> 90,91c90,91 >> < ./vredir6.sub: redirection error: cannot duplicate fd: The process >> file table is full. >> < ./vredir6.sub: line 13: /dev/null: The process file table is full. >> --- >>> ./vredir6.sub: redirection error: cannot duplicate fd: Invalid argument >>> ./vredir6.sub: line 13: /dev/null: Invalid argument > Same. >=20 >> I am mainly surprised by "process file table is full" - is there >> something specific I can do to look at this more closely? > No, it's expected. That script tests the behavior when the process's open > file limit (`ulimit -n') is set to something very small.=20 Using defaults: root@x065:[/]ulimit -n 2000 > It's interesting > that AIX (you're running AIX, right?) chooses to return -1/EMFILE even > though the process doesn't have the maximum number of file descriptors ope= n. Well, it is AIX 5.3 (TL7). Maybe there are more choices for errno today, tha= n there was in 2007. I'll create a clean source to patch/build oot, and com= pare AIX 5.3, 61. and 7.1 (no ready access to 7.2, sorry).