dm6: fix inode naming for little-endian systems
authorZygo Blaxell <zblaxell@faye.furryterror.org>
Fri, 14 May 2010 17:51:41 +0000 (13:51 -0400)
committerZygo Blaxell <zblaxell@faye.furryterror.org>
Fri, 14 May 2010 17:51:41 +0000 (13:51 -0400)
dm6

diff --git a/dm6 b/dm6
index 1f76cae..b8cd25f 100755 (executable)
--- a/dm6
+++ b/dm6
@@ -106,7 +106,7 @@ sub prepare_parents {
 
 sub name_quad {
        my ($int64) = @_;
-       my $packed = pack('Q', $int64);
+       my $packed = pack('Q>', $int64);
        $packed =~ s/^\0+//os;
        my $base64_packed = encode_base64($packed, '');
        # Don't strip off the trailing padding since it makes the string