delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/08/08:48:07

From: wrichard AT direct DOT ca (Wade Richards @ Home)
Subject: Re: win95 bash 19.1 crash
8 May 1998 08:48:07 -0700 :
Message-ID: <01bd01bd7a2d$7cb3d840$1b0435d1.cygnus.gnu-win32@hotchoc.bconnected.net>
Reply-To: "Wade Richards @ Home" <wrichard AT direct DOT ca>
Mime-Version: 1.0
To: <gnu-win32 AT cygnus DOT com>

From: Geoffrey S. Knauth <gknauth AT bbn DOT com>

>If I do the following:
>    $ FILES=`find . -name '*.class'`
>and then:
>    $ tar cf foo.tar $FILES
>I get (from Win95):
>    an alert panel with a red X that says:
>    "This program has performed an illegal operation and will be shut
down.

Win95 has a fairly small limit on the max length of a command (including
the arguments).  I think it's 1K, but I don't have a Win95 machine around
to test it with.

Try the "--files-from" (or -T) option to tar, like
      find . -name '*.class > /tmp/$$-list
      tar cf foo.tar -T /tmp/$$-list
      rm /tmp/$$-list

    --- Wade

----------
Wade Richards    -= mailto:WRichard AT Direct DOT CA =-
"Never attribute to malice what can adequately be explained by stupidity."
Stop Internet Spam!  See http://www.cauce.org
-----Original Message-----
From: Geoffrey S. Knauth <gknauth AT bbn DOT com>

>If I do the following:
>    $ FILES=`find . -name '*.class'`
>and then:
>    $ tar cf foo.tar $FILES
>I get (from Win95):
>    an alert panel with a red X that says:
>    "This program has performed an illegal operation and will be shut
>down.
>     Quit all programs, and then restart your computer.
>     If the problem persists, contact the program vendor."
>(What a piece of @#$%^ Windows is, n'est ce pas?)
>Anyway, when I click on Details, I get:
>    BASH caused a stack fault in model KERNEL32.DLL at
>014f:bff725c5.
>Registers:
>EAX=002a0037 CS=014f EIP=bff725c5 EFLGS=00000283
>EBX=fda79000 SS=0157 ESP=0258634a EBP=0258635e
>...
>
>
>
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
>

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019