Loading ...
Sorry, an error occurred while loading the content.

Patch 7.2b.014

Expand Messages
  • Bram Moolenaar
    Patch 7.2b.014 Problem: Configure uses an unsafe temp file to store commands. Solution: Create the temp file in local directory. Files:
    Message 1 of 1 , Jul 24, 2008
    • 0 Attachment
      Patch 7.2b.014
      Problem: Configure uses an unsafe temp file to store commands.
      Solution: Create the temp file in local directory.
      Files: src/auto/configure, src/configure.in


      *** ../vim-7.2b.013/src/auto/configure Thu Jul 24 13:20:13 2008
      --- src/auto/configure Thu Jul 24 14:40:36 2008
      ***************
      *** 5114,5129 ****
      $as_echo_n "(cached) " >&6
      else

      ! tmp_mkf="/tmp/Makefile-conf$$"
      ! cat ${PYTHON_CONFDIR}/Makefile - <<'eof' >${tmp_mkf}
      __:
      @echo "python_MODLIBS='$(MODLIBS)'"
      @echo "python_LIBS='$(LIBS)'"
      @echo "python_SYSLIBS='$(SYSLIBS)'"
      @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
      eof
      ! eval "`cd ${PYTHON_CONFDIR} && make -f ${tmp_mkf} __ | sed '/ directory /d'`"
      ! rm -f ${tmp_mkf}
      if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
      "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
      vi_cv_path_python_plibs="-framework Python"
      --- 5114,5130 ----
      $as_echo_n "(cached) " >&6
      else

      ! pwd=`pwd`
      ! tmp_mkf="$pwd/config-PyMake$$"
      ! cat -- "${PYTHON_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
      __:
      @echo "python_MODLIBS='$(MODLIBS)'"
      @echo "python_LIBS='$(LIBS)'"
      @echo "python_SYSLIBS='$(SYSLIBS)'"
      @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
      eof
      ! eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
      ! rm -f -- "${tmp_mkf}"
      if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
      "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
      vi_cv_path_python_plibs="-framework Python"
      *** ../vim-7.2b.013/src/configure.in Thu Jul 24 13:20:13 2008
      --- src/configure.in Thu Jul 24 14:40:26 2008
      ***************
      *** 678,685 ****
      dnl see what the interpreter is built from
      AC_CACHE_VAL(vi_cv_path_python_plibs,
      [
      ! tmp_mkf="/tmp/Makefile-conf$$"
      ! cat ${PYTHON_CONFDIR}/Makefile - <<'eof' >${tmp_mkf}
      __:
      @echo "python_MODLIBS='$(MODLIBS)'"
      @echo "python_LIBS='$(LIBS)'"
      --- 678,686 ----
      dnl see what the interpreter is built from
      AC_CACHE_VAL(vi_cv_path_python_plibs,
      [
      ! pwd=`pwd`
      ! tmp_mkf="$pwd/config-PyMake$$"
      ! cat -- "${PYTHON_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
      __:
      @echo "python_MODLIBS='$(MODLIBS)'"
      @echo "python_LIBS='$(LIBS)'"
      ***************
      *** 687,694 ****
      @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
      eof
      dnl -- delete the lines from make about Entering/Leaving directory
      ! eval "`cd ${PYTHON_CONFDIR} && make -f ${tmp_mkf} __ | sed '/ directory /d'`"
      ! rm -f ${tmp_mkf}
      if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
      "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
      vi_cv_path_python_plibs="-framework Python"
      --- 688,695 ----
      @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
      eof
      dnl -- delete the lines from make about Entering/Leaving directory
      ! eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
      ! rm -f -- "${tmp_mkf}"
      if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
      "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
      vi_cv_path_python_plibs="-framework Python"
      *** ../vim-7.2b.013/src/version.c Thu Jul 24 14:53:14 2008
      --- src/version.c Thu Jul 24 16:21:23 2008
      ***************
      *** 678,679 ****
      --- 678,681 ----
      { /* Add new patch number below this line */
      + /**/
      + 14,
      /**/

      --
      Proverb: A nightingale that forgets the lyrics is a hummingbird.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.