Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!tymix!cirrusl!ss149!local From: local%cirrusl@oliveb.ATC.olivetti.com (local user(me)) Newsgroups: comp.sys.mac.programmer Subject: Think C Unix library missing stat call Keywords: mac c think unix Message-ID: <2949@cirrusl.UUCP> Date: 14 Feb 91 19:15:50 GMT Sender: news@cirrusl.UUCP Lines: 16 I was recently trying to port a Unix program ('patch', actually) to Think C, and discovered then that the Unix library doesn't emulate either the 'stat' routine or the 'access' routine, both of which are extremely common in Unix programs. I realize that there are ways of doing these things with Mac system calls, but if I wanted to rewrite the whole program I wouldn't be using the ANSI/unix libraries anyway. Does anyone know of a more complete set of emulated Unix calls for Think C? Failing that, has anyone seen anything like Larry Wall's 'patch' program for the Mac? For those who don't know, it reads difference files and merges the differences in the original programs. -- Brian -- Brian Feinberg UUCP: oliveb!cirrusl!brian