Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
988ef41d
Commit
988ef41d
authored
Mar 08, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Mar 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd.exe: Support DATE /T option.
parent
91aa8a0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
builtins.c
programs/cmd/builtins.c
+7
-4
No files found.
programs/cmd/builtins.c
View file @
988ef41d
...
...
@@ -1133,10 +1133,13 @@ void WCMD_setshow_date (void) {
if
(
lstrlen
(
param1
)
==
0
)
{
if
(
GetDateFormat
(
LOCALE_USER_DEFAULT
,
0
,
NULL
,
NULL
,
curdate
,
sizeof
(
curdate
)))
{
WCMD_output
(
"Current Date is %s
\n
Enter new date: "
,
curdate
);
ReadFile
(
GetStdHandle
(
STD_INPUT_HANDLE
),
buffer
,
sizeof
(
buffer
),
&
count
,
NULL
);
if
(
count
>
2
)
{
WCMD_output
(
nyi
);
WCMD_output
(
"Current Date is %s
\n
"
,
curdate
);
if
(
strstr
(
quals
,
"/T"
)
==
NULL
)
{
WCMD_output
(
"Enter new date: "
);
ReadFile
(
GetStdHandle
(
STD_INPUT_HANDLE
),
buffer
,
sizeof
(
buffer
),
&
count
,
NULL
);
if
(
count
>
2
)
{
WCMD_output
(
nyi
);
}
}
}
else
WCMD_print_error
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment