Your message dated Sat, 15 Sep 2007 10:57:02 +0400
with message-id <[EMAIL PROTECTED]>
and subject line tk8.2: Possible segfault on IA-64
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: tk8.2
Version: 8.2.3-4
Severity: normal
Tags: patch
On the IA-64 platform, unprototyped functions that return pointers
may cause corrupted pointers and hence segfaults, because the C
compiler assumes that an undeclared function returns an integer,
and on the IA-64, pointers are twice as long as integers and use
the high-order bits that would be truncated.
This patch provides a prototype for ctime, which returns a
character pointer.
--- tk8.2.orig/generic/tkCanvPs.c Thu Dec 27 11:06:25 2001
+++ tk8.2-8.2.3/generic/tkCanvPs.c Thu Dec 27 11:16:11 2001
@@ -18,6 +18,8 @@
#include "tkCanvas.h"
#include "tkPort.h"
+#include <time.h> /* ctime(3), time(2) */
+
/*
* See tkCanvas.h for key data structures used to implement canvases.
*/
-- System Information
Debian Release: 3.0
Architecture: ia64
Kernel: Linux butthead.progeny.com 2.4.9-itanium-smp #1 SMP Mon Sep 17 20:48:35
MDT 2001 ia64
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages tk8.2 depends on:
ii libc6.1 2.2.4-7 GNU C Library: Shared libraries an
ii tcl8.2 8.2.3-9 The Tool Command Language (TCL) v8
ii xlibs 4.1.0-11 X Window System client libraries
--- End Message ---
--- Begin Message ---
> This patch provides a prototype for ctime, which returns a
> character pointer.
time.h is included in at least current tk8.3. So, I'm closing the bug.
--
Sergei Golovan
--- End Message ---