Re: execl bug?

2004-12-29 Thread Christopher Weimann
On 12/29/2004-06:10PM, Dan Nelson wrote: > > I think your problem here is with rewind(). There's nothing that says > it has to change the underlying filedescriptor; FreeBSD's fseek code > knows that the beginning of the file is still within its stdio buffer, > so it simply resets the seek offset

execl bug?

2004-12-29 Thread Christopher Weimann
It seems that the open handle is carried through and usable by the child program unless the parent has done something to move the file pointer. For example the program below (tst.c) opens a file, reads a line, rewinds then uses execl to call "cat -" which ought to send the file to stdout. I thoug

Re: Good Information about ipfw

2004-06-01 Thread Christopher Weimann
On 06/01/2004-11:59PM, Martes G Wigglesworth wrote: > Is there a good, definitive, source of information for implementing ipfw > firewall rules. I had to research for almost a week just to find out > how to do bandwidth limiting with freebsd. (3days just to find out if > freebsd does this, and th

Re: Replacing GNU grep revisited

2003-06-26 Thread Christopher Weimann
Here is a neat applet that shows how AC works. http://www-sr.informatik.uni-tuebingen.de/~buehler/AC/AC.html -- ------------ Christopher Weimann http://www.k12usa.com K12USA.com

Re: Replacing GNU grep revisited

2003-06-25 Thread Christopher Weimann
034033 Which pretty much squashes GNU grep. I wonder how many of the other old utils outrun our modern ones. I guess it must be all those gotos. :) -- -------- Christopher Weimann http:/

Re: tuning a CPU bound server

2002-05-22 Thread Christopher Weimann
On Wed, May 22, 2002 at 11:31:33PM +0200, Andre Oppermann wrote: > > > > But DJB does't maintain his code. I don't think it he has touched > > it in years. > > He maintains his code quite well. Thing is he only changes something > if there is something to change. In the case of qmail-1.03 this

Re: tuning a CPU bound server

2002-05-20 Thread Christopher Weimann
On Mon, May 20, 2002 at 12:52:09PM -0700, Terry Lambert wrote: > > The problem is that as you maintain your patches, and the patch > vendor maintains their patches, and DJB maintains his code, you > end up with network effects. > But DJB does't maintain his code. I don't think it he has touche

Re: Help: FreeBSD 4.3 to 4.5 upgrade problem using sysinstall script

2002-04-04 Thread Christopher Weimann
On Thu, Apr 04, 2002 at 09:56:39AM -0800, Koroush Saraf wrote: > > Howevever the problem is that it comes back and gives the following error: > ? Warning: Can't find the `4.3-RELEASE' distribution on this ? I think you need to use the new sysinstall from 4.5 rather than the old one from 4.3. I

Re: FreeBSD Floppy driver needs enhancement...

2002-01-10 Thread Christopher Weimann
On Thu, Jan 10, 2002 at 04:32:43PM -0500, Randell Jesup wrote: > > Back to the original question: do people care about floppies and > bad-sector recovery anymore? Aren't floppies on the very verge of > disappearing for good, replaced by CDRW's? > Mine will all disapear once I manage d