git: m4: Sync with FreeBSD.

Peter Avalos pavalos at crater.dragonflybsd.org
Tue Jan 15 03:51:30 PST 2013


commit 4afad3d8f675d4c7d767e86520a3c2eda3d56658
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Mon Jan 14 21:59:24 2013 -0800

    m4: Sync with FreeBSD.
    
    This improves compat with GNU m4 and brings the code closer to NetBSD
    and OpenBSD.
    
    Obtained-from:  FreeBSD

Summary of changes:
 usr.bin/m4/Makefile                    |  18 +-
 usr.bin/m4/NOTES                       |  18 +-
 usr.bin/m4/TEST/ack.m4                 |   8 +-
 usr.bin/m4/TEST/hanoi.m4               |   8 +-
 usr.bin/m4/TEST/hash.m4                |   8 +-
 usr.bin/m4/TEST/math.m4                |   3 +-
 usr.bin/m4/TEST/sqroot.m4              |   8 +-
 usr.bin/m4/TEST/string.m4              |   8 +-
 usr.bin/m4/TEST/test.m4                |   8 +-
 usr.bin/m4/eval.c                      | 411 ++++++++++-----------
 usr.bin/m4/expr.c                      | 647 ++-------------------------------
 usr.bin/m4/extern.h                    | 118 +++---
 usr.bin/m4/gnum4.c                     | 291 +++++++++++----
 usr.bin/m4/lib/ohash.h                 |  74 ++++
 usr.bin/m4/lib/ohash_create_entry.c    |  40 ++
 usr.bin/m4/lib/ohash_delete.c          |  33 ++
 usr.bin/m4/lib/ohash_do.c              | 113 ++++++
 usr.bin/m4/lib/ohash_entries.c         |  28 ++
 usr.bin/m4/lib/ohash_enum.c            |  39 ++
 usr.bin/m4/lib/ohash_init.3            | 231 ++++++++++++
 usr.bin/m4/lib/ohash_init.c            |  43 +++
 usr.bin/m4/lib/ohash_int.h             |  21 ++
 usr.bin/m4/lib/ohash_interval.3        |  92 +++++
 usr.bin/m4/lib/ohash_interval.c        |  38 ++
 usr.bin/m4/lib/ohash_lookup_interval.c |  70 ++++
 usr.bin/m4/lib/ohash_lookup_memory.c   |  67 ++++
 usr.bin/m4/lib/ohash_qlookup.c         |  29 ++
 usr.bin/m4/lib/ohash_qlookupi.c        |  31 ++
 usr.bin/m4/look.c                      | 273 ++++++++++----
 usr.bin/m4/m4.1                        | 513 ++++++++++++++------------
 usr.bin/m4/main.c                      | 578 ++++++++++++++---------------
 usr.bin/m4/mdef.h                      | 104 +++---
 usr.bin/m4/misc.c                      | 178 ++++++---
 usr.bin/m4/parser.y                    |  92 +++++
 usr.bin/m4/pathnames.h                 |  25 +-
 usr.bin/m4/stdd.h                      |  11 +-
 usr.bin/m4/tokenizer.l                 | 111 ++++++
 usr.bin/m4/trace.c                     | 118 ++----
 38 files changed, 2654 insertions(+), 1852 deletions(-)
 create mode 100644 usr.bin/m4/lib/ohash.h
 create mode 100644 usr.bin/m4/lib/ohash_create_entry.c
 create mode 100644 usr.bin/m4/lib/ohash_delete.c
 create mode 100644 usr.bin/m4/lib/ohash_do.c
 create mode 100644 usr.bin/m4/lib/ohash_entries.c
 create mode 100644 usr.bin/m4/lib/ohash_enum.c
 create mode 100644 usr.bin/m4/lib/ohash_init.3
 create mode 100644 usr.bin/m4/lib/ohash_init.c
 create mode 100644 usr.bin/m4/lib/ohash_int.h
 create mode 100644 usr.bin/m4/lib/ohash_interval.3
 create mode 100644 usr.bin/m4/lib/ohash_interval.c
 create mode 100644 usr.bin/m4/lib/ohash_lookup_interval.c
 create mode 100644 usr.bin/m4/lib/ohash_lookup_memory.c
 create mode 100644 usr.bin/m4/lib/ohash_qlookup.c
 create mode 100644 usr.bin/m4/lib/ohash_qlookupi.c
 create mode 100644 usr.bin/m4/parser.y
 create mode 100644 usr.bin/m4/tokenizer.l

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4afad3d8f675d4c7d767e86520a3c2eda3d56658


-- 
DragonFly BSD source repository



More information about the Commits mailing list