mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-11 16:21:12 +00:00
commit
eda7344f34
@ -88,21 +88,21 @@ int setup_console ()
|
|||||||
|
|
||||||
if (_setmode (_fileno (stdin), _O_BINARY) == -1)
|
if (_setmode (_fileno (stdin), _O_BINARY) == -1)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "%s: %s", "stdin", strerror (errno));
|
__mingw_fprintf (stderr, "%s: %m", "stdin");
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_setmode (_fileno (stdout), _O_BINARY) == -1)
|
if (_setmode (_fileno (stdout), _O_BINARY) == -1)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "%s: %s", "stdin", strerror (errno));
|
__mingw_fprintf (stderr, "%s: %m", "stdin");
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_setmode (_fileno (stderr), _O_BINARY) == -1)
|
if (_setmode (_fileno (stderr), _O_BINARY) == -1)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "%s: %s", "stdin", strerror (errno));
|
__mingw_fprintf (stderr, "%s: %m", "stdin");
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user