To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=102505
                 Issue #|102505
                 Summary|reg{compare,view,merge} is unable to open types.rdb
               Component|porting
                 Version|OOO310m9
                Platform|PowerPC
                     URL|
              OS/Version|other
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|rnagy





------- Additional comments from [email protected] Thu Jun  4 21:12:30 +0000 
2009 -------
Hi

On the two big endian architectures i tried (sparc64 and powerpc) these programs
are unable to open types.rdb. I was not able to figure why just yet.

macppc-g5# ktrace ./registry/unxobsd.pro/bin/regview
offapi/type_reference/types.rdb 
open registry "offapi/type_reference/types.rdb" failed

The output of ktrace:
http://blade2k.humppa.hu/ktrace.out

Of course types.rdb is there and readable. What I suspect is that
convertToFileUrl() fails to return the correct string

       OUString regName( convertToFileUrl(argv[1]) );

        printf("%s\n", regName.pData);
        printf("%s\n", regName.pData->buffer);

        if (reg_openRegistry(regName.pData, &hReg, REG_READONLY))
        {
                fprintf(stderr, "open registry \"%s\" failed\n", argv[1]);
                exit(1);
        }

Both of my printfs are returning an empty string.
What I suspect is that it's an endianess problem.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to