[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Is --enable-utf8 working everywhere?

From: Ulrich Drepper <drepper_at_redhat.com>
Date: 2002-07-17 23:34:42 CEST

On Wed, 2002-07-17 at 11:00, Sascha Schumann wrote:

> int *func_call();
> #define errno *func_call()
>
> I don't see the problem with "return errno;" though.

The problem is not

  return errno;

it is

  return errno ? errno : EINVAL;

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Received on Wed Jul 17 23:35:58 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.