Displaying 11 results from an estimated 11 matches for "padsize".
2015 Nov 19
1
[PATCH] Refactor checksize.pl
Le Jeudi 19 novembre 2015 18h43, Celelibi <celelibi at gmail.com> a ?crit :
2015-11-19 17:30 UTC+01:00, Nicolas Cornu via Syslinux <syslinux at zytor.com>:
> - Remove padsize argument as it is never used.
> - Add an usage printed when $file is not set or --help, -h
> is the first argument.
> - Add basic tests for this script.
> ---
> mbr/checksize.pl | 27 ++++++++++++++++++---------
> mbr/checksize_test.sh | 22 ++++++++++++++++++++++
> 2 f...
2015 Nov 19
3
[PATCH] Refactor checksize.pl
- Remove padsize argument as it is never used.
- Add an usage printed when $file is not set or --help, -h
is the first argument.
- Add basic tests for this script.
---
mbr/checksize.pl | 27 ++++++++++++++++++---------
mbr/checksize_test.sh | 22 ++++++++++++++++++++++
2 files changed, 40 insertions(+), 9 d...
2015 Nov 19
0
[PATCH] Refactor checksize.pl
2015-11-19 17:30 UTC+01:00, Nicolas Cornu via Syslinux <syslinux at zytor.com>:
> - Remove padsize argument as it is never used.
> - Add an usage printed when $file is not set or --help, -h
> is the first argument.
> - Add basic tests for this script.
> ---
> mbr/checksize.pl | 27 ++++++++++++++++++---------
> mbr/checksize_test.sh | 22 ++++++++++++++++++++++
> 2 f...
2017 Mar 21
0
Patch: make slightly more verbose versions of isohdp.x.S
...isohdppx_f.bin \
+ isohdpfv.bin isohdppv.bin
%.o: %.S
$(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $<
diff --git a/mbr/checksize.pl b/mbr/checksize.pl
index 4b42327..1fb2a86 100755
--- a/mbr/checksize.pl
+++ b/mbr/checksize.pl
@@ -27,7 +27,7 @@ if (!defined($maxsize)) {
$maxsize = $padsize = 440;
} elsif ($file =~ /^gptmbr[^0-9a-z]/) {
$maxsize = $padsize = 440;
- } elsif ($file =~ /^isohdp[fp]x[^0-9a-z]/) {
+ } elsif ($file =~ /^isohdp[fp][vx][^0-9a-z]/) {
$maxsize = $padsize = 432;
} elsif ($file =~ /^altmbr[^0-9a-z]/) {
$maxsize = $padsize = 439;
diff --git a...
2015 Nov 19
2
Comments WAS: Refactor checksize.pl
> 2015-11-19 17:30 UTC+01:00, Nicolas Cornu via Syslinux <syslinux at zytor.com>:
> > - Remove padsize argument as it is never used.
> > - Add an usage printed when $file is not set or --help, -h
> > is the first argument.
> > - Add basic tests for this script.
> > ---
> > mbr/checksize.pl | 27 ++++++++++++++++++---------
> > mbr/checksize_test.sh | 22 ++...
2015 Nov 20
0
Comments WAS: Refactor checksize.pl
2015-11-19 21:22 UTC+01:00, Ady via Syslinux <syslinux at zytor.com>:
>
>> 2015-11-19 17:30 UTC+01:00, Nicolas Cornu via Syslinux
>> <syslinux at zytor.com>:
>> > - Remove padsize argument as it is never used.
>> > - Add an usage printed when $file is not set or --help, -h
>> > is the first argument.
>> > - Add basic tests for this script.
>> > ---
>> > mbr/checksize.pl | 27 ++++++++++++++++++---------
>> > mbr/c...
2015 Nov 20
2
Comments WAS: Refactor checksize.pl
...r physical individual) interacts
with the code. I also added, more than once, the general scope of my
comments, as opposed to taking the very specific case of this
particular Perl script. Reading the complete email (for context) is
relevant.
> >
> > In the particular case of "padsize" vs. "maxsize" (options / parameters
> > of the Perl script), there used to be a separate use of them. Although
> > there _seems_ to be no use for having both of them simultaneously at
> > this time _for a normal build of Syslinux_, we cannot discard /
> > dis...
2015 Nov 20
2
Comments WAS: Refactor checksize.pl
...t checked the official release, it actually include the whole
> source tree. Does that mean we can't change any argument of the shell
> or perl scripts or any target of the Makefiles?
> Of course not.
>
> >
> >> >
> >> > In the particular case of "padsize" vs. "maxsize" (options / parameters
> >> > of the Perl script), there used to be a separate use of them. Although
> >> > there _seems_ to be no use for having both of them simultaneously at
> >> > this time _for a normal build of Syslinux_, we can...
2015 Nov 20
0
Comments WAS: Refactor checksize.pl
...de a
file named checksize.pl.
I just checked the official release, it actually include the whole
source tree. Does that mean we can't change any argument of the shell
or perl scripts or any target of the Makefiles?
Of course not.
>
>> >
>> > In the particular case of "padsize" vs. "maxsize" (options / parameters
>> > of the Perl script), there used to be a separate use of them. Although
>> > there _seems_ to be no use for having both of them simultaneously at
>> > this time _for a normal build of Syslinux_, we cannot discard /
&...
1997 Jul 24
0
smbclient, tar, and exclude
...strcat(exclaim, finfo->name);
--- 1143,1148 ----
*** proto.h Thu Jul 24 14:32:28 1997
--- proto.h.new Thu Jul 24 10:56:09 1997
***************
*** 50,56 ****
/*The following definitions come from clitar.c */
- int strslashcmp(char *s1,char *s2);
int padit(char *buf, int bufsize, int padsize);
void cmd_block(void);
void cmd_tarmode(void);
--- 50,55 ----
2015 Nov 20
0
Comments WAS: Refactor checksize.pl
...ase, it actually include the whole
>> source tree. Does that mean we can't change any argument of the shell
>> or perl scripts or any target of the Makefiles?
>> Of course not.
>>
>> >
>> >> >
>> >> > In the particular case of "padsize" vs. "maxsize" (options /
>> >> > parameters
>> >> > of the Perl script), there used to be a separate use of them.
>> >> > Although
>> >> > there _seems_ to be no use for having both of them simultaneously at
>> >&g...