Subject: ksh93 problem on opensolaris -------- I have been tracking down a problem that only seems to be reproducable on Solaris.
The problem boils down to the behavior of llseek(fd, (off_t)0, SEEK_CUR) On must systems, this just returns the current stream offset. On solaris, it also seems adds 0 to the current offset and then calls llseek(fd , current_offset, SEEK_SET) Now, if another process is using this stream, this presents a race condition since it might move the stream pointer between the time that the offset is found and the time the SEEK_SET is called. This is what is happening the the case that I am tracking down. Is there anyway that solaris can change this behavior for offset 0? David Korn d...@research.att.com _______________________________________________ ksh93-integration-discuss mailing list ksh93-integration-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss