lkml.org 
[lkml]   [1999]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] FD array expansion problem


On Sat, 30 Oct 1999, Savochkin Andrey Vladimirovich wrote:
>
> I've spotted a bug in the dynamic fd array expansion code.
> Here is the patch which
> - fixes wrong parameters of expand_fdset() and expand_fd_array() calls
> in expand_files() and get_unused_fd(); and
> - moves expand_files() function from sched.h to fs/fcntl.c.

You seem to have done the "+1" twice (once in expand_fdset(), once in the
caller).. That can't be right,

Linus


-
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.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.743 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site