Subject: Re: bug#65156: 29.1; Reading from pipe with --insert or insert-file-contents no longer supported

From: Eli Zaretskii <[email-masked]>
Date: Wed, 09 Aug 2023 14:31:35 +0300

> From: Po Lu <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked],
>   [email-masked]
> Date: Wed, 09 Aug 2023 10:47:41 +0800
> 
> The change presently in place on emacs-29 should be replaced with a
> one-line change that replaces:
> 
>   seekable = lseek (fd, 0, SEEK_CUR) < 0;
> 
> with
> 
>   seekable = lseek (fd, 0, SEEK_CUR) != (off_t) -1;

Thanks.  In the future, when you encounter such bugs, please look into
their VCS history, and if the bug was introduced during the
development of the last release, fix it on the release branch,
especially if the fix is simple and safe.