Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/sysklogd/logread.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 135  int logread_main(int argc UNUSED_PARAM, Line 135  int logread_main(int argc UNUSED_PARAM,
135   } else { /* logread -f */   } else { /* logread -f */
136   if (cur == shbuf_tail) {   if (cur == shbuf_tail) {
137   sem_up(log_semid);   sem_up(log_semid);
138   fflush(stdout);   fflush_all();
139   sleep(1); /* TODO: replace me with a sleep_on */   sleep(1); /* TODO: replace me with a sleep_on */
140   continue;   continue;
141   }   }

Legend:
Removed from v.983  
changed lines
  Added in v.984