search for: parse_command_line

Displaying 12 results from an estimated 12 matches for "parse_command_line".

2015 Sep 02
1
HDT & DMI updates
...ind my hw_update branch which is in sync with the current git > tree. > > https://github.com/ErwanAliasr1/syslinux/commits/hw_update > > f249d92b doesn't feel right. After parsing, it should become an array > of many pointers, one per argument. You do this allocation in > parse_command_line() properly but I believe due to the indirection, > it's not being applied correctly. Don't we need the address of (1) an > array (2) of pointers (3) to blocks of chars? > > > static void parse_command_line(char *line, char **command, char **module, > in...
2015 Aug 14
2
HDT & DMI updates
Hi folks, I've been off for a pretty long time and I'm trying to resume a little bit. While testing HDT I found some serious bugs in HDT's CLI mode but also took the time to update the DMI detection tables. Please find my hw_update branch which is in sync with the current git tree. https://github.com/ErwanAliasr1/syslinux/commits/hw_update Erwan,
2015 Sep 02
0
HDT & DMI updates
...on tables. > > Please find my hw_update branch which is in sync with the current git tree. > https://github.com/ErwanAliasr1/syslinux/commits/hw_update f249d92b doesn't feel right. After parsing, it should become an array of many pointers, one per argument. You do this allocation in parse_command_line() properly but I believe due to the indirection, it's not being applied correctly. Don't we need the address of (1) an array (2) of pointers (3) to blocks of chars? static void parse_command_line(char *line, char **command, char **module, int *argc, char **argv) shoul...
2013 Dec 12
10
[PATCH 0/4] Turn-key PV-GRUB2 installation
This patch set should make it easier to maintain PV-GRUB2 installations. The general idea is based on discussions I had with Xen developers (mainly Ian Jackson) at the Ubuntu Developer Summit in May 2011; though I never did manage to get the core port done and Vladimir beat me to that, I think the configuration approach we discussed there is still valid and useful. The idea here is that people
2013 Feb 04
2
Version 5.01 not passing kernel command line args to memtest86+as it can understand
Hello, I'm trying to pass the serial port options to memtest86+ using Syslinux 5.01 but is not working. Debugging the memtest86+, the check at main.cpp function static void parse_command_line(void) if (*OLD_CL_MAGIC_ADDR != OLD_CL_MAGIC) return; Is being evaluated to true. What should I do? There is a way to instruct memtest to use the "old way" to pass parameters to memtest or shoud I try to patch memtest? This is my menu label: label Memtest linux /boot/me...
2016 Sep 08
4
[PATCH 0/3] Use gnulib's getprogname
Hi, this series update libguestfs to a recent gnulib version, so that we can use its new getprogname module, and solve altogether one of the porting issues (the need for 'program_name' by the error module of gnulib), and have a single way to get the name of the current program. A number of changes in tools mostly, although mechanical. Thanks, Pino Toscano (3): Update gnulib to latest
2015 Jul 11
0
EXTLINUX - GCC 5
.../* 0x12 */ "Socket LGA1366" /* 0x19 */ ----------------------------------------------------------------- [com32/hdt/hdt-cli.c:609]: (error) Possible null pointer dereference: argv Hard to say whether this is really wrong code. It depends on the two while-loops in parse_command_line() whether the second allocates as many items as the the first one predicted. It is very optimistic about success of malloc(). ----------------------------------------------------------------- [com32/hdt/hdt-cli.c:90]: (error) Memory is allocated but not initialized: new Might be a false posit...
2015 Jul 11
3
EXTLINUX - GCC 5
> On Jul 10, 2015 5:29 PM, "poma via Syslinux" <syslinux at zytor.com> wrote: > > > The same as with the ISOLINUX, stable and git. > > Only this time has nothing to do with the menu. > > 1) EXTLINUX is no longer a discrete variant. The installer extlinux now > installs SYSLINUX. > 2) William Kensington already saw a similar behavior wherein an
2012 Mar 13
2
[PATCH 0/2] 'int' to 'size_t' changes
These two patches are probably not completely independent, but separating them is a lot of work. With *both* patches applied, all the tests and extra-tests pass. That's no guarantee however that there isn't a mistake, so I don't think this patch is a candidate for the 1.16 branch, until it's had a lot more testing in development. Rich.
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers. These aren't valid for global names in C++. (http://stackoverflow.com/a/228797) These large but completely mechanical patches change the illegal identifiers to legal ones. Rich.
2011 Jan 18
1
builder-debian libguestfs FAILED build step 41bbc0a7a3f3cd768c83183327ffc562d2040a83
...make[4]: Leaving directory `/home/rjones/d/libguestfs/generator' CC libcmds_la-cmds_gperf.lo CCLD libcmds.la CC guestfish-cmds.o CC guestfish-completion.o CC guestfish-inspect.o CC guestfish-fish.o cc1: warnings being treated as errors fish.c: In function 'parse_command_line': fish.c:690: error: 'pcmd.cmd' may be used uninitialized in this function [-Wuninitialized] At top level: cc1: error: unrecognized command line option "-Wno-jump-misses-init" make[3]: *** [guestfish-fish.o] Error 1 make[3]: Leaving directory `/home/rjones/d/libguestfs/fish...
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...#39;quit' to quit the shell\n" + "Type: ‘help’ for help on commands\n" + " ‘man’ to read the manual\n" + " ‘quit’ to quit the shell\n" "\n")); if (inspector) { @@ -893,7 +895,7 @@ parse_command_line (char *buf, int *exit_on_error_rtn) } else pend = &p[len]; } else { - fprintf (stderr, _("%s: internal error parsing string at '%s'\n"), + fprintf (stderr, _("%s: internal error parsing string at ‘%s’\n"), getprogname ()...