/[autoconf]/autoconf/lib/m4sugar/m4sh.m4
ViewVC logotype

Diff of /autoconf/lib/m4sugar/m4sh.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.80 by akim, Tue Apr 2 15:14:09 2002 UTC revision 1.81 by schwab, Thu Apr 4 13:35:05 2002 UTC
# Line 626  fi Line 626  fi
626  # Still very private as its interface looks quite bad.  # Still very private as its interface looks quite bad.
627  #  #
628  # `$as_dummy' forces splitting on constant user-supplied paths.  # `$as_dummy' forces splitting on constant user-supplied paths.
629  # POSIX.2 word splitting is done only on the output of word  # POSIX.2 field splitting is done only on the result of word
630  # expansions, not every word.  This closes a longstanding sh security  # expansions, not on literal text.  This closes a longstanding sh security
631  # hole.  Optimize it away when not needed.  # hole.  Optimize it away when not needed, i.e., if there are no literal
632    # path separators.
633  m4_define([_AS_PATH_WALK],  m4_define([_AS_PATH_WALK],
634  [AS_REQUIRE([_AS_PATH_SEPARATOR_PREPARE])dnl  [AS_REQUIRE([_AS_PATH_SEPARATOR_PREPARE])dnl
635  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
636  AS_LITERAL_IF(m4_default([$1], [$PATH]),  m4_bmatch([$1], [[:;]],
637  [as_dummy="$1"  [as_dummy="$1"
638  for as_dir in $as_dummy],  for as_dir in $as_dummy],
639  [for as_dir in m4_default([$1], [$PATH])])  [for as_dir in m4_default([$1], [$PATH])])

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26