svn commit: r221533 - head/contrib/one-true-awk
Ruslan Ermilov
ru at FreeBSD.org
Fri May 6 14:21:47 UTC 2011
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];
More information about the svn-src-head
mailing list