Adam Megacz
c2a6704f60
win32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it.
...
2002-04-23 Adam Megacz <adam@xwt.org>
* win32.cc, include/win32.cc (backtrace): Added this function
because Win32 does not supply it.
From-SVN: r52701
2002-04-24 01:33:19 +00:00
Adam King
455cd615c2
natSystem.cc (init_properties): Call new function _Jv_platform_initProperties.
...
2002-04-07 Adam King <aking@dreammechanics.com>
* java/lang/natSystem.cc (init_properties): Call new function
_Jv_platform_initProperties.
* win32 (_Jv_platform_initProperties): New function that adds Win32
support for the System properties os.name, os.arch, os.version,
user.name, user.home, and user.dir.
* include/posix.h, include/win32.h, posix.cc: New function
_Jv_platform_initProperties.
From-SVN: r51989
2002-04-07 12:27:00 +01:00
Adam Megacz
c77567790f
win32.h (_Jv_platform_close_on_exec): added inline modifier.
...
2002-04-04 Adam Megacz <adam@xwt.org>
* include/win32.h (_Jv_platform_close_on_exec): added inline
modifier.
From-SVN: r51899
2002-04-05 04:22:28 +00:00
Tom Tromey
0c1fcb02b1
Win32Process.java: Added comment.
...
* java/lang/Win32Process.java: Added comment.
* include/posix.h (_Jv_platform_close_on_exec): New function.
Include fcntl.h.
* include/win32.h (_Jv_platform_close_on_exec): New function.
* java/net/natPlainSocketImpl.cc (create): Set close-on-exec
flag.
(accept): Likewise.
* java/net/natPlainDatagramSocketImpl.cc (create): Set
close-on-exec flag.
* java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
flag.
From-SVN: r50536
2002-03-10 17:59:23 +00:00
Adam Megacz
8eeda6e0e7
win32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong.
...
2002-03-07 Adam Megacz <adam@xwt.org>
* win32.cc (_Jv_platform_gettimeofday): Now takes no args,
returns jlong. Added implementation
* posix.cc (_Jv_platform_gettimeofday): Now takes no args,
returns jlong.
* win32.h (_Jv_platform_gettimeofday): Now takes no args,
returns jlong.
* posix.h (_Jv_platform_gettimeofday): Now takes no args,
returns jlong.
* java/lang/natSystem.cc (currentTimeMillis): Now uses updated
_Jv_platform_gettimeofday signature.
From-SVN: r50416
2002-03-08 01:03:56 +00:00
Adam Megacz
b32d2321aa
win32.h: Added _Jv_platform_gettimeofday.
...
2002-02-11 Adam Megacz <adam@xwt.org>
* include/win32.h: Added _Jv_platform_gettimeofday.
* win32.cc (_Jv_platform_gettimeofday): Added dummy function.
From-SVN: r49693
2002-02-12 02:25:07 +00:00
Tom Tromey
73272ce608
prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
...
* prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
* win32.cc (win32_exception_handler): Now static.
* include/win32.h (_Jv_platform_initialize): Declare.
(win32_exception_handler): Don't declare.
* java/lang/natSystem.cc (currentTimeMillis): Use
_Jv_platform_gettimeofday.
* posix.cc (_Jv_platform_gettimeofday): Renamed.
(_Jv_select): Use new name.
(_Jv_platform_initialize): New function.
* include/posix.h (_Jv_platform_gettimeofday): Renamed from
_Jv_gettimeofday.
(_Jv_platform_initialize): Declare.
From-SVN: r49583
2002-02-07 18:59:52 +00:00
Adam Megacz
b8fe3c1e06
configure.in: Changed mingw) to *mingw*).
...
2002-02-06 Adam Megacz <adam@xwt.org>
* configure.in: Changed mingw) to *mingw*).
* win32.cc: Created this file.
* win32.h: Created this file.
* win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
win32_exception_handler from prims.cc to win32.cc, added
header in win32.h.
* prims.cc: removed some #ifdef-WIN32'd headers which are no
longer needed now that we have platform.h
From-SVN: r49566
2002-02-07 05:26:42 +00:00