svn commit: r335675 - head/contrib/file/magic/Magdir

Oleksandr Tymoshenko gonzo at FreeBSD.org
Tue Jun 26 18:53:53 UTC 2018


Author: gonzo
Date: Tue Jun 26 18:53:52 2018
New Revision: 335675
URL: https://svnweb.freebsd.org/changeset/base/335675

Log:
  Fix file(1) dumpdate reporting for dump(8) files
  
  Magic file for dump(8) had this dump and previous dump dates reversed.
  Fix order for all three flavours of the dump(8) format.
  This fix was committed to upstream repo as magic/Magdir/dump,v 1.17
  and will be merged during next vendor import.
  
  PR:		223155
  MFC after:	2 weeks

Modified:
  head/contrib/file/magic/Magdir/dump

Modified: head/contrib/file/magic/Magdir/dump
==============================================================================
--- head/contrib/file/magic/Magdir/dump	Tue Jun 26 18:29:56 2018	(r335674)
+++ head/contrib/file/magic/Magdir/dump	Tue Jun 26 18:53:52 2018	(r335675)
@@ -6,8 +6,8 @@
 # We specify both byte orders in order to recognize byte-swapped dumps.
 #
 0	name	new-dump-be
->4	bedate	x		Previous dump %s,
->8	bedate	x		This dump %s,
+>4	bedate	x		This dump %s,
+>8	bedate	x		Previous dump %s,
 >12	belong	>0		Volume %d,
 >692	belong	0		Level zero, type:
 >692	belong	>0		Level %d, type:
@@ -25,8 +25,8 @@
 >888	belong	>0		Flags %x
 
 0	name	old-dump-be
-#>4	bedate	x		Previous dump %s,
-#>8	bedate	x		This dump %s,
+#>4	bedate	x		This dump %s,
+#>8	bedate	x		Previous dump %s,
 >12	belong	>0		Volume %d,
 >692	belong	0		Level zero, type:
 >692	belong	>0		Level %d, type:
@@ -44,8 +44,8 @@
 >888	belong	>0		Flags %x
 
 0	name	ufs2-dump-be
->896	beqdate	x		Previous dump %s,
->904	beqdate	x		This dump %s,
+>896	beqdate	x		This dump %s,
+>904	beqdate	x		Previous dump %s,
 >12	belong	>0		Volume %d,
 >692	belong	0		Level zero, type:
 >692	belong	>0		Level %d, type:


More information about the svn-src-all mailing list