Re: Another Linux 2.5.60 Compile error

From: Anthony J. Breeds-Taurima (tony@cantech.net.au)
Date: Tue Feb 11 2003 - 00:21:49 EST


On Mon, 10 Feb 2003, Vlad@geekizoid.com wrote:

> Didn't see this one reported yet:
>
> fs/ncpfs/sock.c: In function `ncp_do_request':
> fs/ncpfs/sock.c:760: structure has no member named `sig'
> fs/ncpfs/sock.c:762: structure has no member named `sig'
> make[2]: *** [fs/ncpfs/sock.o] Error 1
> make[1]: *** [fs/ncpfs] Error 2
> make: *** [fs] Error 2

I don't know if this is correct. It compiles for me but I don't have any
boxes to test ncpfs with :(

================================================================================
diff -X dontdiff -urN linux-2.5.60.clean/fs/ncpfs/sock.c linux-2.5.60.sighand/fs/ncpfs/sock.c
--- linux-2.5.60.clean/fs/ncpfs/sock.c 2003-02-12 10:53:54.000000000 +0800
+++ linux-2.5.60.sighand/fs/ncpfs/sock.c 2003-02-12 13:03:05.000000000 +0800
@@ -757,9 +757,9 @@
                            What if we've blocked it ourselves? What about
                            alarms? Why, in fact, are we mucking with the
                            sigmask at all? -- r~ */
- if (current->sig->action[SIGINT - 1].sa.sa_handler == SIG_DFL)
+ if (current->sighand->action[SIGINT - 1].sa.sa_handler == SIG_DFL)
                                 mask |= sigmask(SIGINT);
- if (current->sig->action[SIGQUIT - 1].sa.sa_handler == SIG_DFL)
+ if (current->sighand->action[SIGQUIT - 1].sa.sa_handler == SIG_DFL)
                                 mask |= sigmask(SIGQUIT);
                 }
                 siginitsetinv(&current->blocked, mask);

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:31 EST