Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem building zsh in background
- X-seq: zsh-users 6820
- From: Jens Petersen <petersen@xxxxxxxxxx>
- To: Philippe Troin <phil@xxxxxxxx>
- Subject: Re: problem building zsh in background
- Date: Mon, 01 Dec 2003 10:06:06 +0900
- Cc: Zsh-users <zsh-users@xxxxxxxxxx>
- In-reply-to: <87zneewgvd.fsf@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <m3d6bgq2tk.wl%petersen@xxxxxxxxxx> <87d6bgrxml.fsf@xxxxxxxxxxxxxxxx> <m3vfp7o6c8.wl%petersen@xxxxxxxxxx> <877k1ngcp5.fsf@xxxxxxxxxxxxxxxx> <m365h68uk6.wl%petersen@xxxxxxxxxx> <m3y8u26r3t.wl%petersen@xxxxxxxxxx> <87zneewgvd.fsf@xxxxxxxxxxxxxxxx>
>>>>> "PT" == Philippe Troin <phil@xxxxxxxx> writes:
PT> Jens Petersen <petersen@xxxxxxxxxx> writes:
>> but with the second patch (msg00896.html) when there
>> is no tty I see:
>>
>> : checking if kill(pid, 0) returns ESRCH
>> correctly... yes checking if POSIX sigsuspend()
>> works... yes checking if tcsetpgrp() actually
>> works... notty configure: error: no controlling tty
PT> The first patch fails to detect if configure runs
PT> without a controlling tty, does not run the test and
PT> assumes that tcsetpgrp() works correctly.
PT> The second patch aborts the configure run in that
PT> case.
Ok. :)
PT> The first patch was a work in progress, the second
PT> patch is supposed to be an improvement :-)
PT> Why do you want to run configure with nohup?
Building with the second patch fails in our buildsystem. ;-)
PT> I guess I could run the test in a separate, created
PT> pty, but that is going to be messy to do portably in
PT> configure.
I don't know which platform this test benefits, but
presumably with modern glibc it works ok. Perhaps the test
could be skipped except on affected platforms?
Jens
Messages sorted by:
Reverse Date,
Date,
Thread,
Author