DragonFly commits List (threaded) for 2006-12
DragonFly BSD
DragonFly commits List (threaded) for 2006-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.bin/m4 Makefile eval.c expr.c extern.h gnum4.c look.c m4.1 main.c mdef.h misc.c pathnames.h stdd.h trace.c src/usr.bin/m4/TEST math.m4


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Dec 2006 13:29:02 -0800 (PST)

pavalos     2006/12/27 13:29:02 PST

DragonFly src repository

  Modified files:
    usr.bin/m4           Makefile eval.c expr.c extern.h gnum4.c 
                         look.c m4.1 main.c mdef.h misc.c 
                         pathnames.h stdd.h trace.c 
  Added files:
    usr.bin/m4/TEST      math.m4 
  Log:
  Sync with FreeBSD.  Notable changes:
  
  Kill extraneous whitespace.
  
  Flush streams before calling system() so that the output appears in the
  right place in the output stream when redirected to a file (when full
  buffering is enabled).
  
  Store a pointer to "null" in struct ndblock's defn member instead of a
  duplicate allocated on the heap; the address defn points to is significant,
  and is checked against the address of "null" in certain conditionals.
  
  Fix m4 to properly handle bitwise operators &, ^, and |. Fix operator
  precedence. Add short-circuit evaluation.
  
  Respect locale settings from the environment.
  
  Add a new m4 script to test the functionality of math operators in eval().
  
  Revision  Changes    Path
  1.3       +2 -3      src/usr.bin/m4/Makefile
  1.3       +20 -18    src/usr.bin/m4/eval.c
  1.4       +180 -161  src/usr.bin/m4/expr.c
  1.3       +6 -6      src/usr.bin/m4/extern.h
  1.3       +26 -26    src/usr.bin/m4/gnum4.c
  1.3       +4 -4      src/usr.bin/m4/look.c
  1.3       +15 -8     src/usr.bin/m4/m4.1
  1.3       +25 -20    src/usr.bin/m4/main.c
  1.3       +10 -10    src/usr.bin/m4/mdef.h
  1.3       +12 -12    src/usr.bin/m4/misc.c
  1.4       +1 -1      src/usr.bin/m4/pathnames.h
  1.3       +5 -5      src/usr.bin/m4/stdd.h
  1.3       +9 -9      src/usr.bin/m4/trace.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/eval.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/expr.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/extern.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/gnum4.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/look.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/m4.1.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/main.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/mdef.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/misc.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/pathnames.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/stdd.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/m4/trace.c.diff?r1=1.2&r2=1.3&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]