Bug 351950. nsLocalFileUnix has "access"(system call) problem on Solaris.

r+sr=dougt.
This commit is contained in:
alfred.peng@sun.com
2006-12-06 03:58:48 +00:00
parent 0fe872d7ae
commit 135c845d66

View File

@@ -1249,9 +1249,11 @@ nsLocalFile::GetParent(nsIFile **aParent)
*/
#ifdef XP_BEOS
#if defined(XP_BEOS) || defined(SOLARIS)
// access() is buggy in BeOS POSIX implementation, at least for BFS, using stat() instead
// see bug 169506, https://bugzilla.mozilla.org/show_bug.cgi?id=169506
// access() problem also exists in Solaris POSIX implementation
// see bug 351595, https://bugzilla.mozilla.org/show_bug.cgi?id=351595
NS_IMETHODIMP
nsLocalFile::Exists(PRBool *_retval)
{