GNU bug report logs -
#16463
'file-encoding' truncates encoding name
Previous Next
Reported by: sreeharsha <at> totakura.in
Date: Thu, 16 Jan 2014 12:09:02 UTC
Severity: normal
Found in version 2.0.9
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):
On 01/17/2014 11:04 AM, Ludovic Courtès wrote:
> This is weird. In my checkout that file is 455 byte long, not 512.
> Its SHA1 is 81f83b7f877a4970add5d891bf2112e028032e1d.
>
> Can you check yours?
I have the same values from my local build:
> totakura <at> nautophone:~/build/guile-2.0.9/test-suite/standalone$
> sha1sum ./test-command-line-encoding2
> 81f83b7f877a4970add5d891bf2112e028032e1d
> ./test-command-line-encoding2
> totakura <at> nautophone:~/build/guile-2.0.9/test-suite/standalone$ stat
> ./test-command-line-encoding2 File:
> `./test-command-line-encoding2' Size: 455 Blocks: 8
> IO Block: 4096 regular file Device: fe07h/65031d Inode: 6818828
> Links: 1 Access: (0750/-rwxr-x---) Uid: ( 1000/totakura) Gid: (
> 1000/totakura) Access: 2014-01-17 10:08:46.471166827 +0100 Modify:
> 2012-12-17 00:27:40.000000000 +0100 Change: 2014-01-17
> 09:53:35.842651260 +0100 Birth: -
But, these change in the guix guile build directory, perhaps due to
the path overwrite from /bin/sh to
/home/nix/store/v7vpnjlrgs4w3zsgbkqplksnsncl0lv6-bash-4.2/bin/sh
> totakura <at> nautophone:/tmp/nix-build-guile-2.0.9.drv-0/guile-2.0.9/test-suite/standalone$
> sha1sum ./test-command-line-encoding2
> f155f1137b326f9c16efc2c2f57fbd51e2ee24c2
> ./test-command-line-encoding2
> totakura <at> nautophone:/tmp/nix-build-guile-2.0.9.drv-0/guile-2.0.9/test-suite/standalone$
> stat ./test-command-line-encoding2 File:
> `./test-command-line-encoding2' Size: 512 Blocks: 8
> IO Block: 4096 regular file Device: fe04h/65028d Inode: 261292
> Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 1000/totakura) Gid: (
> 1000/totakura) Access: 2014-01-17 09:47:23.884806822 +0100 Modify:
> 2012-12-17 00:27:40.000000000 +0100 Change: 2014-01-17
> 09:44:56.468075823 +0100 Birth: -
> totakura <at> nautophone:/tmp/nix-build-guile-2.0.9.drv-0/guile-2.0.9/test-suite/standalone$
> diff ./test-command-line-encoding2
> ~/build/guile-2.0.9/test-suite/standalone/test-command-line-encoding2
> 1c1 <
> #!/home/nix/store/v7vpnjlrgs4w3zsgbkqplksnsncl0lv6-bash-4.2/bin/sh
> ---
>> #!/bin/sh
Can you check it in your guix guile directory.
Sree
This bug report was last modified 11 years and 186 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.