X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Recipient: dj AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cvGOtGL537BwSVAJZz/EUnWQA1/I8EKgF5iA+x2AK+g=; b=Ct2jc/3cabUw xx5TKTIdQGy+ap/xwqB9mJfyx6sgRpwob3Dc/3LarBHNtxC6DgY3T1rxflIQZvBm2Fq0j/h2RVCxt B7z1rzPMvGZeYQ4t+lox0HbjWxPGiKzvqpx/V9e5SQMojc/mV3V/V9gXhrwTV4mkDmn5MVkC5iERw 1Ik5d/j7hiJpw7EM+sJ9pTtH2oP3hZLWqTpq5omkCm1xb3CibE7wzQxbx47wLS5DRz2KVFFHtc/vl BtTVkjIAWBSjRparkTXqgRDmmhfotivep99Rnjn1QnQDlDQJbqlEout8URDt72kp+87LFJ1qKyJdC 3NlRGXYP2L9qIB7WIJ7HkA==; Date: Sun, 14 Apr 2024 14:46:02 +0300 Message-Id: <86r0f8makl.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: Pali Cc: dj AT delorie DOT com, sezeroz AT gmail DOT com, djgpp AT delorie DOT com In-Reply-To: <20240414104251.bjvvmf2qzvhus3ug@pali> (message from Pali on Sun, 14 Apr 2024 12:42:51 +0200) Subject: Re: Error handling in __djgpp_set_page_attributes() References: <20240413120109 DOT bbs63syonlprvmw4 AT pali> <865xwlpio5 DOT fsf AT gnu DOT org> <20240413122345 DOT sq2ua43ugmshrlhv AT pali> <86v84lntr7 DOT fsf AT gnu DOT org> <20240413225744 DOT sxdwqpaipq5acj3n AT pali> <86h6g4o638 DOT fsf AT gnu DOT org> <20240414082932 DOT pm4hht4c5agcysou AT pali> <861q78nuk3 DOT fsf AT gnu DOT org> <20240414100331 DOT yv4eqcr2ruhfbslk AT pali> <86sezome63 DOT fsf AT gnu DOT org> <20240414104251 DOT bjvvmf2qzvhus3ug AT pali> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sun, 14 Apr 2024 12:42:51 +0200 > From: Pali > Cc: dj AT delorie DOT com, sezeroz AT gmail DOT com, djgpp AT delorie DOT com > > What I think is important: include information that out_addr/num_bytes > address range must belong to sbrk allocator. This is something hard to > figure out without reading the source code of the function. What other allocator there can be in DJGPP? I thought all allocations go through sbrk, isn't that so?