Loading util/openssl-format-source +6 −3 Original line number Original line Diff line number Diff line Loading @@ -85,9 +85,12 @@ do tmp=$(mktemp /tmp/indent.XXXXXX) tmp=$(mktemp /tmp/indent.XXXXXX) trap 'rm -f "$tmp"' HUP INT TERM EXIT trap 'rm -f "$tmp"' HUP INT TERM EXIT case $j in case `basename $j` in # the list of files that indent is unable to handle correctly # the list of files that indent is unable to handle correctly # that we simply leave alone for manual formatting now # that we simply leave alone for manual formatting now obj_dat.h) echo "skipping $j" ;; *) *) if [ "$COMMENTS" = "true" ]; then if [ "$COMMENTS" = "true" ]; then # we have to mark single line comments as /*- ...*/ to stop indent # we have to mark single line comments as /*- ...*/ to stop indent Loading Loading @@ -129,10 +132,10 @@ do > "$tmp" > "$tmp" else else expand "$j" | indent $INDENT_ARGS > "$tmp" expand "$j" | indent $INDENT_ARGS > "$tmp" fi fi; mv "$tmp" "$j" ;; ;; esac esac mv "$tmp" "$j" fi fi done done done done Loading Loading
util/openssl-format-source +6 −3 Original line number Original line Diff line number Diff line Loading @@ -85,9 +85,12 @@ do tmp=$(mktemp /tmp/indent.XXXXXX) tmp=$(mktemp /tmp/indent.XXXXXX) trap 'rm -f "$tmp"' HUP INT TERM EXIT trap 'rm -f "$tmp"' HUP INT TERM EXIT case $j in case `basename $j` in # the list of files that indent is unable to handle correctly # the list of files that indent is unable to handle correctly # that we simply leave alone for manual formatting now # that we simply leave alone for manual formatting now obj_dat.h) echo "skipping $j" ;; *) *) if [ "$COMMENTS" = "true" ]; then if [ "$COMMENTS" = "true" ]; then # we have to mark single line comments as /*- ...*/ to stop indent # we have to mark single line comments as /*- ...*/ to stop indent Loading Loading @@ -129,10 +132,10 @@ do > "$tmp" > "$tmp" else else expand "$j" | indent $INDENT_ARGS > "$tmp" expand "$j" | indent $INDENT_ARGS > "$tmp" fi fi; mv "$tmp" "$j" ;; ;; esac esac mv "$tmp" "$j" fi fi done done done done Loading