[RTEMS Project] #2712: _rtems_octal2ulong shared by tar code.
RTEMS trac
trac at rtems.org
Sun May 15 23:01:05 UTC 2016
#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
More information about the bugs
mailing list