Mercurial > hg > octave-lyh
diff src/variables.cc @ 3162:7c96e85c76db
[project @ 1998-04-08 18:19:35 by jwe]
author | jwe |
---|---|
date | Wed, 08 Apr 1998 18:21:04 +0000 |
parents | 02766207b74c |
children | e4bbfc196e53 |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -26,6 +26,7 @@ #include <cstdio> #include <cstring> +#include <ctime> #include <string> @@ -513,9 +514,9 @@ string fname = fcn_file_in_path (ff); - int status = file_stat::is_newer (fname, tp); + file_stat fs (fname); - if (status > 0) + if (fs && fs.is_newer (tp)) retval = true; } }