[RTEMS Project] #2415: Duplicate code in Untar_FromMemory(), Untar_FromFile() and rtems_tarfs_load()

RTEMS trac trac at rtems.org
Tue May 17 05:47:45 UTC 2016


#2415: Duplicate code in Untar_FromMemory(), Untar_FromFile() and
rtems_tarfs_load()
-----------------------------+---------------------
 Reporter:  sebastian.huber  |       Owner:
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  4.11.1
Component:  General          |     Version:  4.10
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+---------------------

Comment (by sebastian.huber):

 We should at least refactor the general TAR file iteration into an
 iterator function and use different visitor functions.

 Another option for this direct mapping of some read-only content into an
 IMFS linear file would be mmap().

--
Ticket URL: <http://devel.rtems.org/ticket/2415#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list