cvs commit: src/lib/libc/gen basename.c

Jeroen Ruigrok/asmodai asmodai at crater.dragonflybsd.org
Sun Sep 18 04:58:40 PDT 2005


asmodai     2005/09/18 04:57:33 PDT

DragonFly src repository

  Modified files:
    lib/libc/gen         basename.c 
  Log:
  Synchronise with FreeBSD:
  
  Reduce libc.so's memory footprint by lazily allocating memory used internally
  by basename() and dirname().
  
  Furthermore:
  
  Drop sizeof(bname) and replace with MAXPATHLEN since that is what it boils
  down to.
  
  Revision  Changes    Path
  1.5       +12 -5     src/lib/libc/gen/basename.c


http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/basename.c.diff?r1=1.4&r2=1.5&f=u





More information about the Commits mailing list