Mercurial > hgrepos > hgweb.cgi > s4
changeset 726:01be32e89ccd
[Debug] Inspect original stream of empty file.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 31 May 2020 19:06:46 +0900 |
parents | 541f39bcaba4 |
children | b73e2399994c 2c0c25fc9f68 |
files | s4-funcs.sh |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Sun May 31 17:09:47 2020 +0900 +++ b/s4-funcs.sh Sun May 31 19:06:46 2020 +0900 @@ -1459,6 +1459,9 @@ mogrify -quality 75 -resize $maximagexy'>' "$tmpd/$v" err "Mogrified: `ls -lF $tmpd/$v`" # 2020-05-31 ;; + [Aa]pplication/*-empty) + err "Stream-Empty found: [$v]"; cp "$tmpf" tmp/ + ;; esac if ! echo "$mimetype" | egrep "$file_accept_egrep" >/dev/null 2>&1 then