This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Properly check for short writes when sending the response in nscd
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 11 Apr 2013 15:16:03 -0700 (PDT)
- Subject: Re: [PATCH] Properly check for short writes when sending the response in nscd
- References: <mvmmwt6zj6z dot fsf at hawking dot suse dot de>
You should remove WRITTEN and TOTAL from the top-level scope of the
function, and remove all uses of block-local WRITTEN variables that
are not part of deciding about ALL_WRITTEN.