Skip to main content

[PATCH] Solaris [was Re: [PATCH] File module patch to build for Solaris]

1 reply [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Henry Jen

Attached is the full patch to build pcsl under Solaris with Sun Studio,
passed donuts test.

Seems like donuts does not have network testing, is there something else
to be used?

Cheers,
Henry

Henry Jen wrote:
> Forgot the attachment, here it goes again.
>
> Cheers,
> Henry
>
> Henry Jen wrote:
>> Hi,
>>
>> Solaris has definition of O_CREAT to be 0x100, as well on Windows
>> while Linux is 0x40.
>>
>> As those macro definitions used in PCSL file module are fairly
>> standardized, I am not sure why we don't simply use the standard header.
>>
>> Attached is a patch to use fcntl.h and stdio.h and define PCSL version
>> by using the standard macros.
>>
>> This allows Solaris build to complete and pass the donuts test. If
>> there is a concern on using standard headers, I would like to learn
>> about them, and we can revert back to do a similar converting process
>> for posix file modules as well.
>>

[pcsl_solaris.diff]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: dev-help@phoneme.dev.java.net