summaryrefslogtreecommitdiff
path: root/libpthread/sysdeps/generic/pt-condattr-destroy.c
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-08-23 11:33:22 +0000
committerJeremie Koenig <jk@jk.fr.eu.org>2010-08-30 14:31:31 +0200
commit2f30d52e2753c4fc854753ee2d0efb895a317c9f (patch)
treefc8704aadad47a0373258e80a25cf8773110547e /libpthread/sysdeps/generic/pt-condattr-destroy.c
parent0277bc261796743148769a3f76f9cae51c61e0a4 (diff)
Detect asprintf's ENOMEM in procfs.c rather than everywhere
* procfs.h: Make CONTENTS_LEN an ssize_t rather than a size_t, and document the change. * procfs.c (procfs_get_contents): Initialize CONTENTS_LEN to a negative value, and fail with ENOMEM if it's still negative after the callback returns. (everywhere): Update to ssize_t. * dircat.c, netfs.c, process.c, procfs_dir.c, proclist.c, rootdir.c: Update to ssize_t and the new GET_CONTENTS semantics.
Diffstat (limited to 'libpthread/sysdeps/generic/pt-condattr-destroy.c')
0 files changed, 0 insertions, 0 deletions