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

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


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 18 Sep 2005 04:57:33 -0700 (PDT)

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



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