#2712: _rtems_octal2ulong shared by tar code.
------------------------+--------------------
 Reporter:  chrisj      |      Owner:
     Type:  defect      |     Status:  new
 Priority:  normal      |  Milestone:  4.12.1
Component:  filesystem  |    Version:  4.11
 Severity:  normal      |   Keywords:  tar
------------------------+--------------------
 The function _rtems_octal2ulong provided in cpukit/libmisc/untar/untar.c
 is used internally in this file plus it is used in the IMFS load tar
 implementation.

 These are separate implementations and this small piece of code joins
 these modules together. Sure, function level linking helps but I do not
 thinks we should share this code

 Why not use 'strtoul(str, &end, 8)' to convert the octal number?

--
Ticket URL: <http://devel.rtems.org/ticket/2712>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to