mailing list of musl libc
 help / color / mirror / code / Atom feed
ad0a811cd360d7b35de7af5b120dc21e3b6bf595 blob 431 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
 
#undef assert

#ifdef NDEBUG
#define	assert(x) (void)0
#else
#define assert(x) ((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))
#endif

#ifdef __cplusplus
extern "C" {
#endif

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

_Noreturn void __assert_fail (const char *, const char *, int, const char *);

#ifdef __cplusplus
}
#endif
debug log:

solving ad0a811 ...
found ad0a811 in https://inbox.vuxu.org/musl/20120906191724.0be123b0@gmail.com/
found bad2ccd in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 bad2ccd04cf3bbc9abe39c2f26ef9b8680d60a9e	include/assert.h

applying [1/1] https://inbox.vuxu.org/musl/20120906191724.0be123b0@gmail.com/
diff --git a/include/assert.h b/include/assert.h
index bad2ccd..ad0a811 100644

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

index at:
100644 ad0a811cd360d7b35de7af5b120dc21e3b6bf595	include/assert.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).