[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


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

...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