mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
lzmainfo: Use fileno(stdin) instead of STDIN_FILENO.
This commit is contained in:
parent
acbc4cdecb
commit
825e859a90
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ main(int argc, char **argv)
|
||||||
parse_args(argc, argv);
|
parse_args(argc, argv);
|
||||||
|
|
||||||
#ifdef TUKLIB_DOSLIKE
|
#ifdef TUKLIB_DOSLIKE
|
||||||
setmode(STDIN_FILENO, O_BINARY);
|
setmode(fileno(stdin), O_BINARY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int ret = EXIT_SUCCESS;
|
int ret = EXIT_SUCCESS;
|
||||||
|
|
Loading…
Reference in a new issue