Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3161

QNativeSocketEngine: There are functions returning 0 and not -1 when it is documented to return -1 when it fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • Some future release
    • 4.4.3
    • Network
    • None

    Description

      QNativeSocketEngine: There are functions returning 0 and not -1 when it is documented to return -1 when it fails, such as accept() which returns false (which ends up being 0) in 2 cases and -1 in another.

      Update:
      will not be fixed in the near future, because it might break existing applications.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes