lkml.org 
[lkml]   [2003]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: Another Linux 2.5.60 Compile error
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:0.021 / U:36.940 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site