printf/fprintf in mod_perl sources

2001-06-27 Thread Stas Bekman
I've a C question :) Why cannot I use: printf(%s\n, IT WORKS); and have to use: fprintf(stderr, %s\n, IT WORKS); in the mod_perl sources? Doug, I've figured what was my problem :) Here is the relevant part of the trace (it was segfaulting when I was using printf): (gdb) where #0

Re: printf/fprintf in mod_perl sources

2001-06-27 Thread Doug MacEachern
On Thu, 28 Jun 2001, Stas Bekman wrote: I've a C question :) Why cannot I use: printf(%s\n, IT WORKS); and have to use: fprintf(stderr, %s\n, IT WORKS); in the mod_perl sources? something todo with PerlIO, turns printf, fprintf, etc. into macros. i always use