summaryrefslogtreecommitdiff
path: root/sql/stacktrace.c
diff options
context:
space:
mode:
authorsalle@geopard.online.bg <>2002-07-17 15:17:20 +0300
committersalle@geopard.online.bg <>2002-07-17 15:17:20 +0300
commitb472f401b19a8fff8f140f18f55be6bf16b0962d (patch)
treee1c40d792aee8685690c05c66852a581466505bf /sql/stacktrace.c
parentdacf75a4addec989a80f8006dfed2caa8e24dbdf (diff)
downloadmariadb-git-b472f401b19a8fff8f140f18f55be6bf16b0962d.tar.gz
Some
C++ comments cleanup
Diffstat (limited to 'sql/stacktrace.c')
-rw-r--r--sql/stacktrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/stacktrace.c b/sql/stacktrace.c
index d86d65f567e..1aba73dda33 100644
--- a/sql/stacktrace.c
+++ b/sql/stacktrace.c
@@ -145,7 +145,7 @@ terribly wrong...\n");
fprintf(stderr, "Warning: Alpha stacks are difficult -\
will be taking some wild guesses, stack trace may be incorrect or \
terminate abruptly\n");
- // On Alpha, we need to get pc
+ /* On Alpha, we need to get pc */
__asm __volatile__ ("bsr %0, do_next; do_next: "
:"=r"(pc)
:"r"(pc));
@@ -210,8 +210,8 @@ resolve it\n");
void write_core(int sig)
{
signal(sig, SIG_DFL);
- if (fork() != 0) exit(1); // Abort main program
- // Core will be written at exit
+ if (fork() != 0) exit(1); /* Abort main program */
+ /* Core will be written at exit */
}
#else
void write_core(int sig)