You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by ab...@apache.org on 2011/08/30 20:23:05 UTC
svn commit: r1163323 - in /incubator/celix/trunk:
examples/whiteboard/tracker_depman/MANIFEST/MANIFEST.MF
framework/private/src/manifest_parser.c
Author: abroekhuis
Date: Tue Aug 30 18:23:05 2011
New Revision: 1163323
URL: http://svn.apache.org/viewvc?rev=1163323&view=rev
Log:
CELIX-18: Added trimming to the parsed list items.
Modified:
incubator/celix/trunk/examples/whiteboard/tracker_depman/MANIFEST/MANIFEST.MF
incubator/celix/trunk/framework/private/src/manifest_parser.c
Modified: incubator/celix/trunk/examples/whiteboard/tracker_depman/MANIFEST/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/celix/trunk/examples/whiteboard/tracker_depman/MANIFEST/MANIFEST.MF?rev=1163323&r1=1163322&r2=1163323&view=diff
==============================================================================
--- incubator/celix/trunk/examples/whiteboard/tracker_depman/MANIFEST/MANIFEST.MF (original)
+++ incubator/celix/trunk/examples/whiteboard/tracker_depman/MANIFEST/MANIFEST.MF Tue Aug 30 18:23:05 2011
@@ -1,4 +1,4 @@
Bundle-SymbolicName: tracker_depman
Bundle-Version: 1.0.0.test
library: tracker_depman
-Import-Service: Publisher,log_service
+Import-Service: Publisher, log_service
Modified: incubator/celix/trunk/framework/private/src/manifest_parser.c
URL: http://svn.apache.org/viewvc/incubator/celix/trunk/framework/private/src/manifest_parser.c?rev=1163323&r1=1163322&r2=1163323&view=diff
==============================================================================
--- incubator/celix/trunk/framework/private/src/manifest_parser.c (original)
+++ incubator/celix/trunk/framework/private/src/manifest_parser.c Tue Aug 30 18:23:05 2011
@@ -129,7 +129,7 @@ static LINKED_LIST manifestParser_parseD
}
if (strlen(buffer) > 0) {
- linkedList_addElement(list, apr_pstrdup(memory_pool, buffer));
+ linkedList_addElement(list, apr_pstrdup(memory_pool, string_trim(buffer)));
}
}