From owner-cvs-all@FreeBSD.ORG Sun Jun 27 14:52:21 2010 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EF43106564A; Sun, 27 Jun 2010 14:52:21 +0000 (UTC) (envelope-from johans@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 263068FC20; Sun, 27 Jun 2010 14:52:21 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o5REqL3N034952; Sun, 27 Jun 2010 14:52:21 GMT (envelope-from johans@repoman.freebsd.org) Received: (from johans@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5REqL7F034951; Sun, 27 Jun 2010 14:52:21 GMT (envelope-from johans) Message-Id: <201006271452.o5REqL7F034951@repoman.freebsd.org> From: Johan van Selst Date: Sun, 27 Jun 2010 14:52:21 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel/gindent Makefile ports/devel/gindent/files patch-ab patch-args.c patch-doc:Makefile.in patch-indent.h patch-output.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2010 14:52:21 -0000 johans 2010-06-27 14:52:21 UTC FreeBSD ports repository Modified files: devel/gindent Makefile devel/gindent/files patch-ab patch-args.c patch-doc:Makefile.in patch-indent.h patch-output.c Log: Apply two bug fixes from John Hein: 1) fix 'indent -npro -nip' when compiled with BERKELEY_DEFAULTS symptom: command line: unknown option "nhnl" Note that the "nhnl" above is just luck due to layout by the compiler. It could be random garbage. explanation: PRO_SETTINGS lists need to be terminated with two nulls. 2) fix error message for args prefixed with '--', like 'indent -npro --no-such-arg' symptom: command line: unknown option "-no-such-arg" explanation: the error message uses 'option - 1' instead of 'option - option_length' and -- options have option_length == 2. Note that the update looks more complicated than just this patch, because the original port patches were re-aligned as well. John has submitted his patches upstream as well. Submitted by: John Hein Feature safe: yes Revision Changes Path 1.46 +1 -1 ports/devel/gindent/Makefile 1.6 +3 -2 ports/devel/gindent/files/patch-ab 1.6 +12 -2 ports/devel/gindent/files/patch-args.c 1.4 +1 -1 ports/devel/gindent/files/patch-doc:Makefile.in 1.3 +10 -4 ports/devel/gindent/files/patch-indent.h 1.2 +4 -4 ports/devel/gindent/files/patch-output.c