svn commit: samba r22272 - in
branches/SAMBA_3_0_25/source/lib/replace: .
metze at samba.org
metze at samba.org
Mon Apr 16 19:23:17 GMT 2007
Author: metze
Date: 2007-04-16 19:23:17 +0000 (Mon, 16 Apr 2007)
New Revision: 22272
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22272
Log:
merge from samba4:
provide __location__ in replace.h
and see how the build-farm likes this simpler version
metze
Modified:
branches/SAMBA_3_0_25/source/lib/replace/README
branches/SAMBA_3_0_25/source/lib/replace/replace.h
Changeset:
Modified: branches/SAMBA_3_0_25/source/lib/replace/README
===================================================================
--- branches/SAMBA_3_0_25/source/lib/replace/README 2007-04-16 19:23:00 UTC (rev 22271)
+++ branches/SAMBA_3_0_25/source/lib/replace/README 2007-04-16 19:23:17 UTC (rev 22272)
@@ -77,6 +77,9 @@
Macros:
va_copy
__FUNCTION__
+__FILE__
+__LINE__
+__location__
__STRING
MIN
MAX
Modified: branches/SAMBA_3_0_25/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_3_0_25/source/lib/replace/replace.h 2007-04-16 19:23:00 UTC (rev 22271)
+++ branches/SAMBA_3_0_25/source/lib/replace/replace.h 2007-04-16 19:23:17 UTC (rev 22272)
@@ -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