Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b6ed73b1
Commit
b6ed73b1
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 TIME /T option.
parent
988ef41d
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 @
b6ed73b1
...
...
@@ -1311,10 +1311,13 @@ void WCMD_setshow_time (void) {
GetLocalTime
(
&
st
);
if
(
GetTimeFormat
(
LOCALE_USER_DEFAULT
,
0
,
&
st
,
NULL
,
curtime
,
sizeof
(
curtime
)))
{
WCMD_output
(
"Current Time is %s
\n
Enter new time: "
,
curtime
);
ReadFile
(
GetStdHandle
(
STD_INPUT_HANDLE
),
buffer
,
sizeof
(
buffer
),
&
count
,
NULL
);
if
(
count
>
2
)
{
WCMD_output
(
nyi
);
WCMD_output
(
"Current Time is %s
\n
"
,
curtime
);
if
(
strstr
(
quals
,
"/T"
)
==
NULL
)
{
WCMD_output
(
"Enter new time: "
,
curtime
);
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