From owner-cvs-all Mon Jan 13 19:36:47 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7564737B401; Mon, 13 Jan 2003 19:36:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FC9B43F1E; Mon, 13 Jan 2003 19:36:46 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0E3ajfh079363; Mon, 13 Jan 2003 19:36:45 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0E3ajUj079362; Mon, 13 Jan 2003 19:36:45 -0800 (PST) Message-Id: <200301140336.h0E3ajUj079362@repoman.freebsd.org> From: "Tim J. Robbins" Date: Mon, 13 Jan 2003 19:36:45 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sys sem.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tjr 2003/01/13 19:36:45 PST Modified files: lib/libc/sys sem.c Log: Add the newly created semaphore to the named semaphore list in sem_open() so that multiple opens of the same semaphore without an intervening sem_close() return the same object, and so that sem_close() does not segfault while trying to remove the item from the list. Revision Changes Path 1.3 +2 -1 src/lib/libc/sys/sem.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message