Commit Graph

1370 Commits

Author SHA1 Message Date
Vitaliy Margolen 2d41fcd864 Kernel32 should create named objects with OBJ_OPENIF flag set.
Handle STATUS_OBJECT_NAME_EXISTS explicitly as it's not mapped with
RtlNtStatusToDosError.
2005-11-21 16:26:34 +00:00
Alexandre Julliard 86397e1d43 Fixed handling of mailslot read timeout to avoid compiler warnings. 2005-11-21 15:23:49 +00:00
Saulius Krasuckas de9d974f2f - ANSI SCSI revision is a hex number.
- Be more verbose with parser ERRs.
2005-11-21 11:59:03 +00:00
Alexandre Julliard e968628e6a Avoid setting the context before the thread has started running, it's
broken on most Windows versions.
2005-11-18 15:06:38 +00:00
Alexandre Julliard ba2cb7c97b Added a few more Unicode digits from Unicode version 4.1. 2005-11-18 12:15:59 +00:00
Dmitry Timoshkov ccf041a14d Use case insensitive comparison to check file extensions. 2005-11-18 12:06:57 +00:00
Robert Shearman eeb0062fbb The BOM doesn't need a DWORD sized variable, only a WCHAR one.
Don't increment the szFile pointer since we removed the BOM earlier
and it will cause the first real character of the INI file to be
skipped.
2005-11-17 11:05:46 +00:00
Detlef Riekenberg f81694cc0c Made test loadable on NT 3.51 again (GetDiskFreeSpaceExA not present). 2005-11-15 16:53:09 +00:00
Cihan Altinay 3167958b3b Disable PARMRK input flag of serial ports. 2005-11-15 16:51:28 +00:00
Paul Vriens 17cbf1cbca Corrected last error information.
Make sure we can run the tests on win9x.
2005-11-15 12:00:41 +00:00
Eric Pouech ca4ae96f33 NtReadFile: now returning correct status in NtReadFile for EOF
conditions (on files) and broken pipe (on named pipes).
2005-11-14 15:11:11 +00:00
Eric Pouech ff6d30e485 Fix set_test_val function declaration to ensure stack is left
untouched.
2005-11-14 11:23:11 +00:00
Paul Vriens 7aa2e18c29 Add some extra error information. 2005-11-12 19:11:05 +00:00
Phil Lodwick bf8319fdd5 prefix can be NULL for GetTempFileNameW. 2005-11-12 19:09:06 +00:00
Vincent Béron 182cabea90 Protect sys/stat.h with a conditional. 2005-11-11 10:53:30 +00:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Francois Gouget 2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Saulius Krasuckas 63f8bdaa4e Add error code valid for Win9x and XP. 2005-11-10 11:16:20 +00:00
Robert Lunnon 53b4c0f646 Implement GlobalMemoryStatusEx for Solaris. 2005-11-08 16:10:01 +00:00
Saulius Krasuckas 7ff494101a Take into account some alignment done by HeapAlloc() on Win9x. 2005-11-08 16:09:44 +00:00
Markus Amsler b8d9b6192d Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-08 11:01:03 +00:00
Uwe Bonnes cb971b3def More verbose output when unhandled exception occurs. 2005-11-04 11:42:48 +00:00
Alexandre Julliard 6ed28ada49 Fixed fd leaks (spotted by Cihan Altinay). 2005-11-03 11:38:48 +00:00
Alexandre Julliard 73c72390f8 Fixed Get/SetThreadContext to work properly on suspended threads.
Added a test case.
2005-11-02 20:54:12 +00:00
Alexandre Julliard ff7795ef4c Don't send an extra signal when waiting for a debug event, just do a
normal wait.  Return the debug event status directly as return value
of the server call.
2005-11-01 21:47:07 +00:00
Bernd Schmidt 60fc2425e3 Implemented FindExSearchLimitToDirectories. 2005-11-01 21:37:05 +00:00
Marcus Meissner 5c256c518f Define obsoleted CLK_TCK to CLOCKS_PER_SEC if not there. 2005-10-31 10:04:57 +00:00
Eric Pouech 289889c9ec Implemented local/global atom creation, deletion & lookup on top of
ntdll.
2005-10-29 12:37:42 +00:00
Saulius Krasuckas f91b3ae3e4 Test CreateThread() for reception of NULL pointer to TID. 2005-10-28 10:41:57 +00:00
Saulius Krasuckas d2e0d5e8bd Don't send a CTRL_C_EVENT signal to console if we are on Win9x and
console signal handler is set to NULL.
2005-10-28 10:40:42 +00:00
Saulius Krasuckas 02a810f10c Add a test for GetThreadExitCode.
Use GetModuleHandleA as kernel32 should be present on every system.
2005-10-28 09:40:09 +00:00
Uwe Bonnes 457ece155f Test for argv handling. 2005-10-27 10:25:49 +00:00
Alexandre Julliard a51f2becf6 In FindNextFileExW don't report directory symlinks that point to one
of the parent directories, to avoid infinite recursions.
2005-10-26 13:57:45 +00:00
Vitaliy Margolen c3bb842237 Test for return value from CreateDirectory("c:"). 2005-10-26 10:08:20 +00:00
Rein Klazes 551ef36517 In GetDiskFreeSpace:
- only cap the total size and available size to 2GB in Win3.x thru
  WinME;
- in that case adjust number of clusters to be less then 65536 by
  increasing the cluster size;
- add corresponding tests.
2005-10-20 11:36:40 +00:00
Vitaliy Margolen 64896241b8 LoadLibrary should ignore trailing spaces in the library name. 2005-10-18 14:10:56 +00:00
Alexandre Julliard 7886cacbf5 Revert previous change, OF_EXIST really returns HFILE_ERROR. 2005-10-18 10:39:15 +00:00
Uwe Bonnes dbdf3df4d9 Remove unspecific FIXME. 2005-10-17 09:23:22 +00:00
Alexandre Julliard 7c871f0ce4 Ignore empty environment strings. 2005-10-17 08:56:41 +00:00
Detlef Riekenberg 9d7c5911be NT3.51 returns ERROR_MORE_DATA. 2005-10-11 19:58:38 +00:00
Mike McCormack 4e700d36e0 Make sure not to strcpy from a NULL default value pointer. 2005-10-11 19:27:03 +00:00
Maxime Bellengé 91ff09b679 In case of failure and OF_EXIST is specified, return FALSE instead of
HFILE_ERROR.
2005-10-10 11:19:31 +00:00
Christian Costa dd3d1e389a Add trace to DefineDosDevice. 2005-10-10 10:44:35 +00:00
Marcus Meissner 4a7666190f Pass characters to get_file_name() helper, not bytes. 2005-10-10 10:28:48 +00:00
Vitaliy Margolen 593ab4cac4 Fix atom tests on win9x. 2005-10-06 11:35:32 +00:00
Joshua Davies dcba743bd1 Windows is returning the length of the string, plus the CRLF
delimiters, whereas wineconsole is returning one less.
2005-10-06 11:35:24 +00:00
Vitaliy Margolen eabc93a1eb Add brackets around (a)?b:c construct. 2005-10-06 11:32:53 +00:00
Alexandre Julliard 2bbf1b5baf Set WINEDEBUG to an empty value instead of removing it so that it gets
properly cleared in the debugger.
2005-10-04 18:14:22 +00:00
Alexandre Julliard ce1196a84b Copy WINEDEBUG from the Windows environment to allow passing a
modified value to a child process.
2005-10-04 18:09:51 +00:00
Vitaliy Margolen 7e9b17f745 Add brackets around (a)?b:c construct. 2005-09-30 10:33:43 +00:00