You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2018/09/04 22:09:00 UTC

[jira] [Updated] (DAEMON-390) PATH environment variable is not properly set if using LibraryPath option

     [ https://issues.apache.org/jira/browse/DAEMON-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated DAEMON-390:
------------------------
    Attachment: utils.patch

> PATH environment variable is not properly set if using LibraryPath option
> -------------------------------------------------------------------------
>
>                 Key: DAEMON-390
>                 URL: https://issues.apache.org/jira/browse/DAEMON-390
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.1.0
>            Reporter: Robert Krzeminski
>            Priority: Major
>              Labels: easyfix, patch, windows
>         Attachments: apxAddToPathW-1-1-1-0.patch, utils.patch
>
>
> The PATH environment variable is not properly set if command line option LibraryPath is used. It shall extend the existing PATH variable with additional directories defined as library path. In the current implementation the wrong buffer size for the retrieved environment variable is passed during the call to GetEnvironmentVariableW from utility function apxAddToPathW (utils.c). Attached a patch that contains the fix for this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)