| plan 9 kernel history: overview | file list | diff list |
1993/0330/port/stfcall.c (diff list | history)
| 1993/0330/sys/src/9/port/stfcall.c:158,166 – 1993/0410/sys/src/9/port/stfcall.c:158,173 (short | long | prev | next) | ||
| 1992/0320 | if(q->len < len) return; | |
| 1993/0410 | /* * the lock here is wrong. it should be a qlock since * the pullup may block. not worth fixing. */ lock(q); bp = q->first = pullup(q->first, len); if(bp == 0) q->len = 0; unlock(q); | |
| 1992/0320 | need = len+bp->rptr[off]+(bp->rptr[off+1]<<8); if(q->len < need) return; | |