openssl-format-source
Reviewed-by: Tim Hudson <tjh@openssl.org>
tmp=$(mktemp /tmp/indent.XXXXXX)
trap 'rm -f "$tmp"' HUP INT TERM EXIT
tmp=$(mktemp /tmp/indent.XXXXXX)
trap 'rm -f "$tmp"' HUP INT TERM EXIT
# the list of files that indent is unable to handle correctly
# that we simply leave alone for manual formatting now
# the list of files that indent is unable to handle correctly
# that we simply leave alone for manual formatting now
+ obj_dat.h)
+ echo "skipping $j"
+ ;;
*)
if [ "$COMMENTS" = "true" ]; then
# we have to mark single line comments as /*- ...*/ to stop indent
*)
if [ "$COMMENTS" = "true" ]; then
# we have to mark single line comments as /*- ...*/ to stop indent
> "$tmp"
else
expand "$j" | indent $INDENT_ARGS > "$tmp"
> "$tmp"
else
expand "$j" | indent $INDENT_ARGS > "$tmp"