Changeset e2f13430 in rtems


Ignore:
Timestamp:
Feb 2, 2019, 4:19:59 AM (4 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
b08278e
Parents:
2d8a9c79
git-author:
Chris Johns <chrisj@…> (02/02/19 04:19:59)
git-committer:
Chris Johns <chrisj@…> (02/08/19 23:06:33)
Message:

libdl: Fix dlerror non-conformance

Closes #3298

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdl/dlfcn.c

    r2d8a9c79 re2f13430  
    130130{
    131131  static char msg[64];
    132   rtems_rtl_get_error (msg, sizeof (msg));
     132  int         eno;
     133  eno = rtems_rtl_get_error (msg, sizeof (msg));
     134  if (eno == 0)
     135    return NULL;
    133136  return msg;
    134137}
Note: See TracChangeset for help on using the changeset viewer.