svn commit: samba r22270 - in branches/SAMBA_4_0/source/lib/replace: .

metze at samba.org metze at samba.org
Mon Apr 16 19:22:24 GMT 2007


Author: metze
Date: 2007-04-16 19:22:24 +0000 (Mon, 16 Apr 2007)
New Revision: 22270

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22270

Log:
provide __location__ in replace.h

and see how the build-farm likes this simpler version

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/README
   branches/SAMBA_4_0/source/lib/replace/replace.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/README
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/README	2007-04-16 19:16:20 UTC (rev 22269)
+++ branches/SAMBA_4_0/source/lib/replace/README	2007-04-16 19:22:24 UTC (rev 22270)
@@ -77,6 +77,9 @@
 Macros:
 va_copy
 __FUNCTION__
+__FILE__
+__LINE__
+__location__
 __STRING
 MIN
 MAX

Modified: branches/SAMBA_4_0/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.h	2007-04-16 19:16:20 UTC (rev 22269)
+++ branches/SAMBA_4_0/source/lib/replace/replace.h	2007-04-16 19:22:24 UTC (rev 22270)
@@ -439,6 +439,10 @@
 #define __STRING(x)    #x
 #endif
 
+#ifndef __location__
+#define __location__ __FILE__ ":" __STRING(__LINE__)
+#endif
+
 #if MMAP_BLACKLIST
 #undef HAVE_MMAP
 #endif



More information about the samba-cvs mailing list