]> code.delx.au - gnu-emacs/commitdiff
(Fformat_time_string): Use make_unibyte_string to make
authorKenichi Handa <handa@m17n.org>
Wed, 6 Sep 2006 06:41:40 +0000 (06:41 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 6 Sep 2006 06:41:40 +0000 (06:41 +0000)
a Lisp string from the result of emacs_memftimeu call.

src/ChangeLog
src/editfns.c

index 5e39f084e9fb6795b5e46fdacff88299437f816f..715c8109bf13ea7406976256655ae63c7a6872b2 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-06  Kenichi Handa  <handa@m17n.org>
+
+       * editfns.c (Fformat_time_string): Use make_unibyte_string to make
+       a Lisp string from the result of emacs_memftimeu call.
+
 2006-09-06  Kim F. Storm  <storm@cua.dk>
 
        * xdisp.c (pos_visible_p): Remove exact_mode_line_heights_p arg;
index 2c392df564e4d3b9eddc736967f3657c01508bf4..1b89bb3668c6458c155eb3ed58c43d14b1ec41f3 100644 (file)
@@ -1694,7 +1694,7 @@ For example, to produce full ISO 8601 format, use "%Y-%m-%dT%T%z".  */)
                                SBYTES (format_string),
                                tm, ut);
       if ((result > 0 && result < size) || (result == 0 && buf[0] == '\0'))
-       return code_convert_string_norecord (make_string (buf, result),
+       return code_convert_string_norecord (make_unibyte_string (buf, result),
                                             Vlocale_coding_system, 0);
 
       /* If buffer was too small, make it bigger and try again.  */