commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DAEMON-390) PATH environment variable is not properly set if using LibraryPath option
Date Tue, 04 Sep 2018 22:10:00 GMT

    [ https://issues.apache.org/jira/browse/DAEMON-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16603664#comment-16603664
] 

Sebb commented on DAEMON-390:
-----------------------------

Added alternate patch which drops the unnecessary +1 and adds some comments

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

Mime
View raw message