Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 18:03:38 GMT
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 1191346 for review
Message-ID:  <201402261803.s1QI3cX4098530@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@1191346?ac=10

Change 1191346 by brueffer@brueffer_freefall on 2014/02/26 18:03:01

	In print_header32_tok(), correct printing in the XML case.  This lead to
	invalid XML files before.
	
	PR:		176259
	Submitted by:	zi

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#76 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#76 (text+ko) ====

@@ -32,7 +32,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#75 $
+ * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#76 $
  */
 
 #include <sys/types.h>
@@ -949,7 +949,7 @@
 {
 
 	print_tok_type(fp, tok->id, "header", oflags);
-	if (oflags & AU_OFLAG_RAW) {
+	if (oflags & AU_OFLAG_XML) {
 		open_attr(fp, "version");
 		print_1_byte(fp, tok->tt.hdr32.version, "%u");
 		close_attr(fp);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402261803.s1QI3cX4098530>