Displaying 5 results from an estimated 5 matches for "__file_info".
2012 Sep 04
0
[PATCH] console: Close stdin, stdout, stderr on ldlinux.c32 unload
From: Matt Fleming <matt.fleming at intel.com>
The location of __file_info[] and ansicon_counter are split between
the core and ldlinux.c32. We can end up calling __ansicon_close (from
fp->oop->close) in the process of reloading ldlinux.c32, and while
ansicon_counter is set to its initialised data value of 0 when
reloading ldlinux.c32, the core is never reloaded, an...
2015 Jan 15
0
PXE Error Reporting
...een fixed.
The (almost untested) patch below should fix this.
Sebastian
diff --git a/com32/lib/sys/open.c b/com32/lib/sys/open.c
index 1ed5bb4..8858f07 100644
--- a/com32/lib/sys/open.c
+++ b/com32/lib/sys/open.c
@@ -65,10 +65,12 @@ int open(const char *pathname, int flags, ...)
fp = &__file_info[fd];
+ errno = 0;
handle = open_file(pathname, flags, &fp->i.fd);
if (handle < 0) {
close(fd);
- errno = ENOENT;
+ if (!errno)
+ errno = ENOENT;
return -1;
}
diff --git a/core/fs/pxe/tftp.c b/core/fs/pxe/tftp.c
index 446da63..c89d3bf 100644
--- a/core/fs/pxe/...
2015 Jan 15
3
PXE Error Reporting
Sebastian,
On 01/15/2015 12:49 AM, Sebastian Herbszt wrote:
> which version of pxelinux were you trying? Looks like < 5.x.
the one from Fedora 20, syslinux-4.05.
It turns out that pxelinux.0 from Fedora 21, syslinux-6.03, reports
"Failed to load ldlinux.c32" when ldlinux.c32 can't be read, and
"Loading <FILE>... failed: No such file or directory" when the
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com>
The following patch series is available at,
git://git.zytor.com/users/mfleming/syslinux.git elflink
All patches are against the 'elflink' branch.
This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.
Matt Fleming (19):
ldlinux: Initialise 'p' before using it.
ldlinux: Parse
2011 May 25
1
[GIT PULL] elflink ldlinux
Hi,
These patches contain support for some features that are already in
Syslinux 4 but weren't working properly on the elflink branch. It's
another step closer to feature parity with Syslinux 4.
Having to jump through the comboot API for localboot support is less
than ideal and I'll eventually fix that, probably when we move a big
chunk of code from asm to C.
Also, there's a