X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.8 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <504EF556.3000500@gmail.com>
Date: Tue, 11 Sep 2012 10:24:54 +0200
From: marco atzeri <marco.atzeri@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: (core dumped) mkshortcut
References: <CAAcBW0xWXFgUvm4bKYW8KtDWSXX5_GbamjQNOjKWLGFoXsfDCg@mail.gmail.com>	<CA+sc5mmKdBotzCPJTu4-QTpMtKUo4aMZoGPQQLEhOJ7vwEY+9Q@mail.gmail.com>	<CAAcBW0xJ0gA7tgEWUsFOahPtFPWoOxHPPE1DBKjxoNWf0=3SHA@mail.gmail.com>	<CA+sc5mn0L_E_WvLmxU0o+3GRb_81vsF1WPPc4N9VBfY4LyyGmQ@mail.gmail.com>	<7770DC1B-52FD-4A10-81D7-8B31B0425EB6@Denis-Excoffier.org>	<CA+sc5mmWsjFK-4hg=qmEfUg=VPHrmY75+L-8PC3=4OnJJ9zsFw@mail.gmail.com> <CA+7conkkOujfd1-hQgDe9TDHLXWMy8jLHs3DpBqcRXxZH6aQTA@mail.gmail.com>
In-Reply-To: <CA+7conkkOujfd1-hQgDe9TDHLXWMy8jLHs3DpBqcRXxZH6aQTA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 9/11/2012 9:59 AM, Pawel Jasinski wrote:
> hi,
>
>>>>>>> mkshortcut -n "I for cygwin bin" /D/cyghome/bin
>>>>>>> /home/RobertMarkBram/bin/createWindowsShortcut.sh: line 160:  8128
>>>>>>> Aborted                 (core dumped) mkshortcut -n "$shortcutName"
>>>>>>> "$target"
>>>>>>
>
>
> I confirm that, there is something fishy here.
>
> this one is from XP
>
> REJAP at rzuem5008 ~
> $ mkshortcut -n "Ifor cygwin bin" /c/cygwin/bin
>
> REJAP at rzuem5008 ~
> $ mkshortcut -n "I for cygwin bin" /c/cygwin/bin
> Aborted (core dumped)
>
>
> and this one out of Win7 32
>
> rejap at win7dev ~
> $ mkshortcut -n "I for cygwin bin" /c/cygwin/bin
> Aborted (core dumped)
>
> rejap at win7dev ~
> $ mkshortcut -n "Ifor cygwin bin" /c/cygwin/bin
>
>
> What is interesting, both links lnk file exist and are identical.
>
>
> Cheers,
> Pawel
>

Pawel,
your cases are the same. I had same result on W7 64
It seems depending on shortcut length, when multiple of 16:

marco@MARCOATZERI ~
$ mkshortcut -n '1234567890123456' '/e/cygwin/e'
Aborted (core dumped)

marco@MARCOATZERI ~
$ mkshortcut -n '12345678901234567890123456789012' '/e/cygwin/e'
Aborted (core dumped)

a longer or shorter name works.

marco@MARCOATZERI ~
$ mkshortcut -n '123456789012345678901234567890123' '/e/cygwin/e'

Regards
Marco




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

