Opened 14 years ago
Closed 14 years ago
#689 closed defect (fixed)
CheckTrivialExpression falla en Linux
| Reported by: | josp | Owned by: | Pedro Gea |
|---|---|---|---|
| Priority: | critical | Milestone: | Release 0.6 |
| Component: | Variables | Keywords: | |
| Cc: | gschimidt@… |
Description
La siguiente expresión debe retornar un conjunto vacío
Set MMS::TolExpression::CheckTrivialExpression("Serie CalInd(D(1)*M(1),C)");
pero cuando lo ejecutamos en "v2.0.1 b.5 2011-06-13 04:59:33 -0300 BRT i686-linux-gnu" nos retorna un conjunto distinto de vacío según se puede ver en la salida:
05:29:44 TOL> Set x = MMS::TolExpression::CheckTrivialExpression("Serie CalInd(D(1)*M(1),C)");
3 elements
05:30:14 TOL> Set View( x, "Std" );
$tmp$="CalInd"
$tmp$="D"
$tmp$="M"
3 elements
Change History (3)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
El cambio anterior debería solucionar el tique, en caso contrario reábrase.
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/mms/chrome/site/logomms.png)
En CheckTrivialExpression se hace este test
TextMatch(s[1], "..*")y estas son las cadenas que se obtienen en los diferentes sistemas:
windows: "../btol/serie_type/tsrgrav.cpp"
linux: "btol/serie_type/tsrgrav.cpp"
el test anterior filtra perfectamente la cadena obtenida en windows pero falla en linux, si lo cambiamos a
TextMatch(s[1], "*.cpp")resolvemos ambas situaciones.