X-Spam-Check-By: sourceware.org
Date: Tue, 19 Sep 2006 11:11:02 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: "Irwin, Doug" <doug.irwin@eds.com>
cc: cygwin@cygwin.com
Subject: RE: Read not honouring "-r"?
In-Reply-To: <D3DA8E9DB543364DB6DE9B5964BA8EEA4F2953@auntm231.apac.corp.eds.com>
Message-ID: <Pine.GSO.4.63.0609191106590.26721@access1.cims.nyu.edu>
References: <D3DA8E9DB543364DB6DE9B5964BA8EEA4F2953@auntm231.apac.corp.eds.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.GSO.4.63.0609191106592.26721@access1.cims.nyu.edu>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, 19 Sep 2006, Irwin, Doug wrote:

> Hi Larry,
>
> Sorry about the double post - the mailserver reported that it had (a)
> stripped the attachments and (b) blocked the post.  It obviously lied.
>
> If you call it with pdksh instead you should get:
> /
> 200
> 200
> 200
> 200
>
> 200
> 200
>
> sr/bin
> 200
> 200
> usr/lib
> 200
> 200
>
> So it sounds pdksh related.
>
> Cygcheck.out attached in case it's of use.
>
> Apologies again for the double post.

Hi,

This seems to be the fallout of my decision to link pdksh with automode.o.
It's the age-old problem of lseek on textmode files -- PDksh assumes that
any non-special file is seekable, and text files aren't.  I have a quick
fix in the pipeline, but since there is a workaround, I want to see if I
can address some other bugs as well while I'm at it.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

