commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 06/06: Fix build


From: Samuel Thibault
Subject: [hurd] 06/06: Fix build
Date: Sun, 20 Nov 2016 21:18:22 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 7bd08cf55d83fcaa493bd1553bee11e3eb17408e
Author: Samuel Thibault <address@hidden>
Date:   Sun Nov 20 20:54:59 2016 +0100

    Fix build
    
    * libpager/pager-memcpy.c (pager_memcpy): Pass 1 as second parameter to
    sigsetjmp.
    * libstore/memobj.c (memobj_memcpy): Likewise.
---
 libpager/pager-memcpy.c | 2 +-
 libstore/memobj.c       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libpager/pager-memcpy.c b/libpager/pager-memcpy.c
index c7a420b..f98b049 100644
--- a/libpager/pager-memcpy.c
+++ b/libpager/pager-memcpy.c
@@ -207,7 +207,7 @@ pager_memcpy (struct pager *pager, memory_object_t memobj,
   window = 0;
   window_size = 0;
 
-  if (sigsetjmp (buf) == 0)
+  if (sigsetjmp (buf, 1) == 0)
     hurd_catch_signal (sigmask (SIGSEGV) | sigmask (SIGBUS),
                       window, window + window_size,
                       &do_copy, (sighandler_t) &fault);
diff --git a/libstore/memobj.c b/libstore/memobj.c
index 8bbc833..0849151 100644
--- a/libstore/memobj.c
+++ b/libstore/memobj.c
@@ -112,7 +112,7 @@ memobj_memcpy (memory_object_t memobj,
        ERR would not be initialized by the copy loop in this case.  */
     return 0;
 
-  if (sigsetjmp (buf) == 0)
+  if (sigsetjmp (buf, 1) == 0)
     hurd_catch_signal (sigmask (SIGSEGV) | sigmask (SIGBUS),
                       window, window + windowsize,
                       &copy, (sighandler_t) &fault);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]