cvs commit: src/usr.bin/checknr Makefile checknr.c

Chris Pressey cpressey at crater.dragonflybsd.org
Tue Mar 1 20:33:54 PST 2005


cpressey    2005/03/01 20:33:12 PST

DragonFly src repository

  Modified files:
    usr.bin/checknr      Makefile checknr.c 
  Log:
  Raise WARNS to 6:
  - Declare tables of commands as arrays of mutable string buffers
    instead of as arrays of string constants, and just copy new
    data into the table, instead of malloc()ing new space for it.
  
  Revision  Changes    Path
  1.2       +2 -1      src/usr.bin/checknr/Makefile
  1.9       +13 -20    src/usr.bin/checknr/checknr.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/checknr/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/checknr/checknr.c.diff?r1=1.8&r2=1.9&f=u





More information about the Commits mailing list