| # | Line 100 | Line 100 | int fd; | |
|---|---|---|
| 100 | char *bpos; | |
| 101 | int siz; | |
| 102 | { | |
| 103 | < | register int cc, nrem = siz; |
| 103 | > | register int cc = 0, nrem = siz; |
| 104 | ||
| 105 | while (nrem > 0 && (cc = read(fd, bpos, nrem)) > 0) { | |
| 106 | bpos += cc; | |
| # | Line 118 | Line 118 | int fd; | |
| 118 | char *bpos; | |
| 119 | int siz; | |
| 120 | { | |
| 121 | < | register int cc, nrem = siz; |
| 121 | > | register int cc = 0, nrem = siz; |
| 122 | ||
| 123 | while (nrem > 0 && (cc = write(fd, bpos, nrem)) > 0) { | |
| 124 | bpos += cc; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |