You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by Alexander Broekhuis <a....@gmail.com> on 2015/02/11 16:10:55 UTC
Re: svn commit: r1658980 - /celix/trunk/deployment_admin/private/src/deployment_admin.c
Whoops, that is done in one of my commits while removing APR.
Thanks for noticing and fixing.
2015-02-11 16:08 GMT+01:00 <bp...@apache.org>:
> Author: bpetri
> Date: Wed Feb 11 15:08:14 2015
> New Revision: 1658980
>
> URL: http://svn.apache.org/r1658980
> Log:
>
> CELIX-221: wrongly calulated string fixed
>
>
> Modified:
> celix/trunk/deployment_admin/private/src/deployment_admin.c
>
> Modified: celix/trunk/deployment_admin/private/src/deployment_admin.c
> URL:
> http://svn.apache.org/viewvc/celix/trunk/deployment_admin/private/src/deployment_admin.c?rev=1658980&r1=1658979&r2=1658980&view=diff
>
> ==============================================================================
> --- celix/trunk/deployment_admin/private/src/deployment_admin.c (original)
> +++ celix/trunk/deployment_admin/private/src/deployment_admin.c Wed Feb 11
> 15:08:14 2015
> @@ -249,7 +249,7 @@ static void *deploymentAdmin_poll(void *
>
> // TODO: update to use bundle
> cache DataFile instead of module entries.
>
> unzip_extractDeploymentPackage(inputFilename, tmpDir);
> - int length = strlen(tmpDir + 22);
> + int length = strlen(tmpDir) + 22;
> char manifest[length];
> snprintf(manifest, length,
> "%s/META-INF/MANIFEST.MF", tmpDir);
> manifest_pt mf = NULL;
>
>
>
--
Met vriendelijke groet,
Alexander Broekhuis
Re: svn commit: r1658980 - /celix/trunk/deployment_admin/private/src/deployment_admin.c
Posted by Bjoern Petri <bj...@sundevil.de>.
No problem. If only everything would be that easy to fix.
On! 02/11/2015 04:10 PM, Alexander Broekhuis wrote:
> Whoops, that is done in one of my commits while removing APR.
>
> Thanks for noticing and fixing.
>
> 2015-02-11 16:08 GMT+01:00 <bp...@apache.org>:
>
>> Author: bpetri
>> Date: Wed Feb 11 15:08:14 2015
>> New Revision: 1658980
>>
>> URL: http://svn.apache.org/r1658980
>> Log:
>>
>> CELIX-221: wrongly calulated string fixed
>>
>>
>> Modified:
>> celix/trunk/deployment_admin/private/src/deployment_admin.c
>>
>> Modified: celix/trunk/deployment_admin/private/src/deployment_admin.c
>> URL:
>> http://svn.apache.org/viewvc/celix/trunk/deployment_admin/private/src/deployment_admin.c?rev=1658980&r1=1658979&r2=1658980&view=diff
>>
>> ==============================================================================
>> --- celix/trunk/deployment_admin/private/src/deployment_admin.c (original)
>> +++ celix/trunk/deployment_admin/private/src/deployment_admin.c Wed Feb 11
>> 15:08:14 2015
>> @@ -249,7 +249,7 @@ static void *deploymentAdmin_poll(void *
>>
>> // TODO: update to use bundle
>> cache DataFile instead of module entries.
>>
>> unzip_extractDeploymentPackage(inputFilename, tmpDir);
>> - int length = strlen(tmpDir + 22);
>> + int length = strlen(tmpDir) + 22;
>> char manifest[length];
>> snprintf(manifest, length,
>> "%s/META-INF/MANIFEST.MF", tmpDir);
>> manifest_pt mf = NULL;
>>
>>
>>
>