error in pipe.c?

Tracy R Reed (treed@ultraviolet.org)
Wed, 5 Aug 1998 23:30:55 -0700 (PDT)


While investigating a crashing qmail, we discovered the following...

--
Tracy Reed      http://www.ultraviolet.org
We all live in a yellow subroutine. 

---------- Forwarded message ---------- Date: Thu, 6 Aug 1998 01:26:14 -0500 (EST) From: pacman@cqc.com To: djb-qmail@koobera.math.uic.edu Subject: Re: more qmail problems

Mark Delany writes the following: > >Why is the pipe system call returning 23? > >Does it mean -23? > >In which case, does it mean > >#define ENFILE 23 /* File table overflow */

Yep, I'd say it does.

/usr/src/linux/fs/pipe.c: int do_pipe(int *fd) { struct inode * inode; struct file *f1, *f2; int error; int i,j;

error = ENFILE; This should be "error = -ENFILE;"

Now one of us should tell linux-kernel@wherever.it.is

-- 
Alan Curry

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html