CVSROOT: /cvs Module name: src Changes by: [email protected] 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@
