• R/O
  • SSH

quipu: Commit

quipu mercurial repository


Commit MetaInfo

Revisión66ec8982a8ba258279e8bee81ebc5854133867fb (tree)
Tiempo2018-11-14 04:58:52
AutorAgustina Arzille <avarzille@rise...>
CommiterAgustina Arzille

Log Message

Fix condition in package loading

Cambiar Resumen

Diferencia incremental

diff -r 1ec2af39226e -r 66ec8982a8ba symbol.cpp
--- a/symbol.cpp Tue Nov 13 16:30:05 2018 -0300
+++ b/symbol.cpp Tue Nov 13 16:58:52 2018 -0300
@@ -852,12 +852,12 @@
852852 { // Found a compiled package.
853853 fstream_stat st1, st2;
854854
855- if (*dt.strm == UNBOUND ||
855+ if ((*dt.strm == UNBOUND ||
856856 (fstream_fstat (as_stream (*dt.strm), st1) &&
857857 fstream_fstat (as_stream (*dt.qpc), st2) &&
858- st1.mtime <= st2.mtime &&
858+ st1.mtime <= st2.mtime)) &&
859859 (!(as_stream(*dt.qpc)->io_flags & STRM_APP) ||
860- as_stream(*dt.qpc)->seek (interp, intobj (0), SEEK_SET))))
860+ as_stream(*dt.qpc)->seek (interp, intobj (0), SEEK_SET)))
861861 { // The compiled package is up to date.
862862 object expr = xdeserialize (interp, as_stream (*dt.qpc), sin);
863863 if (fct_p (expr))
Show on old repository browser