PERFORCE change 1191346 for review

Christian Brueffer brueffer at FreeBSD.org
Wed Feb 26 18:03:39 UTC 2014


http://p4web.freebsd.org/@@1191346?ac=10

Change 1191346 by brueffer at 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);


More information about the p4-projects mailing list