Date: Thu, 8 Oct 1998 17:49:26 -0700 (PDT) From: asami@FreeBSD.ORG (Satoshi Asami) To: jkh@FreeBSD.ORG Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/pkg_install/lib file.c Message-ID: <199810090049.RAA00671@bubble.didi.com> In-Reply-To: <199810090001.RAA10312@freefall.freebsd.org> (jkh@FreeBSD.ORG)
next in thread | previous in thread | raw e-mail | index | archive | help
* Use lstat() rather than stat in determining whether a file exists, * otherwise we'll miss the "symlink exists but points nowhere" case. I tought this was the fix to "can't list symlink to directory 'cause pkg_delete complains" problem. * Submitted by: asami and/or possibly <ru@ucb.crimea.ua> ^^^^^^^^^^^^^^^^ It's him! I just tested and forwarded the patch to you! :) Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810090049.RAA00671>