Issue 102505

Summary: reg{compare,view,merge} is unable to open types.rdb
Product: porting Reporter: robert
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: hdu, issues
Version: OOO310m9   
Target Milestone: ---   
Hardware: PowerPC (PPC)   
OS: Other OS   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description robert 2009-06-04 22:12:30 UTC

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/
open registry "offapi/type_reference/types.rdb" failed

The output of ktrace:

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

Both of my printfs are returning an empty string.
What I suspect is that it's an endianess problem.
Comment 1 Marcus 2017-05-20 10:45:02 UTC
Reset the assignee to the default "".