Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Weirdness in comm(1)

On Fri, Nov 27, 2009 at 10:30:25AM -0500, D'Arcy J.M. Cain wrote:
> Here's a little script that shows the issue.  The attached patch fixes
> it.  Id does make it a bit busier but comm(1) would work right.  Unless
> someone has a reason not to I will commit this later today.

Please use getline instead and just make line1 and line2 dynamically
allocated. There is no point in having a line limit here and getline is
reasonable efficient.


Home | Main Index | Thread Index | Old Index