From owner-cvs-lib Mon Nov 24 17:33:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA23654 for cvs-lib-outgoing; Mon, 24 Nov 1997 17:33:48 -0800 (PST) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA23333; Mon, 24 Nov 1997 17:30:03 -0800 (PST) (envelope-from alex@FreeBSD.org) From: Alex Nash Received: (from alex@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id RAA25639; Mon, 24 Nov 1997 17:29:18 -0800 (PST) Date: Mon, 24 Nov 1997 17:29:18 -0800 (PST) Message-Id: <199711250129.RAA25639@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc_r/uthread uthread_cond.c uthread_condattr_destroy.c uthread_condattr_init.c uthread_detach.c uthread_join.c uthread_mattr_init.c uthread_mutex.c uthread_mutexattr_destroy.c uthread_spec.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk alex 1997/11/24 17:29:18 PST Modified files: lib/libc_r/uthread uthread_cond.c uthread_condattr_destroy.c uthread_condattr_init.c uthread_detach.c uthread_join.c uthread_mattr_init.c uthread_mutex.c uthread_mutexattr_destroy.c uthread_spec.c Log: Modify the return values to comply with POSIX. Previously these functions would return -1 and set errno to indicate the specific error. POSIX requires that the functions return the error code as the return value of the function instead. Revision Changes Path 1.7 +13 -26 src/lib/libc_r/uthread/uthread_cond.c 1.2 +1 -2 src/lib/libc_r/uthread/uthread_condattr_destroy.c 1.2 +1 -2 src/lib/libc_r/uthread/uthread_condattr_init.c 1.3 +2 -4 src/lib/libc_r/uthread/uthread_detach.c 1.3 +3 -6 src/lib/libc_r/uthread/uthread_join.c 1.2 +1 -2 src/lib/libc_r/uthread/uthread_mattr_init.c 1.4 +16 -32 src/lib/libc_r/uthread/uthread_mutex.c 1.2 +1 -2 src/lib/libc_r/uthread/uthread_mutexattr_destroy.c 1.5 +0 -1 src/lib/libc_r/uthread/uthread_spec.c