[RTEMS Project] #4711: RSB does not expand dir type macros correctly (cloned)

RTEMS trac trac at rtems.org
Sun Aug 28 22:34:28 UTC 2022

#4711: RSB does not expand dir type macros correctly (cloned)
  Reporter:  Chris Johns  |      Owner:  Chris Johns
      Type:  defect       |     Status:  assigned
  Priority:  normal       |  Milestone:  5.2
 Component:  tool/rsb     |    Version:  5
  Severity:  normal       |   Keywords:
Blocked By:               |   Blocking:
 Cloned from #4710:
 The expansion of the `dir` type macros is not done correctly. Macro
 replacement only appends the file part to the last element of a path list.
 For example:
 with a path of:
   %define mydir x:y:z
 results in:
 The config load code handles this but it is wrong. The expansion of `dir`
 type macro variables should handle path separators (`:`) so you get:
 This has not been a problem in the RSB because the `_configdir` has only
 had two elements and the last one only ever had subdirectories.

Ticket URL: <http://devel.rtems.org/ticket/4711>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list