13.12.2024 15:12, Wietse Venema via Postfix-devel wrote:
Michael Tokarev via Postfix-devel:
  #ifndef HAS_CLOSEFROM
-extern int closefrom(int);
+extern void closefrom(int);

Is not the real problem that this (and the C function) should  be
compiled OUT on systems that DO have closefrom()?
Indeed it is.  This is a small cleanup though, just to match reality.
I did built postfix on hurd (guess it's done for the first time in
some 20 years) and have other changes for it.  One of the changes
is #define HAS_CLOSEFROM.  But I want to be sure it works fine, first,
including its implementation of closefrom(), - if I find its unreliable,
we'll have to omit HAS_CLOSEFROM and use this workaround instead.

Thanks,

/mjt
_______________________________________________
Postfix-devel mailing list -- postfix-devel@postfix.org
To unsubscribe send an email to postfix-devel-le...@postfix.org

Reply via email to