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

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Mon Apr 10 01:14:51 PDT 2006


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





More information about the Commits mailing list