Displaying 1 result from an estimated 1 matches for "9d29075".
Did you mean:
92075
2012 May 28
2
[GIT-PULL] fix can't call COM32 module with full path
...-----------------------------------
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;