[Dnsmasq-discuss] dnsmasq 2.43 release candidate

Stephane Billiart stephane.billiart at gmail.com
Mon Jul 7 20:32:23 BST 2008


2.43rc1 does not compile in my uClibc environment without large file
support because of a change that was done before 2.42 was released.

The attached patch solves the issue by introducing a new define NO_LFS
for users who do not have LFS, like we already have NO_IPV6, NO_TFTP...
Please review and consider including it.

Thanks,

-- 
Stéphane Billiart                      http://perso.orange.fr/billiart/
-------------- next part --------------
--- src/dnsmasq.h.orig	2008-07-07 15:22:43.000000000 -0400
+++ src/dnsmasq.h	2008-07-07 15:23:07.000000000 -0400
@@ -17,8 +17,10 @@
 #define COPYRIGHT "Copyright (C) 2000-2008 Simon Kelley" 
 
 /* Ensure we can use files >2GB (log files may grow this big) */
+#ifndef NO_LFS
 #define _LARGEFILE_SOURCE 1
 #define _FILE_OFFSET_BITS 64
+#endif
 
 /* Get linux C library versions. */
 #ifdef __linux__


More information about the Dnsmasq-discuss mailing list