Displaying 4 results from an estimated 4 matches for "syslinux_1_changelog".
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...rectory %s ", dirname);
+
+ d = opendir(dirname);
+ dprintf("%s\n", d ? "ok" : "failed");
+
+ if (!d)
+ return -1;
+
+ dn_len = strlen(dirname);
+
+ /* Process up to 128 files */
+ /* https://wiki.syslinux.org/wiki/
+ index.php?title=Syslinux_1_Changelog#Changes_in_1.37 */
+ while ((de = readdir(d)) != NULL && n_bd < 128) {
+ if (de->d_type != DT_REG)
+ continue;
+
+ fn_len = strlen(de->d_name);
+ if (strcmp(de->d_name+(fn_len-5), ".conf"))
+ continue;
+
+ if (!(file...
2019 May 25
2
[PATCH] (vesa)menu.c32: Add support for BLS
...? "ok" : "failed");
> > +
> > + if (!d)
> > + return -1;
> > +
> > + dn_len = strlen(dirname);
> > +
> > + /* Process up to 128 files */
> > + /* https://wiki.syslinux.org/wiki/
> > + index.php?title=Syslinux_1_Changelog#Changes_in_1.37 */
> > + while ((de = readdir(d)) != NULL && n_bd < 128) {
>
> Are you sure this limit is still accurate?
No, I'm not. It seemed like a reasonable limit though. If the vote is
that there should not be a limit, I'm cool with taking it out. The
only...
2019 May 25
0
[PATCH] (vesa)menu.c32: Add support for BLS
...rname);
> + dprintf("%s\n", d ? "ok" : "failed");
> +
> + if (!d)
> + return -1;
> +
> + dn_len = strlen(dirname);
> +
> + /* Process up to 128 files */
> + /* https://wiki.syslinux.org/wiki/
> + index.php?title=Syslinux_1_Changelog#Changes_in_1.37 */
> + while ((de = readdir(d)) != NULL && n_bd < 128) {
Are you sure this limit is still accurate?
Sebastian
2019 May 27
0
[PATCH] (vesa)menu.c32: Add support for BLS
...> > +
> > > + if (!d)
> > > + return -1;
> > > +
> > > + dn_len = strlen(dirname);
> > > +
> > > + /* Process up to 128 files */
> > > + /* https://wiki.syslinux.org/wiki/
> > > + index.php?title=Syslinux_1_Changelog#Changes_in_1.37 */
> > > + while ((de = readdir(d)) != NULL && n_bd < 128) {
> >
> > Are you sure this limit is still accurate?
>
> No, I'm not. It seemed like a reasonable limit though. If the vote is
> that there should not be a limit, I'm cool...