On Wed, Jul 17, 2024 at 10:31 AM Timofei Zhakov <t...@chemodax.net> wrote: (snipping most content) > When I was was doing that, I solved the problem with uname with a > little patch by adding ifdef over release_name_from_uname() invocation > in sysinfo.c: > > [[[ > Index: subversion/libsvn_subr/sysinfo.c > =================================================================== > --- subversion/libsvn_subr/sysinfo.c (revision 1919186) > +++ subversion/libsvn_subr/sysinfo.c (working copy) > @@ -646,8 +646,12 @@ > static const char * > linux_release_name(apr_pool_t *pool) > { > - const char *uname_release = release_name_from_uname(pool); > + const char *uname_release; > > +#if HAVE_UNAME > + uname_release = release_name_from_uname(pool); > +#endif (snipping the rest...)
If HAVE_UNAME is not defined, then uname_release will point to undefined address? I think we need some default string. Perhaps "unknown"? Cheers, Nathan