cvs commit: src/usr.sbin/pkg_install/lib file.c

[ Available lists | Index of cvs-all | Month of Oct 1998 | Week of 8 Oct 1998 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jordan K. Hubbard <jkh@FreeBSD.ORG>
Date
8 Oct 1998 17:01:48
Subject
cvs commit: src/usr.sbin/pkg_install/lib file.c
Message-ID
199810090001.RAA10312@freefall.freebsd.org


[ Hide this part ]
jkh         1998/10/08 17:01:17 PDT

Modified files:
usr.sbin/pkg_install/lib file.c
Log:
Use lstat() rather than stat in determining whether a file exists,
otherwise we'll miss the "symlink exists but points nowhere" case.
Submitted by: asami and/or possibly <ru@ucb.crimea.ua>

Revision Changes Path
1.33 +2 -2 src/usr.sbin/pkg_install/lib/file.c


Elapsed time: 0.057 seconds