texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo update (Tue May 24 08:52:01 EDT 2005)


From: Karl Berry
Subject: texinfo update (Tue May 24 08:52:01 EDT 2005)
Date: Tue, 24 May 2005 08:52:14 -0400

Index: ChangeLog
===================================================================
RCS file: /cvsroot/texinfo/texinfo/ChangeLog,v
retrieving revision 1.503
retrieving revision 1.504
diff -c -r1.503 -r1.504
*** ChangeLog   20 May 2005 13:59:55 -0000      1.503
--- ChangeLog   24 May 2005 12:33:39 -0000      1.504
***************
*** 1,3 ****
--- 1,8 ----
+ 2005-05-24  Stepan Kasal  <address@hidden>
+ 
+       * util/texi2dvi (findprog): Rewrite the test for an executable and
+       the explanation above it.
+ 
  2005-05-20  Karl Berry  <address@hidden>
  
        * doc/texinfo.texi (\allowcodebreaks, \kbdinputstyle): use \txiarg
Index: util/texi2dvi
===================================================================
RCS file: /cvsroot/texinfo/texinfo/util/texi2dvi,v
retrieving revision 1.50
retrieving revision 1.51
diff -c -r1.50 -r1.51
*** util/texi2dvi       15 May 2005 00:00:08 -0000      1.50
--- util/texi2dvi       24 May 2005 12:33:40 -0000      1.51
***************
*** 1,6 ****
  #! /bin/sh
  # texi2dvi --- produce DVI (or PDF) files from Texinfo (or LaTeX) sources.
! # $Id: texi2dvi,v 1.50 2005/05/15 00:00:08 karl Exp $
  #
  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001,
  # 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
--- 1,6 ----
  #! /bin/sh
  # texi2dvi --- produce DVI (or PDF) files from Texinfo (or LaTeX) sources.
! # $Id: texi2dvi,v 1.51 2005/05/24 12:33:40 kasal Exp $
  #
  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001,
  # 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
***************
*** 32,38 ****
  unset RUNNING_KSH
  
  # This string is expanded by rcs automatically when this file is checked out.
! rcs_revision='$Revision: 1.50 $'
  rcs_version=`set - $rcs_revision; echo $2`
  program=`echo $0 | sed -e 's!.*/!!'`
  version="texi2dvi (GNU Texinfo 4.8) $rcs_version
--- 32,38 ----
  unset RUNNING_KSH
  
  # This string is expanded by rcs automatically when this file is checked out.
! rcs_revision='$Revision: 1.51 $'
  rcs_version=`set - $rcs_revision; echo $2`
  program=`echo $0 | sed -e 's!.*/!!'`
  version="texi2dvi (GNU Texinfo 4.8) $rcs_version
***************
*** 130,145 ****
    saveIFS=$IFS
    IFS=$path_sep  # break path components at the path separator
    for dir in $PATH; do
!     # use test -x rather than test -f for DJGPP, where test -x checks
!     # for .exe.  But test -x will also return true for directories, so
!     # explicitly ignore those.
!     if test -x "$dir/$1" && test ! -d "$dir/$1"; then
!       foundprog=true
!       break
! 
!     # But on cygwin, test -x foo will not find foo.exe.  So also check
!     # for that.
!     elif test -x "$dir/$1.exe"; then
        foundprog=true
        break
      fi
--- 130,144 ----
    saveIFS=$IFS
    IFS=$path_sep  # break path components at the path separator
    for dir in $PATH; do
!     # The basic test for an executable is `test -f $f && test -x $f'.
!     # `test -x' is not enough, because it can also be true for directories.
!     #
!     # On Cygwin and DJGPP, `test -x' also looks for .exe.  On Cygwin, also
!     # `test -f' has this enhancement, bot not on DJGPP.  (Both are design
!     # decisions, so there is little chance to make them consistent.)
!     # Thus we have to try `test -f' twice.
!     if  test -x "$dir/$1" &&
!       { test -f "$dir/$1" || test -f "$dir/$1.exe"; }; then
        foundprog=true
        break
      fi
P ChangeLog
P util/texi2dvi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]