From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1997e0b3968cd10c53052c4d23541a62.axp-list@archive.invalid> X-Archive-Original-Message-ID: <9608061321.AA00543@scooter> Date: Tue, 06 Aug 96 10:00:00 EDT From: David Wild Subject: _printf_ problem I was trying to port a program to my Noname and I kept getting a run time memory violation error (it compiled fine). I have successfully complied and ran this on my Intel Linux and Sun Sparc Solaris with no problems. I finally tracked the problem down to this time (&t); printf ("%s\n ", ctime (&t) + 4); The "+ 4" should move pointer so the output is looks like "Aug 6 08:43:16" instead of "Tue Aug 6 08:43:16". Even though it compiles fine it will produce a memory violation when it gets run. I have never seen this happen on any other platform. Does anybody have a clue as to why this is happening. Dave "I can fix or break anything; it's leaving stuff alone that I have problems with..." -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null