#1566 closed defect (fixed)

doubts on rtems_rootfs_append_host_rec

Reported by: Ralf Corsepius Owned by: Chris Johns
Priority: normal Milestone: 4.10
Component: fs Version: 4.10
Severity: normal Keywords:
Cc: joel.sherrill@… Blocked By:
Blocking:

Description

ATM, rtems_rootfs_append_host_rec takes a "long" as first argument.

This causes gcc to issue very nasty aliasing warnings in some very nasty calls to this function RTEMS currently contains.

AFAICT, this argument likely should be of type "in_addr_t".

The attachment contains my attempts to address this issue. Please review it, because I am not sure if it is correct.

Attachments (1)

rtems-rootfs.diff (3.5 KB) - added by Ralf Corsepius on Jun 15, 2010 at 2:07:37 PM.
Proposed patch

Download all attachments as: .zip

Change History (3)

Changed on Jun 15, 2010 at 2:07:37 PM by Ralf Corsepius

Attachment: rtems-rootfs.diff added

Proposed patch

comment:1 Changed on Jun 15, 2010 at 11:07:49 PM by Chris Johns

Status: newassigned

comment:2 Changed on Aug 6, 2010 at 9:24:12 PM by Joel Sherrill

Resolution: fixed
Status: assignedclosed

Comment says patch committed.

Note: See TracTickets for help on using tickets.