From: Stefan Metzmacher Date: Wed, 15 Aug 2007 09:12:35 +0000 (+0000) Subject: r24449: length_is() isn't supported without size_is(). X-Git-Tag: samba-4.0.0alpha6~801^3~2255 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=2d531c84e8ba65c86084eeddef8d0259e9363c38 r24449: length_is() isn't supported without size_is(). I assume what we need is an array of strings, so the code isn't used and broken anyway without a testsuite...just get rid of the pidl warning metze (This used to be commit 46fadeb6983dff4e6a38fceec4679d3bf44dd5d9) --- diff --git a/source4/librpc/idl/svcctl.idl b/source4/librpc/idl/svcctl.idl index 8d5c8cd2442..2fbdb71e74f 100644 --- a/source4/librpc/idl/svcctl.idl +++ b/source4/librpc/idl/svcctl.idl @@ -257,7 +257,7 @@ WERROR svcctl_StartServiceW( [in,ref] policy_handle *handle, [in] uint32 NumArgs, - [in,length_is(NumArgs)] [string,charset(UTF16)] uint16 *Arguments + [in/*FIXME:,length_is(NumArgs)*/] [string,charset(UTF16)] uint16 *Arguments ); /*****************/ @@ -385,7 +385,7 @@ WERROR svcctl_StartServiceA( [in,ref] policy_handle *handle, [in] uint32 NumArgs, - [in,length_is(NumArgs)] [string,charset(UTF16)] uint16 *Arguments + [in/*FIXME:,length_is(NumArgs)*/] [string,charset(UTF16)] uint16 *Arguments ); /*****************/