Navigation


Changeset 936:8ee9f8183ab8 in freeDiameter


Ignore:
Timestamp:
Mar 9, 2013, 11:56:34 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Children:
937:6e7437162f26, 964:992ef1167344
Phase:
public
Message:

Allow freeDiameter extensions to be found by dl_open via the LD_LIBRARY_PATH method rather than default freeDiameter mechanism.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/fdd.y

    r928 r936  
    328328                                if (fd == NULL) {
    329329                                        int ret = errno;
    330                                         TRACE_DEBUG_ERROR("Unable to open extension file %s for reading: %s\n", fname, strerror(ret));
    331                                         yyerror (&yylloc, conf, "Error adding extension");
    332                                         YYERROR;
    333                                 }
    334                                 fclose(fd);
     330                                        TRACE_DEBUG_ERROR("WARNING: Unable to open extension file %s for reading: %s\nLD_LIBRARY_PATH will be used.\n", fname, strerror(ret));
     331                                } else {
     332                                        fclose(fd);
     333                                }
    335334                               
    336335                                /* Try and open the configuration file (optional) */
Note: See TracChangeset for help on using the changeset viewer.