Hi,

This patch is for fixing this bug

http://blackfin.uclinux.org/gf/project/toolchain/tracker/?action=TrackerItemEdit&tracker_item_id=6806

In urj_tap_detect_parts, data_path should have already been set up
correct. So we don't need to search the path again in
urj_parse_include.

Committed.

Regards,
Jie
  * src/tap/detect.c (urj_tap_detect_parts): Ignore search path when
    call urj_parse_include.

Index: src/tap/detect.c
===================================================================
--- src/tap/detect.c	(revision 2001)
+++ src/tap/detect.c	(working copy)
@@ -422,7 +422,7 @@ urj_tap_detect_parts (urj_chain_t *chain
             strcpy (part->manufacturer, manufacturer);
             strcpy (part->part, partname);
             strcpy (part->stepping, stepping);
-            if (urj_parse_include (chain, data_path, 0) == URJ_STATUS_FAIL)
+            if (urj_parse_include (chain, data_path, 1) == URJ_STATUS_FAIL)
                 urj_log_error_describe (URJ_LOG_LEVEL_ERROR);
 
             free (id_name);
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to