Fix path lengths.
authorIain Patterson <me@iain.cx>
Wed, 21 Apr 2010 21:53:55 +0000 (22:53 +0100)
committerIain Patterson <me@iain.cx>
Wed, 21 Apr 2010 21:53:55 +0000 (22:53 +0100)
commitf1abcb8f0ad1fb08fe07a496f5d037d0c1d3b478
tree2bc83850d4ba9ace9377170d07700f35c32c1048
parent4440946eccf1cb14e16f8d29c54fb4acecbd44ff
Fix path lengths.

Some buffers were being limited to MAX_PATH characters when higher
limits were more appropriate.
For example the maximum length of a command line is documented as 32768
characters with the application name part limited to MAX_PATH.
Long applications paths and arguments could be truncated when written to
the registry.

Thanks Joel Reingold.
gui.cpp
nssm.h
registry.cpp
service.cpp