8000 seq: different output for `seq --format=d%030g 12` · Issue #5766 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

seq: different output for seq --format=d%030g 12 #5766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sylvestre opened this issue Jan 1, 2024 · 1 comment · Fixed by #5789
Closed

seq: different output for seq --format=d%030g 12 #5766

sylvestre opened this issue Jan 1, 2024 · 1 comment · Fixed by #5789
Labels

Comments

@sylvestre
Copy link
Contributor

With our:

$ ./target/debug/coreutils seq --format=d%030g 15
d000000000000000000000000000001
[...]
d000000000000000000000000000009
d00000000000000000000000001e+01
d00000000000000000000000001e+01
d00000000000000000000000001e+01

with GNU:

/usr/bin/seq --format=d%030g 15
d000000000000000000000000000001
[...]
d000000000000000000000000000009
d000000000000000000000000000010
d000000000000000000000000000011
d000000000000000000000000000012
d000000000000000000000000000013
d000000000000000000000000000014
d000000000000000000000000000015

it causes tests/cp/link-heap to fail

@sylvestre
Copy link
Contributor Author

Seems that it is coming from this function:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant
0