search for: setadv

Displaying 20 results from an estimated 25 matches for "setadv".

2016 Jun 04
0
[PATCH] Wedding gift, removing double l from auxilliary
...tor sed --in-place -e 's/uxilliary/uxiliary/' $( git grep -li auxilliary ) Still any auxiliary written with double l? git grep -i auxilliary --- NEWS | 2 +- com32/elflink/ldlinux/adv.c | 2 +- com32/elflink/ldlinux/getadv.c | 2 +- com32/elflink/ldlinux/setadv.c | 2 +- com32/include/sys/elfcommon.h | 2 +- com32/mboot/mboot.c | 4 ++-- core/i386/syslinux.ld | 2 +- doc/extlinux.txt | 2 +- efi/adv.c | 2 +- libinstaller/advio.c | 2 +- libinstaller/setadv.c | 2 +- libinstaller/s...
2016 Feb 24
2
[PATCH 5/5] installers: fix a MinGW redefinition warning
I get a redefinition warning on _GNU_SOURCE when compiling with MinGW, and while I could see that this #define was introduced in e4fc44 [1], but the reason to introduce it is not mentioned, and I can't really see a good reason to have it, especially as MSVC will happily compile that source. So far I have found no evidence that _GNU_SOURCE applies to memset/memmove/memcpy, which are the
2016 Mar 06
0
[PATCH 5/5] installers: fix a MinGW redefinition warning
...b70f188963ff33e0a16ccb72a553540 > > From 6dc3ad338cf740bf81e2148a35222485904ac615 Mon Sep 17 00:00:00 2001 > From: Pete Batard <pete at akeo.ie> > Date: Tue, 23 Feb 2016 20:03:36 +0000 > Subject: [PATCH 5/5] installers: fix a MinGW redef warning > > --- > libinstaller/setadv.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libinstaller/setadv.c b/libinstaller/setadv.c > index 214f7fc..437583e 100644 > --- a/libinstaller/setadv.c > +++ b/libinstaller/setadv.c > @@ -14,13 +14,12 @@ > /* > * setadv.c > * >...
2010 Jun 19
1
[PATCH 1/2] linux/syslinux.c: Silence warnings
....c: Silence warnings from GCC with asprintf's attribute warn_unused_result in certain glibc versions/patches. Assign it to a variable and ignore it as the string is already tested for null before using it. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- diff --git a/libinstaller/setadv.c b/libinstaller/setadv.c index c891b87..e9847e7 100644 --- a/libinstaller/setadv.c +++ b/libinstaller/setadv.c @@ -182,8 +182,9 @@ int read_adv(const char *path, const char *cfg) int fd = -1; struct stat st; int err = 0; + int ret; - asprintf(&file, "%s%s%s", +...
2013 Sep 30
2
[PATCH v2] core: Check size of ldlinux.sys at building time.
From: Raphael S. Carvalho <raphael.scarv at gmail.com> v2: Extract ADV_SIZE automatically from libinstaller/setadv.h. Calc the size of ldlinux.sys from ldlinux.bin, and check if it exceeds the limit. ldlinux.sys must fit between the bootsector and two copies of ADV whose size may vary. Thus, the size of ldlinux.sys can be at most: 65536 - 2 * ADV_SIZE - 512 (limit). Certain file systems (such as BTRFS and UFS...
2008 May 30
1
extlinux VPATH build issue
...e been seeing intermittent build failures with the extlinux target, and I believe I've tracked it down to a VPATH issue. See this make -d log: Finished prerequisites of target file `extlinux'. Prerequisite `extlinux.o' is newer than target `extlinux'. Prerequisite `setadv.o' is newer than target `extlinux'. Prerequisite `extlinux_bss_bin.o' is newer than target `extlinux'. Prerequisite `extlinux_sys_bin.o' is newer than target `extlinux'. No need to remake target `extlinux'; using VPATH name `../extlinux'. Since the CWD...
2013 Sep 16
1
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
On Mon, 16 Sep, at 09:49:01AM, H. Peter Anvin wrote: > We probably will need to increase out to 4K because of newer drives. Raphael, is there any way we could extract the ADV_SIZE value from libinstaller/setadv.h and pass it to ldlinux_limit.pl? That would allow things to keep working in future when we do upgrade to 4K. -- Matt Fleming, Intel Open Source Technology Center
2011 Jan 17
1
Linker script assertion with binutils 2.21
dos/syslinux.elf fails to build on current Ubuntu Natty (binutils 2.21) as follows: ld -m elf_i386 -T dosexe.ld -o syslinux.elf header.o crt0.o ldlinux.o syslinux.o fat.o syslxmod.o syslxopt.o setadv.o getopt_long.o bootsect_bin.o mbr_bin.o cache.o fatchain.o open.o searchdir.o libcom.a /usr/bin/ld.bfd.real: syslinux_ldlinux_size must equal the size of .payload /usr/bin/ld.bfd.real: syslinux_ldlinux_size must equal the size of .payload 'objdump -t ldlinux.o' looks reasonable: SY...
2015 Nov 10
2
[PATCH] mtools: Remove local xpread/xpwrite, use ones from syslxcom
.../mtools/Makefile b/mtools/Makefile index 0d0b1b2..c980420 100755 --- a/mtools/Makefile +++ b/mtools/Makefile @@ -9,6 +9,7 @@ SRCS = syslinux.c \ ../libinstaller/fs.c \ ../libinstaller/syslxmod.c \ ../libinstaller/syslxopt.c \ + ../libinstaller/syslxcom.c \ ../libinstaller/setadv.c \ ../libinstaller/bootsect_bin.c \ ../libinstaller/ldlinux_bin.c \ diff --git a/mtools/syslinux.c b/mtools/syslinux.c index 5924430..3686be0 100755 --- a/mtools/syslinux.c +++ b/mtools/syslinux.c @@ -42,8 +42,8 @@ #include "setadv.h" #include "syslxopt.h" #include...
2016 Feb 25
2
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
...-Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I/usr/src/syslinux/win64 -I/usr/src/syslinux/win64/.. -I/usr/src/syslinux/win64/../win -I/usr/src/syslinux/bios -I/usr/src/syslinux/win64/../libfat -I/usr/src/syslinux/win64/../libinstaller -I/usr/src/syslinux/win64/../libinstaller/getopt -c -o setadv.obj /usr/src/syslinux/win64/../libinstaller/setadv.c x86_64-w64-mingw32-gcc -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I/usr/src/syslinux/win64 -I/usr/src/syslinux/win64/.. -I/usr/src/syslinux/win64/../win -I/usr/src/syslinux/bios -I/usr/src/syslinux/win64/../libfat -...
2011 May 25
1
[GIT PULL] elflink ldlinux
.../elflink/ldlinux/execute.c | 17 +++-- com32/elflink/ldlinux/ipappend.c | 2 +- com32/elflink/ldlinux/ldlinux.c | 44 ++++++++++++- com32/elflink/ldlinux/readconfig.c | 2 +- com32/{lib/syslinux => elflink/ldlinux}/setadv.c | 0 com32/hdt/Makefile | 2 +- com32/lib/Makefile | 2 - com32/lib/syslinux/adv.c | 49 -------------- com32/lib/syslinux/getadv.c | 68 -------------------- core/combo...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
...| 11 +--- com32/samples/resolv.c | 17 +---- core/comboot.inc | 1 + core/console.c | 7 +-- core/diskfs.inc | 2 +- core/elflink/advwrite.c | 45 ------------- core/elflink/setadv.c | 116 --------------------------------- core/font.c | 4 +- core/fs/pxe/pxe.c | 7 +-- core/fs/pxe/pxe.h | 2 - core/hello.c | 6 +-- core/include/bios.h |...
2013 Sep 16
2
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
On Mon, Sep 16, 2013 at 11:08 AM, Matt Fleming <matt at console-pimps.org> wrote: > Peter, does this look OK to you? > > Raphael, I can't work out why ADV_SIZE is a constant in this file? Matt, ADV_SIZE is currently a constant value, but it may change in the future. So it would need some care. Regards, Raphael S. Carvalho
2013 Oct 03
0
[PATCH v2] core: Check size of ldlinux.sys at building time.
On Mon, 30 Sep, at 02:14:34AM, Raphael S.Carvalho wrote: > From: Raphael S. Carvalho <raphael.scarv at gmail.com> > > v2: Extract ADV_SIZE automatically from libinstaller/setadv.h. > > Calc the size of ldlinux.sys from ldlinux.bin, and check if it exceeds the limit. > ldlinux.sys must fit between the bootsector and two copies of ADV whose size may vary. > Thus, the size of ldlinux.sys can be at most: 65536 - 2 * ADV_SIZE - 512 (limit). > > Certain file...
2011 Oct 05
0
[GIT PULL] NTFS readonly file system support
...dos/Makefile | 2 +- dos/syslinux.c | 5 +- extlinux/Makefile | 2 +- extlinux/main.c | 59 ++- extlinux/ntfs.h | 19 + libinstaller/{fat.c => fs.c} | 120 +++-- libinstaller/linuxioctl.h | 5 +- libinstaller/setadv.c | 1 + libinstaller/syslinux.h | 4 +- libinstaller/syslxcom.c | 6 + libinstaller/syslxcom.h | 9 - libinstaller/syslxfs.h | 26 + libinstaller/syslxint.h | 70 +++- libinstaller/syslxmod.c | 2 +- libinstaller/syslxopt.c | 1 + li...
2014 May 25
0
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...sages was | op 2013-09-16 om 17:23 schreef Matt Fleming: | > On Mon, 16 Sep, at 09:49:01AM, H. Peter Anvin wrote: | > > We probably will need to increase out to 4K because of newer drives. | > | > Raphael, is there any way we could extract the ADV_SIZE value from | > libinstaller/setadv.h and pass it to ldlinux_limit.pl? That would allow | > things to keep working in future when we do upgrade to 4K. | > IMNSHO is including core/ldlinux_limit.pl better than waiting for a better core/ldlinux_limit.pl Groeten Geert Stappers -- Leven en laten leven
2010 Jul 22
2
Syslinux 4.02 released
Syslinux 4.02 is a bug fix release, but also adds an experimental new Win64 installer (syslinux64.exe), extends the new syslinux installer CLI to all the installers. Changes in 4.02: * SYSLINUX: correctly handle the case where the -d option is specified with a non-absolute path, i.e. "syslinux -d syslinux" instead of "syslinux -d /syslinux".
2008 Feb 26
2
3.62-pre16: Compiling on old (2.4 kernel) distros
I have put a compile hack in for older distros and pushed it out as syslinux-3.62-pre16; for those who have reported compilation problem on older distros I would greatly appreciate if you could confirm if it works now (it worked for me on a CentOS 3.9 VM.) -hpa
2012 Aug 14
1
[GIT PULL] elflink fixes
...| 17 +---- core/comboot.inc | 1 + core/console.c | 7 +-- core/diskfs.inc | 2 +- core/elflink/advwrite.c | 45 ------------- core/elflink/load_env32.c | 19 +----- core/elflink/setadv.c | 116 --------------------------------- core/font.c | 4 +- core/fs/pxe/pxe.c | 7 +-- core/fs/pxe/pxe.h | 2 - core/hello.c | 6 +-- core/include/bios.h |...
2016 Feb 24
6
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
The variable 'ok' is never used and generates a warning. Remove it. Also ntfssect.c is designed to be compiled in non Unicode mode when using MSVC compilers, so remove all ambiguity about it (LPCTSTR -> LPCSTR, use of 'A' API calls) so that it doesn't break when compiled in Unicode mode, which is what Rufus uses with MSVC. -------------- next part --------------