Changeset 564ada in git


Ignore:
Timestamp:
Feb 3, 2008, 9:03:14 PM (16 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
65aec99016fb5182feebd8e6770f35881aa3bbb0
Parents:
befecbc5f2fd0929fe1c00f9ed52cc5c128a3612
Message:
omFindExec:
now works on Cygwin


git-svn-id: file:///usr/local/Singular/svn/trunk@10552 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/omFindExec.c

    rbefecbc r564ada  
    44 *  Author:  obachman (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omFindExec.c,v 1.10 2001-04-30 09:02:06 Singular Exp $
     6 *  Version: $Id: omFindExec.c,v 1.11 2008-02-03 20:03:14 wienand Exp $
    77 *******************************************************************/
    88
     
    5959      {
    6060        strcpy(executable, name);
     61#ifdef __CYGWIN__
     62        strcat(executable, ".exe");
     63#endif
    6164        return executable;
    6265      }
     
    8184      {
    8285        strcpy(executable, tbuf);
     86#ifdef __CYGWIN__
     87        strcat(executable, ".exe");
     88#endif
    8389        return executable;
    8490      }
     
    137143#endif
    138144          strcpy(executable, tbuf);
     145#ifdef __CYGWIN__
     146          strcat(executable, ".exe");
     147#endif
    139148          return executable;
    140149        }
Note: See TracChangeset for help on using the changeset viewer.