aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hylafaxplus/common-functions-busybox-awk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/hylafaxplus/common-functions-busybox-awk.patch')
-rw-r--r--testing/hylafaxplus/common-functions-busybox-awk.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/hylafaxplus/common-functions-busybox-awk.patch b/testing/hylafaxplus/common-functions-busybox-awk.patch
index 3e9ddd6031b..b217b20b7f8 100644
--- a/testing/hylafaxplus/common-functions-busybox-awk.patch
+++ b/testing/hylafaxplus/common-functions-busybox-awk.patch
@@ -20,4 +20,23 @@ index 38049e3..54cfd6b 100644
if [ $THISLEN -gt $ITEMSIZE ]; then ITEMSIZE=$THISLEN; fi
done
}
+@@ -146,12 +146,12 @@
+ } p("faxstatus", status);
+ next;
+ }
+- /^[!]*post/ { p("files_"++nfiles, $4); p("filetype_"nfiles, "PostScript"); next; }
+- /^[!]*tiff/ { p("files_"++nfiles, $4); p("filetype_"nfiles, "TIFF"); next; }
+- /^[!]*pdf/ { p("files_"++nfiles, $4); p("filetype_"nfiles, "PDF"); next; }
+- /^[!]*pcl/ { p("files_"++nfiles, $4); p("filetype_"nfiles, "PCL"); next; }
+- /^page:/ { p("pins_"++npins, $4); next; }
+- /^data:/ { p("files_"++nfiles, $4); next; }
++ /^[!]*post/ { ++nfiles; p("files_"nfiles, $4); p("filetype_"nfiles, "PostScript"); next; }
++ /^[!]*tiff/ { ++nfiles; p("files_"nfiles, $4); p("filetype_"nfiles, "TIFF"); next; }
++ /^[!]*pdf/ { ++nfiles; p("files_"nfiles, $4); p("filetype_"nfiles, "PDF"); next; }
++ /^[!]*pcl/ { ++nfiles; p("files_"nfiles, $4); p("filetype_"nfiles, "PCL"); next; }
++ /^page:/ { ++npins; p("pins_"npins, $4); next; }
++ /^data:/ { ++nfiles; p("files_"nfiles, $4); next; }
+ /^poll/ { p("poll", " -p"); next; }
+ # Only parse remaining valid lines and allows for colons to appear in the value part
+ /^[a-z]+:/ { str = $0; sub($1":", "", str); p($1, str); next; }