Dag-Erling Smorgrav wrote: > > Assar Westerlund <as...@sics.se> writes: > > Dag-Erling Smorgrav <d...@flood.ping.uio.no> writes: > > > + realpat = grep_malloc(strlen(pattern) + sizeof("^(") > > > + + sizeof(")$") + 1); > > Why not just use asprintf? > > Doesn't matter, thsis code is gone in the latest version. You though > the linux 'kernel of the day' was bad; now you have the FreeBSD 'grep > of the minute' :)
You guys need the infamous two-headed-editor from 'Dave-n-Val the two- headed programmer' at Weber State. It allows two programmers to edit the same file on two terminals; it displays the line of code the OTHER user's cursor is on in red and won't let your cursor on that line. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://softweyr.com/ w...@softweyr.com To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message