mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
cmd: Fix 'SET =' invocation.
It should produce an error, not print the whole environment. Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
46659281bf
commit
cc1baab8bb
Notes:
Alexandre Julliard
2024-10-04 22:11:51 +02:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6615
2 changed files with 2 additions and 2 deletions
|
@ -3017,7 +3017,7 @@ RETURN_CODE WCMD_setshow_env(WCHAR *s)
|
|||
BOOL status;
|
||||
WCHAR string[MAXSTRING];
|
||||
|
||||
if (param1[0] == 0x00 && quals[0] == 0x00) {
|
||||
if (!*s) {
|
||||
WCHAR *env = GetEnvironmentStringsW();
|
||||
WCMD_setshow_sortenv( env, NULL );
|
||||
FreeEnvironmentStringsW(env);
|
||||
|
|
|
@ -712,7 +712,7 @@ prompt XbarX
|
|||
prompt YfooY
|
||||
'prompt' YfooY
|
||||
promptYfooY
|
||||
@todo_wine@------------ Testing 'choice' ------------
|
||||
------------ Testing 'choice' ------------
|
||||
Example message [A,B,C]?A@or_broken@choice unavailable
|
||||
1@or_broken@9009
|
||||
Example message [A,B,C]?B@or_broken@choice unavailable
|
||||
|
|
Loading…
Reference in a new issue