This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: texi2dvi problem, uname bug


On Mon, 24 Mar 2003, Pascal Obry wrote:

> Hello,
>
> I'm using Cygwin 1.3.22-1.
>
> On line 105 of the texi2dvi script there is `uname -S ...`
> the capital S here is wrong, it should be a lower-case s.
> (there is no -S uname option). Here is the patch:
>
> <<
> *** texi2dvi.orig       Mon Mar 24 21:38:25 2003
> --- texi2dvi    Mon Mar 24 21:38:16 2003
> ***************
> *** 102,108 ****
>   elif echo "$PATH" | grep ':.*:' 2>/dev/null; then
>       path_sep=':'
>   else
> !     case "`uname -S 2>/dev/null`" in
>         [Cc][Yy][Gg][Ww][Ii][Nn]*) path_sep=':' ;;
>         *) path_sep = ';' ;;
>       esac
> --- 102,108 ----
>   elif echo "$PATH" | grep ':.*:' 2>/dev/null; then
>       path_sep=':'
>   else
> !     case "`uname -s 2>/dev/null`" in
>         [Cc][Yy][Gg][Ww][Ii][Nn]*) path_sep=':' ;;
>         *) path_sep = ';' ;;
>       esac
> >>
>
> Pascal.

While you're correct in principle, wouldn't the above be a no-op under
Cygwin anyway (unless your PATH has less than 3 entries in it)?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]