Changeset a346408e in rtems


Ignore:
Timestamp:
Jun 26, 2016, 4:47:28 PM (3 years ago)
Author:
Patrick Gauvin <gauvin@…>
Branches:
4.11
Children:
dc746b5
Parents:
a2a9751
git-author:
Patrick Gauvin <gauvin@…> (06/26/16 16:47:28)
git-committer:
Chris Johns <chrisj@…> (02/08/18 03:21:13)
Message:

libdl: dlerror return NULL when no error

Updates #2747

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdl/dlfcn.c

    ra2a9751 ra346408e  
    133133  rtems_rtl_get_error (msg, sizeof (msg));
    134134  rtems_rtl_clear_error ();
     135  if (msg[0] == '\0')
     136    return NULL;
    135137  return msg;
    136138}
Note: See TracChangeset for help on using the changeset viewer.