diff libinterp/corefcn/load-save.cc @ 19409:264ff6bf7475 gui-release

use gnulib:: namespace for log, logf, localtime, and gmtime * load-save.cc, lo-mappers.cc, lo-specfun.cc, oct-time.cc: Sprinkle with gnulib:: to use log, logf, localtime, and gmtime from gnulib if they are needed.
author John W. Eaton <jwe@octave.org>
date Tue, 02 Dec 2014 09:56:50 -0500
parents 9a70705dc616
children 9ef286208da1 1572b5276b9a
line wrap: on
line diff
--- a/libinterp/corefcn/load-save.cc	Tue Dec 02 09:55:12 2014 -0500
+++ b/libinterp/corefcn/load-save.cc	Tue Dec 02 09:56:50 2014 -0500
@@ -1219,7 +1219,7 @@
         char headertext[128];
 
         time (&now);
-        bdt = *gmtime (&now);
+        bdt = *gnulib::gmtime (&now);
         memset (headertext, ' ', 124);
         // ISO 8601 format date
         nstrftime (headertext, 124, "MATLAB 5.0 MAT-file, written by Octave "