Displaying 7 results from an estimated 7 matches for "_open_osfhandle".
2004 Nov 13
0
Sanity check for win32-file
...run this:
require "win32/file"
fh = File.nopen("C:\\test.txt")
fh.close
I now get:
test.rb:12:in `initialize'': Invalid argument (Errno::EINVAL)
from test.rb:12:in `nopen''
Specifically, it''s failing on this in file.c:
args[0] = UINT2NUM(_open_osfhandle((long)h,O_RDWR));
self = rb_class_new_instance(1,args,rb_cFile); // BOOM
How could this work yesterday, and suddenly stop working today? What am I
missing?
Dan
2004 Nov 11
3
File.nopen alpha
Hi all,
I''ve committed an alpha version of File.nopen (native open) to
win32-file. This is a wrapper for CreateFile(). A quick synopsis:
* File.nopen(file,access_mode,share_mode,creation_mode,flags)
*
* A ''native'' open method. This uses CreateFile() behind the scenes
instead of
* the _open() function. This allows much greater flexibility when it
comes
* to
2014 Feb 13
3
Libguestfs (1.22.6) driver/changes for mingw/win32
Hi,
I attached the changes I made to a vanilla libguestfs-1.22.6 in order to
make it work in mingw/win32.
Added is also the patch required to make QEMU compatible (add a command to
QMP that lists the supported devices (the regilat way you do it print it to
stderr, which is difficult to redirect in win32)).
This is done on behalf of Intel Corp.
Thanks,
Or (oberon in irc)
2014 Feb 20
0
Wine release 1.7.13
...ease when copying FADF_RECORD arrays.
oleaut32: No need to VariantClear() before VariantCopy().
ole32/tests: Handle context generation failure better.
Piotr Caban (2):
msvcrt/tests: Don't pass path containing spaces to _spawnvp.
msvcrt: Return error on invalid handle in _open_osfhandle.
Stefan D?singer (7):
wined3d: Don't use NP2 repacking for RECT textures.
wined3d: Reject height scaled repacked np2 textures.
d3d9/tests: Clean up yuv_color_test.
d3d9/tests: Skip YUV tests if the formats cannot be converted.
d3d9/tests: Add a test for sub resour...
2007 Jan 25
0
Wine release 0.9.30
...itmap bits in a device dependent format.
Duane Clark (1):
treeview: Fix horizontal scrolling.
Eric Pouech (3):
winedump: Fixed signature for dumping MDMP files.
dbghelp: Removed unneeded code from rewrite of .gnu_link handling.
msvcrt: Fix the internal flag computation for _open_osfhandle.
Felix Nawothnig (2):
kernel32: Forward CopyLZFile() to LZCopy() instead of wrapping it.
comctl32: Degrade ERR to WARN.
Francois Gouget (36):
wininet: Consistenly use INTERNET_SetLastError().
uninstaller: Add a Portuguese translation (contributed by Americo Jose Melo)....
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here:
https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw
This is the port to Windows using native Windows APIs (not MSYS or
Cygwin).
This patch series is at the point where it basically now works. I can
run the server with the memory plugin, and access it remotely using
guestfish, creating filesystems and so on without any apparent
problems.
Nevertheless there are many
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here:
https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib
After a lot of work I have made the port to Windows work without using
a separate library. Instead, on Windows only, we build an "import
library" (library of stubs) which resolves references to nbdkit_*
functions in the main program and fixes up the plugin, basically the
first technique outlined in