[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More patch 2.5.9 hacking
From: |
Paul Eggert |
Subject: |
Re: More patch 2.5.9 hacking |
Date: |
24 Oct 2003 16:02:37 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
"Eli Zaretskii" <address@hidden> writes:
> #define mkdir fixed_mkdir
>
> in some header included by all the sources except the one that
> defines fixed_mkdir's code.
Yes, that was what I meant. Similarly for fseek/ftell.
The advantage of this approach is twofold:
* The porting hacks are localized into a subdirectory containing
only mingw-specific files. The main code for the application
('patch' in this case) doesn't need to change at all.
* The porting hacks can be more easily shared among various applications
that need to be ported to mingw.
In the long run, perhaps mingw mkdir, fseek, ftell can be fixed. (Or
perhaps not -- there may be some reason that mingw has to depart from
POSIX here.) But in the short run it ought to be relatively easy to
take the approach outlined above. The approach already works for
djgpp.
- Re: [Mingw-users] Re: MinGW and patch 2.5.9, (continued)
- Re: [Mingw-users] Re: MinGW and patch 2.5.9, Stepan Kasal, 2003/10/14
- More patch 2.5.9 hacking, Stephan T. Lavavej, 2003/10/22
- Re: More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/22
- Re: More patch 2.5.9 hacking, Paul Eggert, 2003/10/22
- Re: More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/22
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/23
- Re: [Mingw-users] More patch 2.5.9 hacking, Benjamin Riefenstahl, 2003/10/23
- Re: [Mingw-users] More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/24
- Re: More patch 2.5.9 hacking, Benjamin Riefenstahl, 2003/10/24
- Re: More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/24
- Re: More patch 2.5.9 hacking,
Paul Eggert <=
- Re: More patch 2.5.9 hacking, Benjamin Riefenstahl, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Manu, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Paul Eggert, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Manu, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/26
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Manu, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/25