Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

static TIOCGWINSZ: c_ulong = 0x5413; is wrong on some linux platforms. #32

Open
gyakovlev opened this issue Sep 30, 2020 · 0 comments
Open

Comments

@gyakovlev
Copy link

Hi!

code assumes that all linux targets have
static TIOCGWINSZ: c_ulong = 0x5413;

this is not the case, on ppc64 (and maybe ppc, not sure) it's 0x40087468

I've described a fun bug it caused here in detail: nushell/nushell#2618 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant