diff options
author | Anthony Green <green@redhat.com> | 2006-07-14 18:16:39 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2006-07-14 18:16:39 +0000 |
commit | 8fce9db0148391e5bc6853c413867a9810c68e75 (patch) | |
tree | edea7c3d4da01b817cda548b81c1fc89719415fe /libjava/java/io/natFilePosix.cc | |
parent | 27714d4372fb987b0680ebf509833b2dea5126fe (diff) | |
download | gcc-8fce9db0148391e5bc6853c413867a9810c68e75.zip gcc-8fce9db0148391e5bc6853c413867a9810c68e75.tar.gz gcc-8fce9db0148391e5bc6853c413867a9810c68e75.tar.bz2 |
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
Diffstat (limited to 'libjava/java/io/natFilePosix.cc')
-rw-r--r-- | libjava/java/io/natFilePosix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/io/natFilePosix.cc b/libjava/java/io/natFilePosix.cc index 356fc2e..ff634b0 100644 --- a/libjava/java/io/natFilePosix.cc +++ b/libjava/java/io/natFilePosix.cc @@ -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 |