[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47596: File descriptor error when exiting emacs on android 11
From: |
Lars Ingebrigtsen |
Subject: |
bug#47596: File descriptor error when exiting emacs on android 11 |
Date: |
Thu, 06 May 2021 12:45:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Henrik Grimler <henrik@grimler.se> writes:
>> > In emacs fdopen is run in init_standard_fds, where we have
>> >
>> > force_open (STDERR_FILENO, O_RDONLY);
>> >
>> > /* Set buferr if possible on platforms defining _PC_PIPE_BUF, as
>> > they support the notion of atomic writes to pipes. */
>> > #ifdef _PC_PIPE_BUF
>> > buferr = fdopen (STDERR_FILENO, "w");
>> > if (buferr)
>> > setvbuf (buferr, NULL, _IOLBF, 0);
>> > #endif
>> > }
>>
>> This just creates a copy of stderr that has special buffering.
>> Again,
>> entirely valid for a C program to do that.
>
> I probably should have included a bit more context in the android bug
> report to better show what the code does.
Did you try to include this context in the Android bug report and see
what they say then?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#47596: File descriptor error when exiting emacs on android 11,
Lars Ingebrigtsen <=