mailing list of musl libc
 help / color / mirror / code / Atom feed
cc06994a360e94ab18abab4319d29b459e851a59 blob 864 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 
#ifndef	_SETJMP_H
#define	_SETJMP_H

#ifdef __cplusplus
extern "C" {
#endif

#include <bits/setjmp.h>

#if __STDC_VERSION__ >= 201112L
#elif defined(__GNUC__)
#define _Noreturn __attribute__((__noreturn__))
#else
#define _Noreturn
#endif

#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
 || defined(_BSD_SOURCE)
typedef struct {
	jmp_buf __jb;
	unsigned long __fl;
	unsigned long __ss[128/sizeof(long)];
} sigjmp_buf[1];
int sigsetjmp (sigjmp_buf, int);
_Noreturn void siglongjmp (sigjmp_buf, int);
#endif


#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
 || defined(_BSD_SOURCE)
int _setjmp (jmp_buf);
_Noreturn void _longjmp (jmp_buf, int);
#endif

int setjmp (jmp_buf);
_Noreturn void longjmp (jmp_buf, int);

#define setjmp setjmp
#define longjmp longjmp

#ifdef __cplusplus
}
#endif

#endif
debug log:

solving cc06994 ...
found cc06994 in https://inbox.vuxu.org/musl/20120906191724.0be123b0@gmail.com/
found 321d859 in https://inbox.vuxu.org/musl/20120905200235.1a83ec1a@gmail.com/
found 7dc7276 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 7dc72767db832ec9b5930bd5fa9f072e97300eb0	include/setjmp.h

applying [1/2] https://inbox.vuxu.org/musl/20120905200235.1a83ec1a@gmail.com/
diff --git a/include/setjmp.h b/include/setjmp.h
index 7dc7276..321d859 100644


applying [2/2] https://inbox.vuxu.org/musl/20120906191724.0be123b0@gmail.com/
diff --git a/include/setjmp.h b/include/setjmp.h
index 321d859..cc06994 100644

Checking patch include/setjmp.h...
Applied patch include/setjmp.h cleanly.
Checking patch include/setjmp.h...
Applied patch include/setjmp.h cleanly.

index at:
100644 cc06994a360e94ab18abab4319d29b459e851a59	include/setjmp.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).