From owner-cvs-src@FreeBSD.ORG Thu May 26 11:02:40 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EA3C16A41C; Thu, 26 May 2005 11:02:40 +0000 (GMT) (envelope-from mux@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A726143D5E; Thu, 26 May 2005 11:02:38 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 7495D5C9CE; Thu, 26 May 2005 04:02:38 -0700 (PDT) Date: Thu, 26 May 2005 13:02:38 +0200 From: Maxime Henrion To: Ollivier Robert Message-ID: <20050526110238.GC25142@elvis.mu.org> References: <200505261057.j4QAv4oU071149@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200505261057.j4QAv4oU071149@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/chkgrp chkgrp.8 chkgrp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 11:02:40 -0000 Ollivier Robert wrote: > roberto 2005-05-26 10:57:04 UTC > > FreeBSD src repository > > Modified files: > usr.sbin/chkgrp chkgrp.8 chkgrp.c > Log: > - Add further functionality to check for invalid characters > - Remove keyword 'continue' for more indepth error reporting > on each line > - WARNS 6 Clean As I said to Liam some time ago, the use of strcspn() in this file is bogus. It's not Liam's fault, he only moved this code, and didn't introduce it. However, it would be nice to fix this since calling strcspn(foo, " \t") has no chances of working as expected :-). Cheers, Maxime