Gary R. Schmidt via Postfix-users:
> On 19/8/25 23:44, Wietse Venema via Postfix-users wrote:
> > [An on-line version of this announcement will be available at
> > https://www.postfix.org/announcements/postfix-3.10.4.html]
> > 
> > Fixes for Postfix 3.10, 3.9, 3.8, 3.7:
> 
> Hmm...
> 
> $ diff postfix-3.10.{3,4}/src/util/dict_dbm.c
> 475c475,476
> <     dict_dbm->dict.mtime = st.st_mtime;
> ---
>  >     if (open_mode == O_RDONLY)
>  >       dict_dbm->dict.mtime = st.st_mtime;
> 
> I /think/ it should be "open_flags",

Hmm. This code is "#ifdef HAS_DBM" and I use that only on ancient
systems.

> but I'm not sure it should not be ((open_flags & O_RDONLY) != 0).

That would not be useful. Historically, O_RDONLY is zero, and the 
compiler would optimize away the condition and the statement that
follows it.


        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to