emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100715: * print.c (strout): Use cons


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100715: * print.c (strout): Use const char* for arg PTR.
Date: Sun, 04 Jul 2010 16:40:41 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100715
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Sun 2010-07-04 16:40:41 +0200
message:
  * print.c (strout): Use const char* for arg PTR.
modified:
  src/ChangeLog
  src/print.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-07-04 13:41:55 +0000
+++ b/src/ChangeLog     2010-07-04 14:40:41 +0000
@@ -6,6 +6,7 @@
        * dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent.
        * fileio.c (read_non_regular, read_non_regular_quit): Pass Lisp_Object,
        as required by internal_condition_case_1.
+       * print.c (strout): Use const char* for arg PTR.
        * regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object.
        (analyse_first): Fix "const const".
        * sysdep.c (set_file_times): Use EMACS_TIME, not struct timeval.

=== modified file 'src/print.c'
--- a/src/print.c       2010-07-04 07:50:25 +0000
+++ b/src/print.c       2010-07-04 14:40:41 +0000
@@ -350,7 +350,8 @@
    to data in a Lisp string.  Otherwise that is not safe.  */
 
 static void
-strout (char *ptr, int size, int size_byte, Lisp_Object printcharfun, int 
multibyte)
+strout (const char *ptr, int size, int size_byte, Lisp_Object printcharfun,
+       int multibyte)
 {
   if (size < 0)
     size_byte = size = strlen (ptr);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]