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

cvs commit: src/usr.bin/patch backupfile.c inp.c patch.c pch.c util.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Apr 2006 01:11:43 -0700 (PDT)

joerg       2006/04/10 01:11:43 PDT

DragonFly src repository

  Modified files:
    usr.bin/patch        backupfile.c inp.c patch.c pch.c util.c 
  Log:
  Improve portability of patch(1):
  - basename(3) and dirname(3) can either return a pointer to
    static storage (like on all BSDs) or modify the argument
    (like on Linux). strdup the argument to support both.
  - fix argument range of ctype macros.
  
  Revision  Changes    Path
  1.3       +15 -4     src/usr.bin/patch/backupfile.c
  1.4       +14 -5     src/usr.bin/patch/inp.c
  1.5       +5 -5      src/usr.bin/patch/patch.c
  1.3       +23 -23    src/usr.bin/patch/pch.c
  1.7       +4 -4      src/usr.bin/patch/util.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/backupfile.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/inp.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/patch.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/pch.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/util.c.diff?r1=1.6&r2=1.7&f=u



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