Date: Thu, 19 Jun 1997 15:28:08 +0200 (METDST) From: Robert Hoehne To: DJGPP workers Subject: symlink patch (0/6) Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk I posted in the past already a patch to fix the bug in the symlink function. After some hints from Eli I have rewritten it now completely by creating a new function const _v2_prog_type *_check_v2_prog(const char *program, int fd); This function checks a given file which is passed either by name in 'program' (then the arg in 'fd' is ignored) or by an filehandle in 'fd'. The returned structure contain many information about the program (v1 prog, v2 prog, unix shell script, COFF format, stubbed COFF and so on). I made for this a single file 'src/libc/dos/process/chkv2prg.c' together with the doc 'src/libc/dos/process/chkv2prg.txh'. To use that function I modified then dosexec.c and symlink.c. I send all the patches in single mails. Robert ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************