[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [PATCH] do not test for the address of an object which
From: |
Samuel Tardieu |
Subject: |
[Help-smalltalk] [PATCH] do not test for the address of an object which cannot be null |
Date: |
Tue, 07 Oct 2008 22:52:47 +0200 |
User-agent: |
StGIT/unknown-version |
2008-10-07 Samuel Tardieu <address@hidden>
* ltdl.c (try_dlopen): sys_search_path cannot be null as
it is defined as an array.
---
lib-src/ChangeLog | 5 +++++
lib-src/ltdl.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index e6e887e..4f40f6b 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-07 Samuel Tardieu <address@hidden>
+
+ * ltdl.c (try_dlopen): sys_search_path cannot be null as
+ it is defined as an array.
+
2008-09-22 Paolo Bonzini <address@hidden>
* getaddrinfo.c: Fix for win32.
diff --git a/lib-src/ltdl.c b/lib-src/ltdl.c
index 56f05bc..f1fd47c 100644
--- a/lib-src/ltdl.c
+++ b/lib-src/ltdl.c
@@ -3174,7 +3174,7 @@ try_dlopen (phandle, filename)
}
#endif
#ifdef LTDL_SYSSEARCHPATH
- if (!file && sys_search_path)
+ if (!file)
{
file = find_file (sys_search_path, base_name, &dir);
}
- [Help-smalltalk] [PATCH] do not test for the address of an object which cannot be null,
Samuel Tardieu <=