Re: possibly broken linux-2.1.119.tar.bz2

Alan Modra (alan@spri.levels.unisa.edu.au)
Fri, 28 Aug 1998 23:20:49 +0930 (CST)


On Fri, 28 Aug 1998, Axel Eble wrote:

> Hi there,
>
> I just got the kernel distribution for 2.1.119. Upon compilation it can't
> find pagemap.h. If I copy it from 2.1.115 I get another errmsg upon
> compiling drivers/block/nbd.c, stating
> nbd.c:90: `oldset´undeclared (first use this function)
> and in line 97:
> nbd.c:97: unused variable `oldset´

Move the "sigset_t oldset" variable declaration from inside the do loop,
so that it's of function scope.

> Any hints? Am I again just too dumb to compile the beast or what?

It's very hard not to comment on this :-)

--- linux-2.1.119/drivers/block/nbd.c Fri Aug 28 18:47:25 1998
+++ linux/drivers/block/nbd.c Fri Aug 28 23:14:21 1998
@@ -82,6 +82,7 @@
struct msghdr msg;
struct iovec iov;
unsigned long flags;
+ sigset_t oldset;

oldfs = get_fs();
set_fs(get_ds());
@@ -94,8 +95,6 @@


do {
- sigset_t oldset;
-
iov.iov_base = buf;
iov.iov_len = size;
msg.msg_name = NULL;

-
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