Krystal, I built the fix on FreeBSD and it works fine.
OpenBSD doesn't have stat64(), NetBSD has stat64() but it just an alias to stat(). On all three systems stat() handles files > 2G without any issues. Moreover for this particular case we don't need stat64 because the code deals with pid file and it doubtly grows over 2GB. -Dmitry On 2013-08-07 06:31, Krystal Mok wrote: > Hi Dmitry, > > Thanks for taking care of this patch. Has it been confirmed that all BSD > variants are good to use stat instead of stat64? > > Regards, > Kris (kmo) > > > On Wed, Aug 7, 2013 at 3:30 AM, Dmitry Samersoff > <dmitry.samers...@oracle.com <mailto:dmitry.samers...@oracle.com>> wrote: > > Hi Everyone, > > Please review. > > stat64 replaced with plan stat. > > http://cr.openjdk.java.net/~dsamersoff/JDK-8021771/webrev.01/ > > -Dmitry > > -- > Dmitry Samersoff > Oracle Java development team, Saint Petersburg, Russia > * I would love to change the world, but they won't give me the sources. > > -- Dmitry Samersoff Oracle Java development team, Saint Petersburg, Russia * I would love to change the world, but they won't give me the source code.