http://bugs.winehq.org/show_bug.cgi?id=16386 --- Comment #5 from Vasya Pupkin <j3qq4h7h2v(a)gmail.com> 2008-12-24 13:12:15 ---
+ * RETURNS + * 0 if an error occurred, non-zero for success
Alexander, did you understand what you doing? You write an empty string in lpTargetBuffer and return success code regardless of lpSource and lpExename at all. As a result, software, which uses this function, will think, that ANY command is alias, which points to an empty string. That why "invalid commands like "asdf" produce no output" in FAR - they are just not executed, because those "asdf" is replaced with space. This function is stub, and it must ALWAYS return zero and don't touch lpTargetBuffer: DWORD WINAPI GetConsoleAliasW(LPWSTR lpSource, LPWSTR lpTargetBuffer, DWORD TargetBufferLength, LPWSTR lpExename) { SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return 0; } -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.