bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ununnecessary open(2) mode args


From: Andreas Schwab
Subject: Re: [PATCH] ununnecessary open(2) mode args
Date: Thu, 09 Oct 2025 15:06:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Okt 08 2025, Grisha Levit wrote:

> It's not a big deal but it is a bit confusing to see these modes in
> the code. Is there some platform where the mode arg is used in this
> situation?

K&R2 documents a non-variadic prototype for open.  There were probably
platforms that actually used that declaration at that time.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]