On Mon, 12 Jan 2009 23:12:33 -0700, Mark Post wrote: > >From one of my Intel Linux systems: > >Trying vsnprintf(); > foo -- bar > > >On all my mainframe Linux systems, I get a segmentation fault: >(gdb) run >Starting program: /tmp/test >Format: " %s -- %s " > >Program received signal SIGSEGV, Segmentation fault. >0x4009d30c in strlen () from /lib/libc.so.6 >(gdb) bt >#0 0x4009d30c in strlen () from /lib/libc.so.6 >#1 0x4006e65e in vfprintf () from /lib/libc.so.6 >#2 0x400750a4 in printf () from /lib/libc.so.6 >#3 0x004005a4 in f2 () >#4 0x004007a4 in f1 () >#5 0x004007e8 in main () > It hates mainframes! I recognized that my OS X and Solaris tests were both on Intel; is it a big-endian problem? But it works OK on big-endian Sparc.
Thanks for the test, gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

