Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2011 14:21:46 +0000 (UTC)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221533 - head/contrib/one-true-awk
Message-ID:  <201105061421.p46ELk7F051954@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ru
Date: Fri May  6 14:21:46 2011
New Revision: 221533
URL: http://svn.freebsd.org/changeset/base/221533

Log:
  Update to a 6-May-2011 release (upstreamed some of our changes).

Deleted:
  head/contrib/one-true-awk/proctab.c
Modified:
  head/contrib/one-true-awk/FIXES
  head/contrib/one-true-awk/main.c
Directory Properties:
  head/contrib/one-true-awk/   (props changed)

Modified: head/contrib/one-true-awk/FIXES
==============================================================================
--- head/contrib/one-true-awk/FIXES	Fri May  6 14:11:20 2011	(r221532)
+++ head/contrib/one-true-awk/FIXES	Fri May  6 14:21:46 2011	(r221533)
@@ -25,6 +25,11 @@ THIS SOFTWARE.
 This file lists all bug fixes, changes, etc., made since the AWK book
 was sent to the printers in August, 1987.
 
+May 6, 2011:
+	added #ifdef for isblank.
+	now allows -ffoo as well as -f foo arguments.
+	(thanks, ruslan)
+
 May 1, 2011:
 	after advice from todd miller, kevin lo, ruslan ermilov,
 	and arnold robbins, changed srand() to return the previous

Modified: head/contrib/one-true-awk/main.c
==============================================================================
--- head/contrib/one-true-awk/main.c	Fri May  6 14:11:20 2011	(r221532)
+++ head/contrib/one-true-awk/main.c	Fri May  6 14:21:46 2011	(r221533)
@@ -25,7 +25,7 @@ THIS SOFTWARE.
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-const char	*version = "version 20110501 (FreeBSD)";
+const char	*version = "version 20110506 (FreeBSD)";
 
 #define DEBUG
 #include <stdio.h>
@@ -95,7 +95,7 @@ int main(int argc, char *argv[])
 				safe = 1;
 			break;
 		case 'f':	/* next argument is program filename */
-			if (argv[1][2] != 0) {	/* arg is -fsomething */
+			if (argv[1][2] != 0) {  /* arg is -fsomething */
 				if (npfile >= MAX_PFILE - 1)
 					FATAL("too many -f options"); 
 				pfile[npfile++] = &argv[1][2];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105061421.p46ELk7F051954>