mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
smart sun
This commit is contained in:
parent
d7925b13e3
commit
6b32f96d74
1 changed files with 6 additions and 8 deletions
|
@ -16,14 +16,12 @@ Bgetch(Biobuf *b)
|
|||
{
|
||||
int c;
|
||||
|
||||
for(;;) {
|
||||
c = Bgetc(b);
|
||||
if(c == '#') {
|
||||
while((c = Bgetc(b)) != Beof && c != '\n')
|
||||
;
|
||||
}
|
||||
return c;
|
||||
}
|
||||
c = Bgetc(b);
|
||||
if(c == '#') {
|
||||
while((c = Bgetc(b)) != Beof && c != '\n')
|
||||
;
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue