[Bug 606] libgsmd-tool buffers its output

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Mon Jun 18 14:32:36 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=606





------- Additional Comments From pavel at ucw.cz  2007-06-18 14:32 -------
Actually, it is probably better to just stick fflush(stdout)

        while (1) {
                fd_set readset;
                int gsm_fd = lgsm_fd(lgsmh);
                FD_SET(0, &readset);
                FD_SET(gsm_fd, &readset);

                rc = select(gsm_fd+1, &readset, NULL, NULL, NULL);
                if (rc <= 0)
                        break;

...just before the select() in shell.c



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list