quipu mercurial repository
Revisión | 66ec8982a8ba258279e8bee81ebc5854133867fb (tree) |
---|---|
Tiempo | 2018-11-14 04:58:52 |
Autor | Agustina Arzille <avarzille@rise...> |
Commiter | Agustina Arzille |
Fix condition in package loading
@@ -852,12 +852,12 @@ | ||
852 | 852 | { // Found a compiled package. |
853 | 853 | fstream_stat st1, st2; |
854 | 854 | |
855 | - if (*dt.strm == UNBOUND || | |
855 | + if ((*dt.strm == UNBOUND || | |
856 | 856 | (fstream_fstat (as_stream (*dt.strm), st1) && |
857 | 857 | fstream_fstat (as_stream (*dt.qpc), st2) && |
858 | - st1.mtime <= st2.mtime && | |
858 | + st1.mtime <= st2.mtime)) && | |
859 | 859 | (!(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))) | |
861 | 861 | { // The compiled package is up to date. |
862 | 862 | object expr = xdeserialize (interp, as_stream (*dt.qpc), sin); |
863 | 863 | if (fct_p (expr)) |