public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "jojelino at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/52344] New: [4.x regression] _Jv_platform_nanotime of win32.cc is wrong Date: Wed, 22 Feb 2012 21:03:00 -0000 [thread overview] Message-ID: <bug-52344-8172@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52344 Bug #: 52344 Summary: [4.x regression] _Jv_platform_nanotime of win32.cc is wrong Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcj AssignedTo: unassigned@gcc.gnu.org ReportedBy: jojelino@gmail.com just one liner. diff --git a/libjava/win32.cc b/libjava/win32.cc index 6a1c2c7..4a0503d 100644 --- a/libjava/win32.cc +++ b/libjava/win32.cc @@ -285,7 +285,7 @@ _Jv_platform_gettimeofday () jlong _Jv_platform_nanotime () { - return _Jv_platform_gettimeofday () * 1000LL; + return _Jv_platform_gettimeofday () * 1000000LL; } static bool dirExists (LPCTSTR dir) posix.cc has correct implementation which multiples 1000000.
reply other threads:[~2012-02-22 21:03 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-52344-8172@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).