summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d78f099)
raw | patch | inline | side by side (parent: d78f099)
author | Petr Baudis <pasky@suse.cz> | |
Sun, 2 Jul 2006 20:57:17 +0000 (22:57 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Jul 2006 00:14:45 +0000 (17:14 -0700) |
Back in the old days, we called Git's die() from the .xs code, but we had to
hijack Perl's die() for that. Now we don't call Git's die() so no need to do
the hijacking and it silences a compiler warning.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
hijack Perl's die() for that. Now we don't call Git's die() so no need to do
the hijacking and it silences a compiler warning.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
perl/Git.xs | patch | blob | history |
diff --git a/perl/Git.xs b/perl/Git.xs
index c8242103b5f571990161a8e69861c3d4c6b19d3a..2bbec4365f9c244a7a905df702393bca591d9d67 100644 (file)
--- a/perl/Git.xs
+++ b/perl/Git.xs
#include "../cache.h"
#include "../exec_cmd.h"
-#define die perlyshadow_die__
-
/* XS and Perl interface */
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
-#undef die
-
static char *
report_xs(const char *prefix, const char *err, va_list params)