Module Name: src
Committed By: martin
Date: Mon Sep 22 11:19:20 UTC 2014
Modified Files:
src/lib/libutil [netbsd-7]: getdiskrawname.c
Log Message:
Pull up following revision(s) (requested by mlelstv in ticket #117):
lib/libutil/getdiskrawname.c: revision 1.3
lib/libutil/getdiskrawname.c: revision 1.4
lib/libutil/getdiskrawname.c: revision 1.5
- use a private buffer to resolve symlinks, the previous code was broken
- factored out symlink handling
- handle relative symlinks now
- handle device paths that do not contain a '/'.
use the passed parameter instead of PATH_MAX. Change signedness
of nlen.
KNF, sign cast.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 src/lib/libutil/getdiskrawname.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.