Date: Mon, 23 Dec 2002 20:19:47 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 22691 for review Message-ID: <200212240419.gBO4JlpN016744@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22691 Change 22691 by rwatson@rwatson_paprika on 2002/12/23 20:19:27 If generating ACL from stat() results, obey h flag and use lstat. Affected files ... .. //depot/projects/trustedbsd/acl/bin/getfacl/getfacl.c#5 edit Differences ... ==== //depot/projects/trustedbsd/acl/bin/getfacl/getfacl.c#5 (text+ko) ==== @@ -154,7 +154,10 @@ char *acl_text; int error; - error = stat(path, &sb); + if (hflag) + error = lstat(path, &sb); + else + error = stat(path, &sb); if (error == -1) { warn("%s", path); return(-1); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212240419.gBO4JlpN016744>