"'alvhe...@alvh.no-ip.org'" <alvhe...@alvh.no-ip.org> writes: > Eh, so I forgot to strdup(optarg[optind]). Apparently that works fine > in glibc but other getopt implementations are likely not so friendly.
Hmm ... interesting theory, but I don't think I buy it, since the program isn't doing anything that should damage argv[]. I guess we'll soon find out. regards, tom lane