On 10/10/05, Elfyn McBratney <beu@gentoo.org> wrote: > int main (int argc, char **argv) > { > set_prog_name(argv[0]); I'd also use readlink on /proc/self/exe by default (if set_prog_name _not_ called). It simplifies the code at least on linux, and makes possible very slow transition for other platforms. So you don't have to update each and every .c file containing "main[[:space:]]*(" ;) - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Oct 12 01:02:41 2005
This archive was generated by hypermail 2.1.8 : 2005-10-12 01:02:44 EST