Received: by mail.netbsd.org (Postfix, from userid 605) id 9E96A14A44C; Thu, 24 Jan 2013 01:10:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8295814A44B for ; Thu, 24 Jan 2013 01:10:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id SLK_95GAlh9w for ; Thu, 24 Jan 2013 01:10:49 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 9C7D914A445 for ; Thu, 24 Jan 2013 01:10:49 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 594F0175DF; Thu, 24 Jan 2013 01:10:49 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 23 Jan 2013 20:10:49 -0500 From: "Christos Zoulas" Subject: CVS commit: src/usr.sbin/makefs To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20130124011049.594F0175DF@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: christos Date: Thu Jan 24 01:10:48 UTC 2013 Modified Files: src/usr.sbin/makefs: cd9660.c chfs.c ffs.c makefs.c msdos.c v7fs.c Log Message: - Fix single letter option parsing. - Instead of returning 1 << index and 0 on error, return just index and -1 on error for the set_option*() routines. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.sbin/makefs/cd9660.c cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/makefs/chfs.c \ src/usr.sbin/makefs/v7fs.c cvs rdiff -u -r1.52 -r1.53 src/usr.sbin/makefs/ffs.c cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/makefs/makefs.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/makefs/msdos.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.