[PATCH] Add locale/charset support to mkshortcut
Andy Koppe
andy.koppe@gmail.com
Sun Jan 3 21:18:00 GMT 2010
Attached is a largish patch for adding locale/charset support to
mkshortcut and fixing a couple of bugs. It also contains quite a bit
of code cleanup.
Andy
ChangeLog:
* src/mkshortcut/mkshortcut.c:
- Add locale/charset support and remove Win9x-specific code.
- Use Unicode versions of Windows function.
- Remove potential buffer overflows due to unguarded uses of strcpy.
- Factor out error-reporting boilerplate.
- Remove unnecessary function arguments and pointless freeing.
- Return zero for success from mkshortcut().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkshortcut_wide.patch
Type: application/octet-stream
Size: 23429 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20100103/6b1ea7f7/attachment.obj>
More information about the Cygwin-apps
mailing list