7ebfab5050
Update mit-pthreads for 1.3H signal changes on alpha and i386. Update mit-pthreads for 1.3/1.3H on sparc (from 1.1 version). Enable building the server on sparc. Add mit-pthreads support for 1.3/1.3H on arm32. (Server doesn't work yet.) Fix two bugs in mit-pthreads with functions returning off_t's.
13 lines
379 B
Text
13 lines
379 B
Text
$NetBSD: patch-aj,v 1.1 1998/10/28 18:18:08 bad Exp $
|
|
|
|
--- mit-pthreads/pthreads/fd.c.orig Tue Jan 13 14:28:04 1998
|
|
+++ mit-pthreads/pthreads/fd.c Sat Oct 24 22:24:28 1998
|
|
@@ -702,7 +702,7 @@
|
|
*/
|
|
off_t lseek(int fd, off_t offset, int whence)
|
|
{
|
|
- int ret;
|
|
+ off_t ret;
|
|
|
|
if ((ret = fd_lock(fd, FD_RDWR, NULL)) == OK) {
|
|
ret = fd_table[fd]->ops->seek(fd_table[fd]->fd,
|