https://bugs.kde.org/show_bug.cgi?id=528276

            Bug ID: 528276
           Summary: In Solaris 11.4, socketpair passed two descriptors as
                    argument and not as an array of ints
    Classification: Developer tools
           Product: valgrind
      Version First 3.26.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 198011
  --> https://bugs.kde.org/attachment.cgi?id=198011&action=edit
Handle socketpair for Solaris 11.4

Originally, the socketpair() was exactly like pipe(); however, it gets two
descriptors and returns the two connected; the sockets have been created in
libc.

In Solaris 11.4, we do not change the descriptors anymore; we create a new
descriptor for but dup them
and so, for efficiency, we now just pass the two arguments as integers and we
do not copy different
fds back (we'd just return 0 or -1 and errno

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to