From owner-cvs-all Tue Jul 16 21:58:12 2002 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 453E037B400; Tue, 16 Jul 2002 21:58:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAE7243E31; Tue, 16 Jul 2002 21:58:09 -0700 (PDT) (envelope-from mikeh@FreeBSD.org) Received: from freefall.freebsd.org (mikeh@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6H4w9JU071606; Tue, 16 Jul 2002 21:58:09 -0700 (PDT) (envelope-from mikeh@freefall.freebsd.org) Received: (from mikeh@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6H4w9kD071605; Tue, 16 Jul 2002 21:58:09 -0700 (PDT) Message-Id: <200207170458.g6H4w9kD071605@freefall.freebsd.org> From: Mike Heffner Date: Tue, 16 Jul 2002 21:58:09 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include glob.h src/lib/libc/gen glob.3 glob.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 mikeh 2002/07/16 21:58:09 PDT Modified files: include glob.h lib/libc/gen glob.3 glob.c Log: Update glob(3) to add all the POSIX required options, specifically: - add GLOB_NOMATCH return value and use it when we don't get a match - rename GLOB_ABEND to GLOB_ABORTED and use it instead of returning 1 in some places - add GLOB_NOESCAPE flag and retire GLOB_QUOTE to compatibility section Suggestions/advice on correct usage of POSIX defines: wollman Revision Changes Path 1.7 +14 -4 src/include/glob.h 1.21 +15 -12 src/lib/libc/gen/glob.3 1.20 +20 -18 src/lib/libc/gen/glob.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message