Changeset 26c8e6 in git for Singular/ipid.cc


Ignore:
Timestamp:
Nov 8, 2012, 10:12:58 PM (11 years ago)
Author:
Zoltán Kovács <zoltan@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
f4f1c1ec9b2d7be3be1f0eccd74a710d8ef4a6b3
Parents:
76fd43c4cd91e1809c1f7ea6f26f7526fa73f666
git-author:
Zoltán Kovács <zoltan@geogebra.org>2012-11-08 22:12:58+01:00
git-committer:
Zoltán Kovács <zoltan@geogebra.org>2012-11-08 23:28:35+01:00
Message:
Disallow "link" command when --no-shell is set on command line
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipid.cc

    r76fd43 r26c8e6  
    2929#include <Singular/ipid.h>
    3030#include <Singular/blackbox.h>
     31#include "feOpt.h"
    3132
    3233#ifdef HAVE_DYNAMIC_LOADING
     
    152153    //the types with the standard init: set the struct to zero
    153154    case LINK_CMD:
     155      if (feOptValue(FE_OPT_NO_SHELL)) Werror("not allowed");
    154156      return (void*) omAlloc0Bin(sip_link_bin);
    155157    case RING_CMD:
Note: See TracChangeset for help on using the changeset viewer.