Hi Gerri,
why are you checking isatty(1)? You cannot read from stdout so it
doesn't matter whether it is a tty or not...
Cheers,
Lukasz
2011/6/9 Gerardo Ganis <[log in to unmask]>:
> This is an automated email from the git hooks/post-receive script. It was
> generated because a ref change was pushed to the repository containing
> the project "xrootd".
>
> The branch, master has been updated
> via 9f79f2a13d35ba1a8f8bcc8fe1fb3c56c12aa02b (commit)
> from 227d1ad5044c3383f7afedad82e3c792d8b07708 (commit)
>
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email; so we list those
> revisions in full, below.
>
> - Log -----------------------------------------------------------------
> commit 9f79f2a13d35ba1a8f8bcc8fe1fb3c56c12aa02b
> Author: Gerri Ganis <[log in to unmask]>
> Date: Thu Jun 9 13:40:21 2011 +0200
>
> In XrdSecProtocolkrb5::getCredentials, if in the case kinit calls are enabled, make sure that
> the client input refers to a terminal before issuing the command. Fixes a possible infinite
> loop in batch jobs when the env XrdSecKRB5INITTKN is inadvertently set.
>
> -----------------------------------------------------------------------
>
> Summary of changes:
> src/XrdSeckrb5/XrdSecProtocolkrb5.cc | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
>
> hooks/post-receive
> --
> xrootd
>
|