[haiku-gsoc] Re: Xsi semaphorses: patch #1

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Sun, 13 Jul 2008 23:12:05 +0200 CEST

Stephan Assmus <superstippi@xxxxxx> wrote:
> I have a question about the patch:
> 
> +#define RETURN_AND_SET_ERRNO(status) \
> [...]
> 
> With how the macro "RETURN_AND_SET_ERRNO" is defined, wouldn't it 
> result in 
> the function that you pass to the marco being called twice?

Definitely, nice catch!

Bye,
   Axel.


Other related posts: