Re: [PATCH] mingw: redefine the wrapper macro after the corresponding function
- From
Stepan Kasal <kasal@ucw.cz>
- Date
- Jun 6, 2014, 08:32 UTC
- Message-ID
- <20140606083233.GB1303@camelia.ucw.cz>
- In-Reply-To
- <5390E893.9060600@gmail.com>
Hello,
On Fri, Jun 06, 2014 at 12:00:51AM +0200, Karsten Blees wrote:
Show 5 quoted lines
> Am 05.06.2014 18:56, schrieb Johannes Sixt: > > Within mingw.c, if some other function inside mingw.c wants to use > > mingw_unlink, then it should be written as 'mingw_unlink(foo)', not > > 'unlink(foo)'. > I very much like this approach. In fact, we already do this for e.g. mingw_raise.
Hannes, this is consistent with your commit 06bc4b7. Settled.
> Other callers would typically want the wrapped version (i.e. > mingw_*).
If this assumption were true, then we have to keep the wrapper macros defined, both above and below the wrapper function definition. You are in fact advocating my patch.
Updated version follows.
Stepan
-- -- *** Please reply-to-all at all times *** *** (do not pretend to know who is subscribed and who is not) *** *** Please avoid top-posting. *** The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free. You received this message because you are subscribed to the Google Groups "msysGit" group. To post to this group, send email to msysgit@googlegroups.com To unsubscribe from this group, send email to msysgit+unsubscribe@googlegroups.com For more options, and view previous threads, visit this group at http://groups.google.com/group/msysgit?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "msysGit" group. To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.