8000 Built-in `printf` truncates integers to 32-bit · Issue #3352 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Built-in printf truncates integers to 32-bit #3352

@aburgh

Description

@aburgh
  • Have you checked if problem occurs with fish 2.3.1?
  • Tried fish without third-party customizations (check sh -c 'env HOME=$(mktemp -d) fish')?

fish version installed (fish --version):
2.3.1

OS/terminal used:
macOS, Terminal

Integers to the built-in printf are truncated to 32 bit.

Reproduction steps

  1. Enter printf "%#x\\n" 498216206596

Expected results

> command printf "%#x\\n" 498216206596
0x7400000104

Actual results

> printf  "%#x\\n" 498216206596
0x104

Metadata

Metadata

Assignees

Labels

bugSomething that's not working as intendedrelease notesSomething that is or should be mentioned in the release notes

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0