[RTEMS Project] #2376: close() of tftpfs always returns an error

RTEMS trac trac at rtems.org
Mon Jul 27 19:19:46 UTC 2015

#2376: close() of tftpfs always returns an error
 Reporter:  mdavidsaver  |      Owner:
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  4.10.3
Component:  networking   |    Version:  4.10
 Severity:  normal       |   Keywords:
 While investigating #2375 I find that rtems_tftp_close() in tftpDriver.c
 unconditionally calls rtems_set_errno_and_return_minus_one().  So
 successful close() returns -1 and sets errno==0.

 A proposed fix

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

More information about the bugs mailing list