[RTEMS Project] #3870: libc_reent set up is broken

RTEMS trac trac at rtems.org
Wed Feb 12 07:00:11 UTC 2020


#3870: libc_reent set up is broken
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:  4.11.4
Component:  score        |     Version:  4.11
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:  3859         |
-------------------------+---------------------

Comment (by Sebastian Huber):

 Sorry, I still don't know what the problem is. Do you test on RTEMS 4.11
 or 5? Your modified test case fails, because your setvbuf() call enabled
 the non-buffered mode and the fwrite() call directly writes to the file:
 {{{
 worker_task (arg=0) at
 /home/EB/sebastian_h/src/rtems/c/src/../../testsuites/libtests/newlib01/init.c:75
 75        rtems_test_assert(n == 1);
 (gdb)
 77        rtems_test_assert(ctx->current == OPEN);
 (gdb) p ctx->current
 $8 = WRITTEN
 }}}
 To me this looks fine.

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


More information about the bugs mailing list