|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
CVS: cvs.openbsd.org: src
From: Todd C. Miller (millert
cvs.openbsd.org)
Date: Sun Nov 14 2010 - 12:24:43 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CVSROOT: /cvs
Module name: src
Changes by: millert
cvs.openbsd.org 2010/11/14 11:24:43
Modified files:
usr.bin/diff : diffdir.c
Log message:
scandir() does not NULL-terminate the list of dirent structs so use
the returned count and set and end pointer instead. we no longer
need to allocate a dummy array when diffing against a non-existent
directory so eliminate slurpdir() and call scandir() directly.
OK krw
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]