|
From: | Paul Eggert |
Subject: | bug#12632: file permissions checking mishandled when setuid |
Date: | Tue, 23 Oct 2012 13:01:39 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 |
On 10/23/2012 12:50 PM, Eli Zaretskii wrote: > Just file_directory_p is enough Thanks, I'll simplify that part to: bool file_accessible_directory_p (char const *file) { #ifdef DOS_NT /* There's no need to test whether FILE is searchable, as the searchable/executable bit is invented on DOS_NT platforms. */ return file_directory_p (file); #else ... same as before ... #endif }
[Prev in Thread] | Current Thread | [Next in Thread] |