mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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
This commit is contained in:
committed by
Anthony Green
parent
27714d4372
commit
8fce9db014
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user