----- Original Message ----- From: <k-ohara5a5a@oco.net> To: <mtsolo@gmail.com> Cc: <reply@codereview-hr.appspotmail.com>; <lilypond-devel@gnu.org> Sent: Wednesday, January 04, ...
13 years, 3 months ago
(2012-01-04 19:40:12 UTC)
#2
----- Original Message -----
From: <k-ohara5a5a@oco.net>
To: <mtsolo@gmail.com>
Cc: <reply@codereview-hr.appspotmail.com>; <lilypond-devel@gnu.org>
Sent: Wednesday, January 04, 2012 7:00 PM
Subject: Patches NSIS (issue 5498107)
> Overall, I think it wiser to avoid touching the windows path, *but* this
> concept has been reported to resolve the problem.
>
> http://nsis.sourceforge.net/Special_Builds
> If you can run GUB, can you try putting the changed parameter on the
> scons command line, rather than patching the default parameters.
> Changes in the upstream nsis could easily cause the patch no not apply.
>
>
> http://codereview.appspot.com/5498107/diff/1/gub/specs/nsis.py
> File gub/specs/nsis.py (right):
>
> http://codereview.appspot.com/5498107/diff/1/gub/specs/nsis.py#newcode14
> gub/specs/nsis.py:14: scons_flags = misc.join_lines ('''
> NSIS_MAX_STRLEN=8192
>
> http://codereview.appspot.com/5498107/
I think this is highly likely to be the problem. Yesterday I tried putting
long strings into Windows registry, and got to over 70k characters before I
got bored. I concluded that it wasn't a problem with the length of strings
in the registry and therefore less likely to be a "feature" of windows PATH.
I assume that what happens is the path gets close to the NSIS string size
limit, is read, appended to, and thus truncated, and is then written back to
the registry.
If someone with GUB capability can create a test patch, I'd be happy to try
it out (tho' not tomorrow - working).
--
Phil Holmes
Issue 5498107: Patches NSIS
(Closed)
Created 13 years, 3 months ago by MikeSol
Modified 13 years, 2 months ago
Reviewers: Keith, mail_philholmes.net
Base URL:
Comments: 1