search for: max_lin

Displaying 18 results from an estimated 18 matches for "max_lin".

Did you mean: max_len
2004 Dec 02
7
A possible way to reduce basic questions
Jim Lemon <bitwrit <at> ozemail.com.au> writes: > I have been thinking about how to reduce the number of basic questions that > elicit the ...ahem... robust debate that has occurred about how to answer The traffic on r-help could be reduced by creating a second list where more elementary questions are asked. There may be other ways to partition the universe of questions
2007 Feb 23
1
Patch: Readconfig wont parse certain options anymore
...ible, if you use timeout option, which wont work in the latest 3.40-pre7. Patch: --- com32/modules/readconfig.c /opensource/syslinux-3.40-pre7/com32/modules/readconfig.c#2 +++ com32/modules/readconfig.c 07-02-22 20:45:46 @@ -412,7 +412,7 @@ static void parse_config_file(FILE *f) { - char line[MAX_LINE], *p, *ep, ch; + char line[MAX_LINE], *p, *kp, *ep, ch; enum kernel_type type; while ( fgets(line, sizeof line, f) ) { @@ -532,10 +532,10 @@ ld.menulabel = NULL; ld.ipappend = ipappend; ld.menudefault = ld.menuhide = 0; - } else if ( (p = is_kernel_type(p, &typ...
2007 May 12
7
[Bug 10927] New: segmentation fault in NVUploadToScreen, called from exaPutImage
http://bugs.freedesktop.org/show_bug.cgi?id=10927 Summary: segmentation fault in NVUploadToScreen, called from exaPutImage Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...fwd[i] = *tmp; + tmp++; + } + free(bwd); + + return fwd; + +nomem: + dprintf("Out of memory error!\n"); + free(bwd); + free(fwd); + return NULL; +} + +static int parse_bls1_file(struct blsdata *bd, const char *filename) +{ + FILE *f = NULL; + char line[MAX_LINE], *p; + char *sort_field; + + dprintf("Opening bls entry: %s ", filename); + + f = fopen(filename, "r"); + dprintf("%s\n", f ? "ok" : "failed"); + + if (!f) + return -1; + + refstr_put(bd->filename); + bd->filename...
2019 May 25
2
[PATCH] (vesa)menu.c32: Add support for BLS
...efined by > > this new specification. > > Any reason why you don't try to implement this in syslinux core? > > <snip> > > > +static int parse_bls1_file(struct blsdata *bd, const char *filename) > > +{ > > + FILE *f = NULL; > > + char line[MAX_LINE], *p; > > + char *sort_field; > > + > > + dprintf("Opening bls entry: %s ", filename); > > + > > + f = fopen(filename, "r"); > > + dprintf("%s\n", f ? "ok" : "failed"); > > + > > + if (...
2008 Aug 17
1
[PATCH] pci: rename get_module_name_from_pci_ids
...+73,7 @@ /* Try to match any pci device to the appropriate kernel module */ /* it uses the modules.pcimap from the boot device*/ -void get_module_name_from_pci_ids(struct pci_device_list *pci_device_list) +void get_module_name_from_pcimap(struct pci_device_list *pci_device_list) { char line[MAX_LINE]; char module_name[21]; // the module name field is 21 char long Index: syslinux-3.71-12-ga19312b/com32/modules/pcitest.c =================================================================== --- syslinux-3.71-12-ga19312b.orig/com32/modules/pcitest.c 2008-08-16 19:39:52.000000000 +0200 +++ syslin...
2019 May 25
0
[PATCH] (vesa)menu.c32: Add support for BLS
...2 modules to parse the drop-in files that are defined by > this new specification. Any reason why you don't try to implement this in syslinux core? <snip> > +static int parse_bls1_file(struct blsdata *bd, const char *filename) > +{ > + FILE *f = NULL; > + char line[MAX_LINE], *p; > + char *sort_field; > + > + dprintf("Opening bls entry: %s ", filename); > + > + f = fopen(filename, "r"); > + dprintf("%s\n", f ? "ok" : "failed"); > + > + if (!f) > + return -1; > + >...
2008 Mar 31
3
[PATCH 3/4] extract vmcoreinfo from /proc/vmcore for Xen
...00 @@ -110,10 +110,8 @@ return 0; } -/* Returns the physical address of start of crash notes buffer for a kernel. */ -int get_kernel_vmcoreinfo(uint64_t *addr, uint64_t *len) +static int get_vmcoreinfo(char *kdump_info, uint64_t *addr, uint64_t *len) { - char kdump_info[PATH_MAX]; char line[MAX_LINE]; int count; FILE *fp; @@ -122,9 +120,8 @@ *addr = 0; *len = 0; - sprintf(kdump_info, "/sys/kernel/vmcoreinfo"); if (!(fp = fopen(kdump_info, "r"))) - return 0; + return -1; if (!fgets(line, sizeof(line), fp)) die("Cannot parse %s: %s\n", kdump_in...
2019 May 27
0
[PATCH] (vesa)menu.c32: Add support for BLS
...ux/extlinux/isolinux. It could depend on "pxelinux.pathprefix" for pxelinux. > > > > <snip> > > > > > +static int parse_bls1_file(struct blsdata *bd, const char > > > *filename) +{ > > > + FILE *f = NULL; > > > + char line[MAX_LINE], *p; > > > + char *sort_field; > > > + > > > + dprintf("Opening bls entry: %s ", filename); > > > + > > > + f = fopen(filename, "r"); > > > + dprintf("%s\n", f ? "ok" : "failed"); &...
2013 Jun 12
3
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
On Wed, 12 Jun, at 11:17:44AM, Gerardo Exequiel Pozzi wrote: > Cool thanks!. Now looks better, but still not work. > > For some reason, "ldlinux.c32" is apparently sent but "Failed to load" > by PXELINUX and few seconds later, dnsmasq shows an error message > "failed sending": Argh! The patch was broken. I missed the new core/path.c file. My bad.
2013 Jun 12
5
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
...Find the next directory */ + str = refdup_word(&p); + if (!str) + goto bail; + + entry = path_add(str); + refstr_put(str); + + if (!entry) + goto bail; + + p = skipspace(p); + } + + return 0; + +bail: + return -1; +} + static void parse_config_file(FILE * f) { char line[MAX_LINE], *p, *ep, ch; @@ -1337,24 +1370,8 @@ do_include: } else if (looking_at(p, "say")) { printf("%s\n", p+4); } else if (looking_at(p, "path")) { - /* PATH-based lookup */ - const char *new_path; - char *_p; - size_t len, new_len; - - new_path = refstrdup(skip...
2013 Jun 12
0
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
...Find the next directory */ + str = refdup_word(&p); + if (!str) + goto bail; + + entry = path_add(str); + refstr_put(str); + + if (!entry) + goto bail; + + p = skipspace(p); + } + + return 0; + +bail: + return -1; +} + static void parse_config_file(FILE * f) { char line[MAX_LINE], *p, *ep, ch; @@ -1337,24 +1370,8 @@ do_include: } else if (looking_at(p, "say")) { printf("%s\n", p+4); } else if (looking_at(p, "path")) { - /* PATH-based lookup */ - const char *new_path; - char *_p; - size_t len, new_len; - - new_path = refstrdup(skip...
2005 Jun 03
2
POP3 download problem
Hi All I am experiencing a mail download problem with dovecot's pop3 protocol. We use outlook XP 2002 mail clients and I have setup a mail system with pop accounts on a Fedora 2 installation using dovecot. Some of the clients download email fine but others do not download email and also do not give any error messages. I have enabled the "verbose" options in the
2013 Jun 11
2
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
On Mon, 10 Jun, at 07:57:50AM, H. Peter Anvin wrote: > Either that or make the path a list rather than a string, using the > normal word separators when entered on the command line, a bit like the > (t)csh does. That is a bigger change but is probably a better solution. How would this solution handle filenames containing spaces? Would we need to escape (presumably with a backslash)
2013 Jun 12
0
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
...t; + entry = path_add(str); > + refstr_put(str); > + > + if (!entry) > + goto bail; > + > + p = skipspace(p); > + } > + > + return 0; > + > +bail: > + return -1; > +} > + > static void parse_config_file(FILE * f) > { > char line[MAX_LINE], *p, *ep, ch; > @@ -1337,24 +1370,8 @@ do_include: > } else if (looking_at(p, "say")) { > printf("%s\n", p+4); > } else if (looking_at(p, "path")) { > - /* PATH-based lookup */ > - const char *new_path; > - char *_p; > - size_t len,...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...d * display/font/kbdmap are rather similar, open a file then do sth @@ -1433,6 +1480,277 @@ static void parse_config_file(FILE * f) } } +/* + * inspired by parse_config_file + */ +static int parse_bls1_file(struct blsdata *bd, const char *filename) +{ + FILE *f = NULL; + char line[MAX_LINE], *p, *pin; + const char *fmt, *tmp; + + dprintf("Opening bls entry: %s ", filename); + + f = fopen(filename, "r"); + dprintf("%s\n", f ? "ok" : "failed"); + + if (!f) + return -1; + + refstr_put(bd->filename); + bd->file...
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
2007 Sep 28
18
[makedumpfile] extract vmcoreinfo from /proc/vmcore for Xen
Hi, --- background ---------------------------------------------------- * what the makedumpfile is: To shorten the size of the dumpfile and the time of creating the dumpfile, makedumpfile copies only the necessary pages for analysis to the dumpfile from /proc/vmcore. You can specify the kind of unnecessary pages with dump_level. If you want to shorten the size further, enable the