texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo xml.c,1.25,1.26


From: dirt
Subject: texinfo/makeinfo xml.c,1.25,1.26
Date: Sun, 15 Feb 2004 16:26:16 +0100

Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv1389/makeinfo

Modified Files:
        xml.c 
Log Message:
2004-02-15  Alper Ersoy  <address@hidden>

        * makeinfo/xml.c (xml_begin_document): disabled warnings around the
        implicit register_delayed_write("@documentencoding") call.



Index: xml.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/xml.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** xml.c       13 Feb 2004 22:12:23 -0000      1.25
--- xml.c       15 Feb 2004 15:26:14 -0000      1.26
***************
*** 590,596 ****
  
    insert_string ("<?xml version=\"1.0\"");
    /* At this point, we register a delayed writing for document encoding,
!      so in the end, proper encoding attribute will be inserted here.  */
!   register_delayed_write ("@documentencoding");
    insert_string ("?>");
  
--- 590,608 ----
  
    insert_string ("<?xml version=\"1.0\"");
+ 
    /* At this point, we register a delayed writing for document encoding,
!      so in the end, proper encoding attribute will be inserted here.
!      Since the user is unaware that we are implicitly executing this
!      command, we should disable warnings temporarily, in order to avoid
!      possible confusion.  (ie. if the output is not seekable,
!      register_delayed_write issues a warning.)  */
!   {
!     extern int print_warnings;
!     int save_print_warnings = print_warnings;
!     print_warnings = 0;
!     register_delayed_write ("@documentencoding");
!     print_warnings = save_print_warnings;
!   }
! 
    insert_string ("?>");
  



reply via email to

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