Changeset c3abfcc in git


Ignore:
Timestamp:
Nov 30, 2017, 2:00:45 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
096909fb00e2a3f43dd830aae1cf62510ebb98b5
Parents:
28d88317f5be18d83c49515617dfb0e38ae38600
Message:
fix: tr #813
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r28d883 rc3abfcc  
    26072607  // u: the name of the new type
    26082608  // v: the elements
    2609   newstruct_desc d=newstructFromString((const char *)v->Data());
    2610   if (d!=NULL) newstruct_setup((const char *)u->Data(),d);
     2609  const char *s=(const char *)u->Data();
     2610  newstruct_desc d=NULL;
     2611  if (strlen(s)>=2)
     2612  {
     2613    d=newstructFromString((const char *)v->Data());
     2614    if (d!=NULL) newstruct_setup(s,d);
     2615  }
     2616  else WerrorS("name of newstruct must be longer than 1 character");
    26112617  return d==NULL;
    26122618}
     
    78057811    case 0:{
    78067812        PrintS("delete all variables\n");
    7807         killlocals(0);
    7808         WerrorS("restarting...");
    7809         break;
     7813        killlocals(0);
     7814        WerrorS("restarting...");
     7815        break;
    78107816      };
    78117817    default: WerrorS("not implemented");
  • Tst/Short/bug_newstruct.res.gz.uu

    r28d883 rc3abfcc  
    11begin 640 bug_newstruct.res.gz
    2 M'XL("*%C15@``V)U9U]N97=S=')U8W0N<F5S`%5136O#,`R]YU<(TT,"16W6
    3 MKXVT.HQ="F44NGM)DZ88$F=4\O;W9V>KG9TLWM/[0#Y]O.W?`2`G..Q?00D+
    4 MMOJBBN3TQSP1./"LC98T*Q+_`A%<[.ULKM\L=UL)N@E92@FJ!4&8E^B]5659
    5 M^HZE1NY'_JLA6=V:TKC@_]R:8#:#$`,LMFD"N\%(I>JSUE^:^[N:JE:SV[5=
    6 M5YJ:IU#UY@I2ZE9ET?IY5/`%89`<`IW/Z5=61<B=Z)$!QPB[^QSQ$;8;62P\
    7 KX6-W(Y,E>>V`;GT`)4&Z]1TH;*YBP7R-PQ_X"UM.\ZR8)#\(:IS:N0$`````
     2M'XL(")H`(%H"`V)U9U]N97=S=')U8W0N<F5S`'52RT[#,!"\YRM6AD,K52ZF
     3M3VAK),2E4H4JE7OK.$YJ*;&1O8'?QVZI$PZ<LMGQS.R.??AXV[X#`..PV[X"
     4M08^TUCE998=?Y)%#:!ZUT3@8KK+X!<XA;ZNC4=\>72N1AHIZ%)A8$PZIGM*H
     5M363KT38>"^IM3W]V<295*4PP_HO-.8S'D&S`8UN6"5W0#AJ0ST)_:6\=&9%:
     6M^W"V;1IA"C\":8T"%+HFPTYZV1OPB<*%LDLP>^!7FNQ:(:*;!^R[=LAG3V]F
     7MFY[$)`+1=M,3F?+(O737T8!GB;J.,_!T<M8-R.8TYH".PMV235+[;P`^;!YJ
     8M;2H0<=.PV`L8T2BP92_#)EP#Y`IJ:RKE`,_"``-Y%DY(5.Y*4\Z%+:V4K7.J
     9M`&T@_.:JM$[!U;W6(1VV>(;3_R.<TJ2]M%E(.SZH^%Q:/V##U7WV`RKOQV2&
     10#`@``
    811`
    912end
  • Tst/Short/bug_newstruct.stat

    r28d883 rc3abfcc  
    1 1 >> tst_memory_0 :: 1480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:140424
    2 1 >> tst_memory_1 :: 1480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:2228224
    3 1 >> tst_memory_2 :: 1480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:2228224
    4 1 >> tst_timer_1 :: 1480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:1
     11 >> tst_memory_0 :: 1512046746:4104, 64 bit:4.1.0:x86_64-Linux:nepomuck:115656
     21 >> tst_memory_1 :: 1512046746:4104, 64 bit:4.1.0:x86_64-Linux:nepomuck:2215936
     31 >> tst_memory_2 :: 1512046746:4104, 64 bit:4.1.0:x86_64-Linux:nepomuck:2215936
     41 >> tst_timer_1 :: 1512046746:4104, 64 bit:4.1.0:x86_64-Linux:nepomuck:1
  • Tst/Short/bug_newstruct.tst

    r28d883 rc3abfcc  
    1414P;
    1515
     16// tr. #813
     17newstruct("s","string a");
     18
    1619tst_status(1);$
Note: See TracChangeset for help on using the changeset viewer.