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
View this message in rfc822 format
Sree Harsha Totakura <sreeharsha <at> totakura.in> skribis:
> open("./test-command-line-encoding2", O_RDONLY) = 3
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff02231670) = -1 ENOTTY (Inappropriate ioctl for device)
> lseek(3, 0, SEEK_CUR) = 0
> read(3, "#!/home/nix/store/v7vpnjlrgs4w3z"..., 80) = 80
> lseek(3, 0, SEEK_SET) = 0
> getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
> fcntl(255, F_GETFD) = -1 EBADF (Bad file descriptor)
> dup2(3, 255) = 255
> close(3) = 0
> fcntl(255, F_SETFD, FD_CLOEXEC) = 0
> fcntl(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
> fstat(255, {st_mode=S_IFREG|0755, st_size=512, ...}) = 0
This is weird. In my checkout that file is 455 byte long, not 512. Its
SHA1 is 81f83b7f877a4970add5d891bf2112e028032e1d.
Can you check yours?
Thanks,
Ludo’.
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.