[ros-dev] Re: [ros-diffs] [greatlrd] 16528:
The return size calculation's
of GetEnvironmentVariable string was wrong. Thx to
<Bizzy_D> to find out cd %windir% did not work. Now it will
Hartmut Birr
hartmut.birr at gmx.de
Wed Jul 13 21:02:01 CEST 2005
magnus at itkonsult-olsen.com wrote:
> Hi
> Harmurt
> I have test the GetEnvironmentVariable it return number of chater.
>
> Our GetEnvironmentVariable did count 1 char as zero and so on.
> it did miss calcutaion by 1. instead geting 9 char it did only get 8 char.
>
> This bug was expode by reactos cmd.
> and we do not have any bug to getting env there, in windows. When you did
> type echo %windir% it did print C:\ReactO before my bug fix. it should print
> C:\ReactOS
>
I cannot reproduce this bug. But I've found a bug in cmd.c which may eat
up the last character of an environment variable.
- Hartmut
More information about the Ros-dev
mailing list