[Bug 16344] New: cmd.exe builtin time prints wrong message : current date instead of current time
http://bugs.winehq.org/show_bug.cgi?id=16344 Summary: cmd.exe builtin time prints wrong message : current date instead of current time Product: Wine Version: 1.1.9 Platform: All OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: le_afo(a)gmx.net Created an attachment (id=17657) --> (http://bugs.winehq.org/attachment.cgi?id=17657) patch for wine-1.1.9/programs/cmd/builtins.c cmd.exe builtin time command prints 'Current Date is' instead of 'Current Time is' coz wine-1.1.9/programs/cmd/builtins.c : WCMD_setshow_time uses LoadMessage( WCMD_CURRENTDATE, ...) instead of WCMD_CURRENTTIME(WCMD_CURRENTTIME, ... ) the following patch will fix it: --- wine-1.1.9/programs/cmd/builtins.c.orig 2008-11-21 17:20:28.000000000 +0 100 +++ wine-1.1.9/programs/cmd/builtins.c 2008-12-05 14:28:51.000000000 +0100 @@ -2135,7 +2135,7 @@ GetLocalTime(&st); if (GetTimeFormat (LOCALE_USER_DEFAULT, 0, &st, NULL, curtime, sizeof(curtime)/sizeof(WCHAR))) { - WCMD_output (WCMD_LoadMessage(WCMD_CURRENTDATE), curtime); + WCMD_output (WCMD_LoadMessage(WCMD_CURRENTTIME), curtime); if (strstrW (quals, parmT) == NULL) { WCMD_output (WCMD_LoadMessage(WCMD_NEWTIME)); WCMD_ReadFile (GetStdHandle(STD_INPUT_HANDLE), buffer, -- 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.
http://bugs.winehq.org/show_bug.cgi?id=16344 le_afo <le_afo(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |le_afo(a)gmx.net Difficulty|--- |Minutes Keywords| |patch --- Comment #1 from le_afo <le_afo(a)gmx.net> 2008-12-05 07:45:07 --- that was an easy one ;-) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=16344 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2008-12-05 12:08:36 --- Please send patches to wine-patches(a)winehq.org -- 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.
http://bugs.winehq.org/show_bug.cgi?id=16344 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|le_afo(a)gmx.net | OS/Version|All |other Platform|All |Other -- 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.
http://bugs.winehq.org/show_bug.cgi?id=16344 Christian Costa <titan.costa(a)wanadoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa(a)wanadoo.fr --- Comment #3 from Christian Costa <titan.costa(a)wanadoo.fr> 2009-01-02 06:08:26 --- Fix is in git. This bug can be closed now. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=16344 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #4 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-01-02 06:22:33 --- reported fixed -- 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.
http://bugs.winehq.org/show_bug.cgi?id=16344 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2009-01-02 10:34:17 --- Closing bugs fixed in 1.1.12. -- 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.
participants (1)
-
wine-bugs@winehq.org