| # | Line 9 | Line 9 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 9 | ||
| 10 | #include "copyright.h" | |
| 11 | ||
| 12 | + | #include <stdio.h> |
| 13 | + | |
| 14 | #include "color.h" | |
| 15 | ||
| 16 | #include "driver.h" | |
| # | Line 82 | Line 84 | register struct driver *d; | |
| 84 | for (cp = mybuf; *cp; cp++) | |
| 85 | ; | |
| 86 | comstart = cp; | |
| 87 | < | while (*cp++ = *b) |
| 87 | > | while ( (*cp++ = *b) ) |
| 88 | if (cp >= mybuf+sizeof(mybuf)) { | |
| 89 | *comstart = '\0'; | |
| 90 | return; /* what should I do about this? */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |