On Fri, Nov 30, 2012 at 11:31 AM, Dieter Bloms <v...@bloms.de> wrote:
> Hi, > > On Fri, Nov 30, sundararaj reel wrote: > > > %a to print a char* is not right. char* is interpreted as double (see the > > compiler warning) . If you want to print the pointer 'description', then > > use %p. > > with "esyslog("dbloms: \"%X\" \"%02X\" \"%7s\" \"%p\"", Stream, Type, > language, description);" > I get the following log entry: > > --snip-- > Nov 30 10:27:24 vdrservernew local1.err vdr:  dbloms: "1" "01" " > deu" "0x40800000" > --snip-- > > > The following code crashes on my box too. I dont know why. > > did you do it on uClibc system or a glibc one ? > > > Ran that code on ubuntu 10.04. $ /lib/libc.so.6 GNU C Library (Ubuntu EGLIBC 2.11.1-0ubuntu7) stable release version 2.11.1, by Roland McGrath et al. Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.4.3. Compiled on a Linux >>2.6.24-27-server<< system on 2010-04-22. Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B For bug reporting instructions, please see: <http://www.debian.org/Bugs/>.
_______________________________________________ vdr mailing list email@example.com http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr