[tor-commits] [tor] 06/11: present __DragonFly_version, from DragonFlyBSD

gitolite role git at cupani.torproject.org
Mon Nov 28 14:39:39 UTC 2022


This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

commit 64f8490ede1ecab2b36bdc7cf639f0561b6be2c3
Author: Vinícius Zavam <egypcio at googlemail.com>
AuthorDate: Sat Nov 5 18:58:59 2022 +0000

    present __DragonFly_version, from DragonFlyBSD
---
 src/lib/osinfo/libc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/osinfo/libc.c b/src/lib/osinfo/libc.c
index 195bd528ba..d3050fccdb 100644
--- a/src/lib/osinfo/libc.c
+++ b/src/lib/osinfo/libc.c
@@ -54,6 +54,9 @@ tor_libc_get_version_str(void)
 #else /* !defined(CHECK_LIBC_VERSION) */
 #ifdef __BSD_VISIBLE
 #include <sys/param.sh>
+#ifdef __DragonFly_version
+  return STR(__DragonFly_version);
+#endif
 #ifdef __FreeBSD__
   return STR(__FreeBSD_version);
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list