Displaying 4 results from an estimated 4 matches for "4b42327".
2015 Nov 19
3
[PATCH] Refactor checksize.pl
...ent.
- Add basic tests for this script.
---
mbr/checksize.pl | 27 ++++++++++++++++++---------
mbr/checksize_test.sh | 22 ++++++++++++++++++++++
2 files changed, 40 insertions(+), 9 deletions(-)
create mode 100644 mbr/checksize_test.sh
diff --git a/mbr/checksize.pl b/mbr/checksize.pl
index 4b42327..cbca5b2 100755
--- a/mbr/checksize.pl
+++ b/mbr/checksize.pl
@@ -19,25 +19,34 @@
use bytes;
-($file, $maxsize, $padsize) = @ARGV;
+($file, $maxsize) = @ARGV;
+
+if (!defined($file) or $file == "--help" or $file == "-h") {
+ $usage = <<"END_USAGE";
+Usage...
2015 Nov 19
1
[PATCH] Refactor checksize.pl
...> ---
> mbr/checksize.pl | 27 ++++++++++++++++++---------
> mbr/checksize_test.sh | 22 ++++++++++++++++++++++
> 2 files changed, 40 insertions(+), 9 deletions(-)
> create mode 100644 mbr/checksize_test.sh
>
> diff --git a/mbr/checksize.pl b/mbr/checksize.pl
> index 4b42327..cbca5b2 100755
> --- a/mbr/checksize.pl
> +++ b/mbr/checksize.pl
> @@ -19,25 +19,34 @@
>
> use bytes;
>
> -($file, $maxsize, $padsize) = @ARGV;
> +($file, $maxsize) = @ARGV;
> +
> +if (!defined($file) or $file == "--help" or $file == "-h") {
>...
2015 Nov 19
0
[PATCH] Refactor checksize.pl
...> ---
> mbr/checksize.pl | 27 ++++++++++++++++++---------
> mbr/checksize_test.sh | 22 ++++++++++++++++++++++
> 2 files changed, 40 insertions(+), 9 deletions(-)
> create mode 100644 mbr/checksize_test.sh
>
> diff --git a/mbr/checksize.pl b/mbr/checksize.pl
> index 4b42327..cbca5b2 100755
> --- a/mbr/checksize.pl
> +++ b/mbr/checksize.pl
> @@ -19,25 +19,34 @@
>
> use bytes;
>
> -($file, $maxsize, $padsize) = @ARGV;
> +($file, $maxsize) = @ARGV;
> +
> +if (!defined($file) or $file == "--help" or $file == "-h") {
>...
2017 Mar 21
0
Patch: make slightly more verbose versions of isohdp.x.S
...c.bin \
- mbr_f.bin altmbr_f.bin gptmbr_f.bin isohdpfx_f.bin isohdppx_f.bin
+ mbr_f.bin altmbr_f.bin gptmbr_f.bin isohdpfx_f.bin 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][...