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 #26 received at 16463 <at> debbugs.gnu.org (full text, mbox):
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
> lseek(255, 0, SEEK_CUR) = 0
> brk(0x203f000) = 0x203f000
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> read(255, "#!/home/nix/store/v7vpnjlrgs4w3z"..., 512) = 512
What does this report:
./meta/guile -c '(pk (file-encoding (open-input-file "test-suite/standalone/test-command-line-encoding2")))'
Ludo’.
This bug report was last modified 11 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.