Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142917582
D54712.id169704.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
596 B
Referenced Files
None
Subscribers
None
D54712.id169704.diff
View Options
diff --git a/libexec/rtld-elf/debug.h b/libexec/rtld-elf/debug.h
--- a/libexec/rtld-elf/debug.h
+++ b/libexec/rtld-elf/debug.h
@@ -33,7 +33,7 @@
#define DEBUG_H 1
#include <sys/cdefs.h>
-
+#include <assert.h>
#include <string.h>
#include "rtld_paths.h"
#include "rtld_printf.h"
@@ -47,9 +47,6 @@
#define dbg(...) ((void) 0)
#endif
-#define assert(cond) ((cond) ? (void) 0 : \
- (msg(_BASENAME_RTLD ": assert failed: " __FILE__ ":" \
- __XSTRING(__LINE__) "\n"), abort()))
#define msg(s) rtld_putstr(s)
#define trace() msg(_BASENAME_RTLD ": " __XSTRING(__LINE__) "\n")
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 25, 5:16 PM (1 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27652603
Default Alt Text
D54712.id169704.diff (596 B)
Attached To
Mode
D54712: rtld: Switch to using <assert.h> for assert
Attached
Detach File
Event Timeline
Log In to Comment