www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/06/19/09:32:28

Date: Thu, 19 Jun 1997 15:28:08 +0200 (METDST)
From: Robert Hoehne <robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de>
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: symlink patch (0/6)
Message-Id: <Pine.HPP.3.95q.970619151558.4123D-100000@newton.mathematik.tu-chemnitz.de>
Mime-Version: 1.0

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                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019