Ignore:
Timestamp:
Dec 1, 2005, 10:26:01 AM (14 years ago)
Author:
bcornec
Message:

Quality errors handled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-fork.c

    r130 r147  
    302302    int retval = 0;
    303303    int res = 0;
    304     int n = 0;
    305304    int i;
    306305
     
    344343        }
    345344    }
    346 #ifdef _XWIN
    347     /* This only can update when newline goes into the file,
    348        but it's *much* prettier/faster on Qt. */
    349     tmp = NULL;
    350     while (does_file_exist(lockfile)) {
    351         while (!feof(fin)) {
    352             if (!getline(&tmp, &n, fin))
    353                 break;
    354             log_to_screen(tmp);
    355         }
    356         usleep(500000);
    357     }
    358     paranoid_free(tmp);
    359 #else
    360345    /* This works on Newt, and it gives quicker updates. */
    361346    for (; does_file_exist(lockfile); sleep(1)) {
     
    363348        update_evalcall_form(1);
    364349    }
    365 #endif
    366350    /* Evaluate the status returned by pclose to get the exit code of the called program. */
    367351    errno = 0;
     
    905889    int res;
    906890    char *curr_fifo;
    907     char *prev_fifo;
     891    char *prev_fifo = NULL;
    908892    char *oldest_fifo = NULL;
    909893    char *next_fifo;
Note: See TracChangeset for help on using the changeset viewer.