Ticket #83 (closed bug: fixed)

Opened 16 years ago

Last modified 16 years ago

Patch: Correctly state error when pthread_create fails

Reported by: laptop006 Assigned to:
Priority: trivial Milestone: FFADO 2.0
Component: Version:
Keywords: Cc:
The device the bug applies to:

Description

Trying to get my MOTU going here, having thread issues, and noticed a bug.

In src/libutil/PosixThread.cpp strerror(errno) is used when it should be strerror(res) as pthread_create returns the error and doesn't set errno.

Attachments

libffado-pthread-create-errno.patch (3.0 kB) - added by laptop006 on 03/21/08 01:35:39.

Change History

03/21/08 01:35:23 changed by laptop006

OK, this actually applies to pthread_*, new patch attached

03/21/08 01:35:39 changed by laptop006

  • attachment libffado-pthread-create-errno.patch added.

03/22/08 11:37:37 changed by ppalmers

  • status changed from new to closed.
  • resolution set to fixed.

applied