Your message dated Thu, 31 May 2018 15:13:35 +0200
with message-id <[email protected]>
and subject line Re: zsh: printf truncates large values
has caused the Debian Bug report #888854,
regarding zsh: printf truncates large values
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
888854: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888854
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zsh
Version: 5.4.2-3
Severity: normal
Tags: upstream
Forwarded: http://www.zsh.org/mla/workers/2018/msg00138.html
cventin% printf "%x\n" 10865468317030705979
zsh: number truncated after 19 digits: 10865468317030705979
f1430962f7cd785
There's no reason to truncate the value on a 64-bit machine!
The printf from GNU coreutils is correct:
cventin% /usr/bin/printf "%x\n" 10865468317030705979
96c9e5dddae06b3b
-- Package-specific info:
Packages which provide vendor completions:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii curl 7.58.0-2 amd64 command line tool for transferrin
ii pulseaudio 11.1-4 amd64 PulseAudio sound server
ii systemd 236-3 amd64 system and service manager
ii udev 236-3 amd64 /dev/ and hotplug management daem
ii vlc-bin 3.0.0~rc7-2 amd64 binaries from VLC
dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages zsh depends on:
ii libc6 2.26-6
ii libcap2 1:2.25-1.2
ii libtinfo5 6.0+20171125-1
ii zsh-common 5.4.2-3
Versions of packages zsh recommends:
ii libc6 2.26-6
ii libncursesw5 6.0+20171125-1
ii libpcre3 2:8.39-8
Versions of packages zsh suggests:
ii zsh-doc 5.4.2-3
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 5.5.1-1
On 2018-01-30 18:00:19 +0100, Vincent Lefevre wrote:
> cventin% printf "%x\n" 10865468317030705979
> zsh: number truncated after 19 digits: 10865468317030705979
> f1430962f7cd785
I can check that this is fixed at least in zsh 5.5.1-1:
zira:~> printf "%x\n" 10865468317030705979
96c9e5dddae06b3b
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
--- End Message ---