Giuseppe Scrivano <[email protected]> writes:

> namespace checked
> {
>   int read (int fd, void *buf, size_t count)
>   {
>     return gnulib::read (fd, buf, count);
>   }
> ...
> }

Obviously I meant:

namespace checked
{
  int read (int fd, void *buf, size_t count)
  {
    return checkError (gnulib::read (fd, buf, count));
  }
...
}

Cheers,
Giuseppe


Reply via email to