X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Reply-To: From: "David Byron" To: "'Andy Koppe'" , References: <000001cac0a0$b9b2bec0$2d183c40$@com> <416096c61003102145s78897034u64407a03990e63b1 AT mail DOT gmail DOT com> Subject: RE: return value of mkshortcut on Windows 7 Date: Mon, 15 Mar 2010 10:45:58 -0700 Message-ID: <5C66D1B8CA2D4EC6AD13D56BB6307B2D@pleaset> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In-Reply-To: <416096c61003102145s78897034u64407a03990e63b1@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On March 10, 2010, Andy Koppe wrote:=20 > David Byron: > > mkshortcut is returning 8 when I expect it to return 0. >=20 > Yep, known issue. >=20 > > I'd love a hand getting mkshortcut to return 0 in this case. >=20 > Index: src/mkshortcut/mkshortcut.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvs/cygwin-apps/cygutils/src/mkshortcut/mkshortcut.c,v > retrieving revision 1.10 > diff -u -r1.10 mkshortcut.c > --- src/mkshortcut/mkshortcut.c 3 Dec 2009 08:19:44 -0000 =A0 =A0 =A0 1.10 > +++ src/mkshortcut/mkshortcut.c 11 Mar 2010 05:43:05 -0000 > @@ -612,6 +612,7 @@ > =A0=A0 =A0 =A0 =A0 =A0 =A0 } > =A0=A0 =A0 =A0 =A0 =A0 persist_file->lpVtbl->Release (persist_file); > =A0=A0 =A0 =A0 =A0 =A0 shell_link->lpVtbl->Release (shell_link); > + =A0 =A0 =A0 =A0 =A0return (0); > =A0=A0 =A0 =A0 =A0 } > =A0=A0 =A0 =A0 else > =A0=A0 =A0 =A0 =A0 { Thanks for the confirmation. Trying to avoid seeming helpless and demanding but is there anything I can do to motivate the mkshortcut/cygutils maintainers to release a version with this patch? -DB -- 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