This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add locale/charset support to mkshortcut


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().

Attachment: mkshortcut_wide.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]