Changeset c90500 in git for Singular/links/silink.cc


Ignore:
Timestamp:
Nov 20, 2012, 4:50:00 PM (10 years ago)
Author:
Zoltan Kovacs <kovzol@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
3e7db4d961b4509d248e12d8e96e2bed08d9cfe8
Parents:
cecef07e441bf8e0ac3da94431b1ca83e92e753f
Message:
Reverting 26c8e6010d08437813f7b3dcc02d4afa785e062d (Disallow "link" command when --no-shell is set on command line) and adding suggested change from Hans Schoenemann instead
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/links/silink.cc

    rcecef0 rc90500  
    3131#include <Singular/links/ssiLink.h>
    3232#include <Singular/links/pipeLink.h>
     33#include "feOpt.h"
    3334
    3435// #ifdef HAVE_DBM
     
    196197
    197198    if (l->m == NULL) slInit(l, ((char*)""));
     199
     200    if (feOptValue(FE_OPT_NO_SHELL)) {WerrorS("no links allowed");return TRUE;}
    198201
    199202    const char *c="_";;
Note: See TracChangeset for help on using the changeset viewer.