···48+ if (!c) { /* referencePath doesn't contain a / means that dladdr gave us argv[0]
49+ * and program was called from $PATH. Hack to get libs from NIX_NSS_LIBDIR */
50+ referencePath = NIX_NSS_LIBDIR;
51-+ c = &referencePath[sizeof(NIX_NSS_LIBDIR) - 1]; /* last / */
52+ }
53 if (c) {
54 size_t referencePathSize = 1 + c - referencePath;
···48+ if (!c) { /* referencePath doesn't contain a / means that dladdr gave us argv[0]
49+ * and program was called from $PATH. Hack to get libs from NIX_NSS_LIBDIR */
50+ referencePath = NIX_NSS_LIBDIR;
51++ c = (char*) &referencePath[sizeof(NIX_NSS_LIBDIR) - 1]; /* last / */
52+ }
53 if (c) {
54 size_t referencePathSize = 1 + c - referencePath;