-------- Original-Nachricht -------- > Datum: Sun, 13 Jul 2008 23:12:05 +0200 CEST > Von: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> > An: haiku-gsoc@xxxxxxxxxxxxx > Betreff: [haiku-gsoc] Re: Xsi semaphorses: patch #1 > 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! Maybe we should grep the source for that one, I have a faint memory of having seen this macro before. ;-) BTW, I didn't read the whole patch yet... so please don't take my "nice catch" as indicator for my throughroughness... Best regards, -Stephan