Commit 8fce9db0 by Anthony Green Committed by Anthony Green

natFilePosix.cc (performSetLastModified): Return true on success, false otherwise.

2006-07-14  Anthony Green  <green@redhat.com>

	* java/io/natFilePosix.cc (performSetLastModified): Return true on
	success, false otherwise.

From-SVN: r115452
parent 27714d43
2006-07-14 Anthony Green <green@redhat.com>
* java/io/natFilePosix.cc (performSetLastModified): Return true on
success, false otherwise.
2006-07-14 Ranjit Mathew <rmathew@gcc.gnu.org>
* stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
......
......@@ -403,7 +403,7 @@ java::io::File::performSetLastModified (jlong time)
tb.actime = time / 1000;
tb.modtime = time / 1000;
return ::utime (buf, &tb);
return (::utime (buf, &tb) == 0);
#else
return false;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment