return value of mkshortcut on Windows 7

David Byron dbyron@dbyron.com
Mon Mar 15 17:54:00 GMT 2010


On March 10, 2010, Andy Koppe wrote: 

> David Byron:
> > mkshortcut is returning 8 when I expect it to return 0.
> 
> Yep, known issue.
> 
> > I'd love a hand getting mkshortcut to return 0 in this case.
> 
> Index: src/mkshortcut/mkshortcut.c
> ===================================================================
> 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       1.10
> +++ src/mkshortcut/mkshortcut.c 11 Mar 2010 05:43:05 -0000
> @@ -612,6 +612,7 @@
>              }
>            persist_file->lpVtbl->Release (persist_file);
>            shell_link->lpVtbl->Release (shell_link);
> +          return (0);
>          }
>        else
>          {

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



More information about the Cygwin mailing list