Hi Chen, On Tue, Feb 04, 2025 at 12:13:02AM +0800, Chen Linxuan wrote: > > This is too complex for an example program. A goto alternative might be > > easier. > > I am agree, but I couldn't figure out a simple way to implement this. > Do you have any suggestion? I have applied a patch adding the munmap(2) call after the error handling of clone(2). It wasn't worth trying something complex here, IMO. <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=00b0a007208d8bbbde0caff15f7bf95dc4e03319> Thanks the report and the suggested patches! Have a lovely night! Alex -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature