Changes to qemacs/unix.c
Charlie Gordon <[email protected]> Wed, 11 May 2005 11:12:18 -0400
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <[email protected]> |
Index: qemacs/unix.c
diff -u qemacs/unix.c:1.2 qemacs/unix.c:1.3
--- qemacs/unix.c:1.2 Wed May 4 19:27:36 2005
+++ qemacs/unix.c Wed May 11 15:12:14 2005
@@ -198,7 +198,7 @@
cur_time = get_clock_ms();
timeout = cur_time + max_delay;
pt = &first_timer;
- for(;;) {
+ for (;;) {
ti = *pt;
if (ti == NULL)
break;
@@ -255,7 +255,7 @@
/* call each handler */
if (ret > 0) {
uh = url_handlers;
- for(i = 0;i <= url_fdmax; i++) {
+ for (i = 0;i <= url_fdmax; i++) {
if (FD_ISSET(i, &rfds)) {
uh->read_cb(uh->read_opaque);
call_bottom_halves();
@@ -269,7 +269,7 @@
}
/* handle terminated children */
- for(;;) {
+ for (;;) {
if (list_empty(&pid_handlers))
break;
pid = waitpid(-1, &status, WNOHANG);
@@ -289,7 +289,7 @@
{
url_block_reset();
init(opaque);
- for(;;) {
+ for (;;) {
if (url_exit_request)
break;
url_block();