From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1835 invoked from network); 28 Mar 1997 06:32:14 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 28 Mar 1997 06:32:14 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id BAA22008; Fri, 28 Mar 1997 01:25:32 -0500 (EST) Resent-Date: Fri, 28 Mar 1997 01:25:32 -0500 (EST) From: Zoltan Hidvegi Message-Id: <199703280628.BAA01276@hzoli.home> Subject: Re: fchdir not implemented in NeXTSTEP/OPENSTEP To: cgf@bbc.com Date: Fri, 28 Mar 1997 01:28:52 -0500 (EST) Cc: zsh-workers@math.gatech.edu In-Reply-To: from Chris Faylor at "Mar 28, 97 03:09:33 am" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"YCOr51.0.pN5.SHsEp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3045 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > In article <199703280022.TAA07810@uni.BLaCKSMITH.com>, > Leo Turetsky wrote: > >Hi! I've been trying to compile zsh 3.1.1 for NeXTSTEP 3.3 and/or OPENSTEP > >4.1. Everything compiles cleanly except for two lines which call the function > >fchdir. NeXTSTEP/OPENSTEP do not implement the fchdir system call... > > I just joined this mailing list to research this very problem. > > fchdir is also not implemented on Ultrix, SCO v3.2, and AIX 3.2.5, as far > as I can tell. I tried scanning the archives for patches that might > rectify this, but possibly I missed something. I also noticed this as I now have to use AIX 3.2.5 at work (but it will be upgraded to 4.1.? till June). I made some ugly dirty hacks to circumvent the problem. I do not have the patch here at home, but I'll post it tomorrow. I thought that fchdir was a standard function, mandated by POSIX.1. Anyway, an OS which calls itself Unix and does not have fchdir is really broken in my opinion. Fortunately AIX 4.x already has this. Zoltan