bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modification of environment variables on Windows


From: Markus Mützel
Subject: Re: Modification of environment variables on Windows
Date: Sat, 27 Apr 2024 16:46:51 +0200

Hi Bruno,

> > The attached patch avoids those warnings.
>
> Thanks, but it does not do the right thing: *s[1] accesses the first character
> of the string after s. What was meant was to access the second character of
> the string at s; this needs to be written as (*s)[1].

Oof. You are absolutely right. What a difference some parenthesis make.

> I'm committing this patch instead.

Thank you for spotting the error in the proposed patch and pushing a fix so 
quickly.

Markus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]