Re: kernel32: Implement ReplaceFileW

2008-02-08 Thread Michael Stefaniuc
[EMAIL PROTECTED] wrote: > I have read this patch sent in several times and have realised that every > time it contains a large number of "goto"'s. > > I certainly do not like "goto" in structured code. > My question to the forum is if it is allowed to use "goto" in wine or if > you prefer not to

kernel32: Implement ReplaceFileW

2008-02-08 Thread luis . busquets
I have read this patch sent in several times and have realised that every time it contains a large number of "goto"'s. I certainly do not like "goto" in structured code. My question to the forum is if it is allowed to use "goto" in wine or if you prefer not to use it. Even when this will make the

Re: kernel32: Implement ReplaceFileW. [RESEND]

2008-02-05 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: > +/* > + * Open the replacement file for reading, writing, and deleting > + * (writing and deleting are needed when finished) > + */ > +if ((hReplacement = CreateFileW(lpReplacementFileName, > +GENERIC_READ | GENERIC_WRITE, >