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().
mkshortcut_wide.patch
Description: Binary data
