Changeset 4bfbcc in git


Ignore:
Timestamp:
Jul 21, 2010, 6:27:08 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '0bc2210f8055033868008a3836878db65ec6f89e')
Children:
ad0c5c42970dfab59d4ca1c9afc9fe369b894106
Parents:
198c60532f02886e728a0b264975f50487915682
Message:
fix error message, path names, etc.

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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/findiff.lib

    r198c60 r4bfbcc  
    10671067"
    10681068{
    1069   system("sh","rm QEPCAD-out");
    1070   system("sh","rm QEPCAD-in");
     1069  system("sh","rm -f QEPCAD-out");
     1070  system("sh","rm -f QEPCAD-in");
    10711071  if(denominator(content(f))==1)
    10721072  {
     
    11011101  string s8=solution();
    11021102  write(l1,s1,s2,s3,s4,s5,s6,s7,s8);
    1103   system("sh","$qepcad < QEPCAD-in | ${qe}/bin/qepcadfilter.pl > QEPCAD-out");
     1103  system("sh","qepcad < QEPCAD-in | qepcadfilter.pl > QEPCAD-out");
    11041104  string output=read(out);
    11051105  print(output,"%s");
     
    11221122    return(lpolys);
    11231123  }
    1124   system("sh","rm QEPCAD-out");
    1125   system("sh","rm QEPCAD-in");
     1124  system("sh","rm -f QEPCAD-out");
     1125  system("sh","rm -f QEPCAD-in");
    11261126
    11271127}
     
    11471147"
    11481148{
    1149   system("sh","rm QEPCAD-out");
    1150   system("sh","rm QEPCAD-in");
     1149  system("sh","rm -f QEPCAD-out");
     1150  system("sh","rm -f QEPCAD-in");
    11511151  string in="QEPCAD-in";
    11521152  string out="QEPCAD-out";
     
    12021202  string s8=solution();
    12031203  write(l1,s1,s2,s3,s4,s5,s6,s7,s8);
    1204   system("sh","$qepcad < QEPCAD-in | ${qe}/bin/qepcadfilter.pl > QEPCAD-out");
     1204  system("sh","qepcad < QEPCAD-in | qepcadfilter.pl > QEPCAD-out");
    12051205  string output=read(out);
    12061206  print(output,"%s");
     
    12231223    return(llpolys);
    12241224  }
    1225   system("sh","rm QEPCAD-out");
    1226   system("sh","rm QEPCAD-in");
     1225  system("sh","rm -f QEPCAD-out");
     1226  system("sh","rm -f QEPCAD-in");
    12271227}
    12281228example
     
    14541454static proc rm()
    14551455{
    1456   system("sh","rm dummy");
    1457   system("sh","rm QEPCAD-in.");
     1456  system("sh","rm -f dummy");
     1457  system("sh","rm -f QEPCAD-in");
    14581458}
    14591459////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.