Thomas (for some reason is still not sending his response even though he came up with the idea) thinks that it's a null termination problem, whereing you're expecting readfile to null terminate data.


On Thu, May 2, 2013 at 1:32 PM, Stefan Naumann <snaumann2912@yahoo.de> wrote:
Why does someone save an single "8" as unicode in reactos.inf-File? Sound broken to me. I'm on it, might be my iniparser as well, but it's pretty strange that only the 8 = bin\cache is effected. the 6 = inf might not be broken at all. This is not the cause for my program crashing - repeatedly.

Am 02.05.2013 19:01, schrieb Zachary Gorden:
Sounds like you're trying to print out unicode characters as ascii.


On Thu, May 2, 2013 at 11:47 AM, Stefan Naumann <snaumann2912@yahoo.de <mailto:snaumann2912@yahoo.de>> wrote:

    Hello.

    I am the guy writing an updater for ReactOS. Recent tests show
    some difficulties and errors in data from reactos bootcds; mainly
    reactos.inf:

    My program reads reactos.inf, puts the filepaths together and
    copies files to the specified positions in folder-tree (I'm
    talking about the server's side). It seems that reactos.inf
    contains pretty weird data; opening reactos.inf with gedit shows
    it intact; reading it with the program gets the following things
    out (shortened):

    " -- 6 -->cache/files/��� "

    should be "cache/files/inf" (with cache/files" beeing the path of
    all cached files, unpacked from bootcd-ISO.

    and (in the same context):

    "
    -- 5 = system32\drivers\etc
    -- 6 = inf
    -- 7 = bin
    -- �Í = bin\data
    -- 9 = media
    -- 10 = Microsoft.NET
    "

    ("--" comes from debug-function of my iniparser).

    Is this intended to be as is or not? Could someone please fix that
    or let me know whether I should think about doing something
    differently. I'm working and testing with Xubuntu 13.04 amd64 -
    always getting latest dbg-BootCD-ISO.

    Thanks peope.

    Regards Stefan Naumann

    _______________________________________________
    Ros-dev mailing list
    Ros-dev@reactos.org <mailto:Ros-dev@reactos.org>
    http://www.reactos.org/mailman/listinfo/ros-dev





_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev


_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev