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:
sth 2003-10-14 11:23:18 +00:00
parent eaf1f7afda
commit cfcc191aa5
1 changed files with 2 additions and 2 deletions

View File

@ -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);