Mercurial > octave-antonio
changeset 19113:72e32208ff77
Don't save build timestamp in doc-cache header comment (bug #43087)
* doc/interpreter/mk_doc_cache.m: Remove timestamp from header format
string.
* scripts/help/doc_cache_create.m: Define save_header_format_string
locally to be consistent with mk_doc_cache.m
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Sat, 20 Sep 2014 17:37:42 -0400 |
parents | bc640d4678fb |
children | c53401edf4e3 |
files | doc/interpreter/mk_doc_cache.m scripts/help/doc_cache_create.m |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/mk_doc_cache.m Sat Sep 20 15:01:25 2014 -0700 +++ b/doc/interpreter/mk_doc_cache.m Sat Sep 20 17:37:42 2014 -0400 @@ -133,5 +133,5 @@ cache(:,k:end) = []; # delete unused pre-allocated entries -save_header_format_string (["# doc-cache created by Octave " OCTAVE_VERSION ", %a %b %d %H:%M:%S %Y %Z"]); +save_header_format_string (["# doc-cache created by Octave " OCTAVE_VERSION]); save ("-text", output_file, "cache");
--- a/scripts/help/doc_cache_create.m Sat Sep 20 15:01:25 2014 -0700 +++ b/scripts/help/doc_cache_create.m Sat Sep 20 17:37:42 2014 -0400 @@ -55,6 +55,7 @@ ## Save cache if (! isempty (cache)) + save_header_format_string (["# doc-cache created by Octave " OCTAVE_VERSION], "local"); save ("-text", out_file, "cache"); endif