* java/io/natFile.cc (performSetReadOnly): Fix #ifdef test.
(performDelete): Fix #endif placement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41703
138bc75d-0d04-0410-961f-
82ee72b054a4
+2001-04-30 Matt Kraai <kraai@alumni.carnegiemellon.edu>
+
+ * java/io/natFile.cc (performSetReadOnly): Fix #ifdef test.
+ (performDelete): Fix #endif placement.
+
2001-04-27 Zack Weinberg <zackw@stanford.edu>
* prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
// FIXME?
buf[total] = '\0';
-#ifdef HAVE_STAT && HAVE_CHMOD
+#if defined (HAVE_STAT) && defined (HAVE_CHMOD)
struct stat sb;
if (::stat (buf, &sb))
return false;
#ifdef HAVE_RMDIR
if (! ::rmdir (buf))
return true;
-#endif // HAVE_RMDIR
if (errno == ENOTDIR)
+#endif // HAVE_RMDIR
return ::unlink (buf) == 0;
#endif // HAVE_UNLINK
return false;