[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,
©, (sighandler_t) &fault);
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (385d9bf -> 7bd08cf), Samuel Thibault, 2016/11/20
- [hurd] 03/06: ext2fs: Do not talk about crashing on ENOSPC, Samuel Thibault, 2016/11/20
- [hurd] 06/06: Fix build,
Samuel Thibault <=
- [hurd] 04/06: ext2fs: Use more POSIXish error code, Samuel Thibault, 2016/11/20
- [hurd] 05/06: boot: fix crash when S_processor_set_tasks is called early, Samuel Thibault, 2016/11/20
- [hurd] 02/06: libpager, libstore: Fix crash on ENOSPC while writing data, Samuel Thibault, 2016/11/20
- [hurd] 01/06: ext2fs: Fix crash on ENOSPC while extending a directory, Samuel Thibault, 2016/11/20