This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment.
View the commit online.
commit cc896b19564cacb93c53d79fdbb70ad090535acb
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Tue Oct 15 11:16:57 2024 +0100
e start - delete old crashdump first so it doesnt grow all the time
---
src/bin/e_start_main.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c
index f1b23c161..502fbab23 100644
--- a/src/bin/e_start_main.c
+++ b/src/bin/e_start_main.c
@@ -427,6 +427,11 @@ _e_call_gdb(int child, const char *home, char **backtrace_str)
{
int r = 0;
char *buf = NULL;
+
+ myasprintf(&buf, "%s/.e-crashdump.txt", home);
+ *backtrace_str = strdup(buf);
+ /* delete old crashdump */
+ unlink(buf);
/* call e_sys gdb */
myasprintf(&buf,
"gdb "
@@ -441,8 +446,6 @@ _e_call_gdb(int child, const char *home, char **backtrace_str)
r = system(buf);
fprintf(stderr, "called gdb with '%s' = %i\n", buf, WEXITSTATUS(r));
- myasprintf(&buf, "%s/.e-crashdump.txt", home);
- *backtrace_str = strdup(buf);
return WEXITSTATUS(r);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.