On Wed, 02 Nov 2011 13:33:27 -0500, David C. Rankin wrote:
So where is this segfault coming from?
I'd compile with debug info and load it up in gdb to see what's happening. My instinct is that the issue has to do with how you're addressing p - you may well be using an incorrect redirection. If memory serves, when you declare a pointer: char *p; When you want to reference that address, you just reference it as 'p', not as '&p' - the latter is the address of the address of p, not the address of p. But it's been a while since I did anything with pointers in C. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org