msvcrt _tempnam and tests
Dimi Paun
dimi at lattica.com
Wed Nov 9 13:10:11 CST 2005
From: "Phil Lodwick" <Phil.Lodwick at EFI.COM>
> 1) What action should we take if MS documentation and the implementation
do
> not agree?
just test to implementation.
> 2) If a function takes several parameters, do you test all permutations,
or
> just the ones you feel are important?
As much as possible, within reason. I guess this means "the ones you
feel are important" :)
> 3) This question is specific to the implementation of _tempnam. The
current
> implementation just calls GetTempFileNameA. My first attempt at a patch
made
> things better by calling GetTempFileNameA with better parameters. After
> writing the conformance test, however, I see that calling GetTempFileNameA
is
> just plain wrong -- for at least two reasons:
Yeah, just duplicate TempFileNameA code in msvcrt, and change it
accordingly.
--
Dimi Paun <dimi at lattica.com>
Lattica, Inc.
More information about the wine-devel
mailing list