Change setlinebuf() to setbuf(), which is also availabel for MSVS
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1524 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
eaf1f7afda
commit
cfcc191aa5
|
@ -369,8 +369,8 @@ int main(int argc, char * const argv[])
|
||||||
int action_count = 0;
|
int action_count = 0;
|
||||||
const char *opt_driver = NULL;
|
const char *opt_driver = NULL;
|
||||||
|
|
||||||
setlinebuf(stderr);
|
setbuf(stderr, NULL);
|
||||||
setlinebuf(stdout);
|
setbuf(stdout, NULL);
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
c = getopt_long(argc, argv, "nlfr:qds:DRc:aw", options, &long_optind);
|
c = getopt_long(argc, argv, "nlfr:qds:DRc:aw", options, &long_optind);
|
||||||
|
|
Loading…
Reference in New Issue