From b4de451c191efbbed43213679ed247e66b052680 Mon Sep 17 00:00:00 2001 From: "certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Thu, 20 Apr 2006 20:18:31 +0000 Subject: [PATCH] # BUILD : 1.7.14 (1028) # BUGS : 499 # NOTES : fixed index of backtrace(), thx craig git-svn-id: svn://svn.anope.org/anope/trunk@1028 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@752 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 2 +- src/main.c | 2 +- version.log | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 082b6e219..c496802b6 100644 --- a/Changes +++ b/Changes @@ -4,7 +4,7 @@ Provided by Anope Dev. - 2006 04/08 F Fixed Charybdis support on win32. [#487] 04/08 F Fixed thread stuff on windows. [#488] 04/08 F Fixed SGLine stuff on inspircd (not supported). [#489] - +04/20 F Fixed index of backtrace(). [#499] Anope Version 1.7.14 -------------------- diff --git a/src/main.c b/src/main.c index db73e5ae5..9d5e0e465 100644 --- a/src/main.c +++ b/src/main.c @@ -640,7 +640,7 @@ void do_backtrace(int show_segheader) version_build, version_flags); size = backtrace(array, 10); strings = backtrace_symbols(array, size); - for (i = 1; i < size; i++) { + for (i = 0; i < size; i++) { alog("Backtrace(%d): %s", i, strings[i]); } free(strings); diff --git a/version.log b/version.log index 246e56785..4d04aeae9 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="14" VERSION_EXTRA="" -VERSION_BUILD="1027" +VERSION_BUILD="1028" # $Log$ # +# BUILD : 1.7.14 (1028) +# BUGS : 499 +# NOTES : fixed index of backtrace(), thx craig +# # BUILD : 1.7.14 (1027) # BUGS : # NOTES : removed threads.h