DragonFly users List (threaded) for 2005-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Stdio and DragonFly changes
I'm looking at a codefragment like this:
if (stdin->_bf._size > 0)
return 1;
DragonFly's FILE struct has no _bf record. I think this code is
trying to see if anything is in the stdin buffer. What would the
proper way be on DragonFly? I'm thinking:
if (stdin->_lbfsize > 0)
return 1;
as a wild uneducated guess.
------
Dave Hayes - Consultant - Altadena CA, USA - dave@xxxxxxxxxxx
>>> The opinions expressed above are entirely my own <<<
To me, it's a good idea to always carry two sacks of
something when you walk around. That way, if anybody says,
"Hey, can you give me a hand?" You can say, "Sorry, got
these sacks."
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]