You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ray Chen (JIRA)" <ji...@apache.org> on 2009/08/07 04:47:14 UTC

[jira] Created: (HARMONY-6299) ioctl() doesn't work on z/OS when the pipe is set up with pipe() function

ioctl() doesn't work on z/OS when the pipe is set up with pipe() function
-------------------------------------------------------------------------

                 Key: HARMONY-6299
                 URL: https://issues.apache.org/jira/browse/HARMONY-6299
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M10
         Environment: OS: z/OS
            Reporter: Ray Chen
             Fix For: 5.0M11


In trunk\modules\luni\src\main\native\luni\unix\procimpl.c, ioctl() is used to test whether there are datas in the pipe read side, it works well on every platforms except on z/OS. 

Becuse the ioctl() doesn't work,  it can not throw error as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-6299) ioctl() doesn't work on z/OS when the pipe is set up with pipe() function

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Deakin reassigned HARMONY-6299:
--------------------------------------

    Assignee: Oliver Deakin

> ioctl() doesn't work on z/OS when the pipe is set up with pipe() function
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-6299
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6299
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M10
>         Environment: OS: z/OS
>            Reporter: Ray Chen
>            Assignee: Oliver Deakin
>             Fix For: 5.0M11
>
>         Attachments: patch.diff
>
>
> In trunk\modules\luni\src\main\native\luni\unix\procimpl.c, ioctl() is used to test whether there are datas in the pipe read side, it works well on every platforms except on z/OS. 
> Becuse the ioctl() doesn't work,  it can not throw error as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-6299) ioctl() doesn't work on z/OS when the pipe is set up with pipe() function

Posted by "Ray Chen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ray Chen updated HARMONY-6299:
------------------------------

    Attachment: patch.diff

In the patch, use socketpair() instead of pipe() to set up pipe used in the procimpl.c to make the ioctl() work

> ioctl() doesn't work on z/OS when the pipe is set up with pipe() function
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-6299
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6299
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M10
>         Environment: OS: z/OS
>            Reporter: Ray Chen
>             Fix For: 5.0M11
>
>         Attachments: patch.diff
>
>
> In trunk\modules\luni\src\main\native\luni\unix\procimpl.c, ioctl() is used to test whether there are datas in the pipe read side, it works well on every platforms except on z/OS. 
> Becuse the ioctl() doesn't work,  it can not throw error as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-6299) ioctl() doesn't work on z/OS when the pipe is set up with pipe() function

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Deakin resolved HARMONY-6299.
------------------------------------

    Resolution: Fixed

Thanks Ray - patch applied at repo revision r801917 - please check it applied as expected.

> ioctl() doesn't work on z/OS when the pipe is set up with pipe() function
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-6299
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6299
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M10
>         Environment: OS: z/OS
>            Reporter: Ray Chen
>            Assignee: Oliver Deakin
>             Fix For: 5.0M11
>
>         Attachments: patch.diff
>
>
> In trunk\modules\luni\src\main\native\luni\unix\procimpl.c, ioctl() is used to test whether there are datas in the pipe read side, it works well on every platforms except on z/OS. 
> Becuse the ioctl() doesn't work,  it can not throw error as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-6299) ioctl() doesn't work on z/OS when the pipe is set up with pipe() function

Posted by "Ray Chen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ray Chen closed HARMONY-6299.
-----------------------------

    Estimated Complexity: Novice

> ioctl() doesn't work on z/OS when the pipe is set up with pipe() function
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-6299
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6299
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M10
>         Environment: OS: z/OS
>            Reporter: Ray Chen
>            Assignee: Oliver Deakin
>             Fix For: 5.0M11
>
>         Attachments: patch.diff
>
>
> In trunk\modules\luni\src\main\native\luni\unix\procimpl.c, ioctl() is used to test whether there are datas in the pipe read side, it works well on every platforms except on z/OS. 
> Becuse the ioctl() doesn't work,  it can not throw error as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-6299) ioctl() doesn't work on z/OS when the pipe is set up with pipe() function

Posted by "Ray Chen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742684#action_12742684 ] 

Ray Chen commented on HARMONY-6299:
-----------------------------------

patch, verified, Thanks

> ioctl() doesn't work on z/OS when the pipe is set up with pipe() function
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-6299
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6299
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M10
>         Environment: OS: z/OS
>            Reporter: Ray Chen
>            Assignee: Oliver Deakin
>             Fix For: 5.0M11
>
>         Attachments: patch.diff
>
>
> In trunk\modules\luni\src\main\native\luni\unix\procimpl.c, ioctl() is used to test whether there are datas in the pipe read side, it works well on every platforms except on z/OS. 
> Becuse the ioctl() doesn't work,  it can not throw error as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.