Message-ID: <39A0252F.D9DB130A@softhome.net> Date: Sun, 20 Aug 2000 20:36:31 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: lt,en MIME-Version: 1.0 To: DJGPP Workers Subject: Symlink support in dosexec.c Content-Type: text/plain; charset=iso-8859-4 Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com I've following little problem: should this code pass argv[0] as 'args.exe'? symlink("args.exe", "linkargs.exe"); spawnl(P_WAIT, "linkargs.exe", "args.exe", "oh", "well", NULL); If yes, (I assumed that), then the following code in go32_exec() worries me: save_argv0 = argv[0]; argv[0] = unconst(program, char *); /* since that's where we really found it */ Could anyone put some light on this? Laurynas