Date: Mon, 18 Sep 2023 17:59:38 -0400 From: Jan Schaumann <jscha...@netmeister.org> Message-ID: <zqjisr+rtxp1p...@netmeister.org>
| Wouldn't it be more helpful to the user to have | lseek(2) return -1 here? Not really, this is ancient practice, from the very very early days. | Since it's undefined, which is quite likely only because linux gratuitously decided to break this. Removing backwards compat for this would be the wrong thing to do. (As far as I'm aware, only pipes ever give errors on what would otherwise be a valid seek operation). kre