Skip to content

Commit

Permalink
The h5(p)*c parser retains escaped whitespace character (#4967)
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld authored Oct 18, 2024
1 parent bfcb916 commit 610648e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/h5cc.in
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ for arg in $@ ; do
qarg='"'"$arg"'"'
qargs="$qargs $qarg"
;;
*\ *)
qarg=$arg
qargs="$qargs $qarg"
;;
*)
if test -s "$arg"; then
ext=`expr "$arg" : '.*\(\..*\)'`
Expand Down
4 changes: 4 additions & 0 deletions c++/src/h5c++.in
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ for arg in $@ ; do
qarg='"'"$arg"'"'
qargs="$qargs $qarg"
;;
*\ *)
qarg=$arg
qargs="$qargs $qarg"
;;
*)
if [ -s "$arg" ] ; then
ext=`expr "$arg" : '.*\(\..*\)'`
Expand Down
4 changes: 4 additions & 0 deletions fortran/src/h5fc.in
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ for arg in $@ ; do
qarg='"'"$arg"'"'
qargs="$qargs $qarg"
;;
*\ *)
qarg=$arg
qargs="$qargs $qarg"
;;
*)
if [ -s "$arg" ] ; then
ext=`expr "$arg" : '.*\(\..*\)'`
Expand Down

0 comments on commit 610648e

Please sign in to comment.