svn commit: samba r23175 - in branches/SAMBA_4_0: . source/lib/replace source/script source/selftest

Stefan (metze) Metzmacher metze at samba.org
Tue May 29 09:03:45 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jelmer at samba.org schrieb:
> Log:
> Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl

> Modified: branches/SAMBA_4_0/source/lib/replace/replace.h
> ===================================================================
> --- branches/SAMBA_4_0/source/lib/replace/replace.h	2007-05-28 14:24:36 UTC (rev 23174)
> +++ branches/SAMBA_4_0/source/lib/replace/replace.h	2007-05-28 21:04:59 UTC (rev 23175)
> @@ -258,6 +258,14 @@
>  #endif
>  #endif
>  
> +#ifndef _DEPRECATED_
> +#if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 )
> +#define _DEPRECATED_ __attribute__ ((deprecated))
> +#else
> +#define _DEPRECATED_
> +#endif
> +#endif
> +
>  #ifndef HAVE_VASPRINTF
>  #define vasprintf rep_vasprintf
>  int rep_vasprintf(char **ptr, const char *format, va_list ap) PRINTF_ATTRIBUTE(2,0);
> 
> Modified: branches/SAMBA_4_0/source/script/mkproto.pl
> ===================================================================
> --- branches/SAMBA_4_0/source/script/mkproto.pl	2007-05-28 14:24:36 UTC (rev 23174)
> +++ branches/SAMBA_4_0/source/script/mkproto.pl	2007-05-28 21:04:59 UTC (rev 23175)
> @@ -180,10 +180,10 @@
>  		}
>  
>  		next unless ( $is_public || $line =~ /
> -			      ^void|^BOOL|^bool|^int|^struct|^char|^const|^\w+_[tT]\s|^uint|^unsigned|^long|
> -			      ^NTSTATUS|^ADS_STATUS|^enum\s.*\(|^DATA_BLOB|^WERROR|^XFILE|^FILE|^DIR|
> -			      ^double|^TDB_CONTEXT|^TDB_DATA|^TALLOC_CTX|^NTTIME|^FN_|^init_module|
> -			      ^GtkWidget|^GType|^smb_ucs2_t|^krb5_error_code
> +			      (_DEPRECATED_ )?^(void|BOOL|bool|int|struct|char|const|\w+_[tT]\s|uint|unsigned|long|NTSTATUS|
> +				  ADS_STATUS|enum\s.*\(|DATA_BLOB|WERROR|XFILE|FILE|DIR|
> +			      double|TDB_CONTEXT|TDB_DATA|TALLOC_CTX|NTTIME|FN_|init_module|
> +			      GtkWidget|GType|smb_ucs2_t|krb5_error_code)
>  			      /xo);
>  
>  		next if ($line =~ /^int\s*main/);

Hi Jelmer,

I don't think you wanted to commit this...

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGW+xxm70gjA5TCD8RAk8UAJ9tAWbzq0uYImkSWKeRBkrUqu2t9QCfewCR
oD2p26M65i5hKGF89yUJnCU=
=tAX3
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list