[syslinux] [GIT-PULL] fix can't call COM32 module with full path
André Ericson
de.ericson at gmail.com
Mon May 28 03:37:35 PDT 2012
At boot: prompt, COM32 module calls with full path fails silently.
Please let me know if this is not the best fix for it.
Also, please forgive me if this is not a bug and I did something wrong on my end.
The following changes since commit 2779b713bdd8644ee2b52962ece6daa209b4ba6b:
com32: remove duplicate modules (2012-05-22 20:59:51 -0300)
are available in the git repository at:
git://github.com/aericson/syslinux.git elflink
for you to fetch changes up to 7a505bfa33a2fda1d1a687ef42fe7bbf4c0f37ec:
ldlinux: fixes bug that happens when using fullpath for a COM32 module (2012-05-28 07:19:39 -0300)
----------------------------------------------------------------
Andre Ericson (1):
ldlinux: fixes bug that happens when using fullpath for a COM32 module
com32/lib/sys/module/common.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/com32/lib/sys/module/common.c b/com32/lib/sys/module/common.c
index eeb2607..9d29075 100644
--- a/com32/lib/sys/module/common.c
+++ b/com32/lib/sys/module/common.c
@@ -64,6 +64,10 @@ static FILE *findpath(char *name)
char *p, *n;
int i;
+ f = fopen(name, "rb"); /* for full path */
+ if (f)
+ return f;
+
p = PATH;
again:
i = 0;
More information about the Syslinux
mailing list