Re: test-symlink failure on MinGW

2009-12-29 Thread Simon Josefsson
Eric Blake writes: > According to Simon Josefsson on 12/28/2009 11:51 PM: >> This patch looks a bit cleaner, it moves the system call into the >> function actually responsible for creating the same files. And it also >> fixes lstat self-tests. > > On the one hand, you are correct that it is nice

Re: test-symlink failure on MinGW

2009-12-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Simon Josefsson on 12/28/2009 11:51 PM: > This patch looks a bit cleaner, it moves the system call into the > function actually responsible for creating the same files. And it also > fixes lstat self-tests. On the one hand, you are corre

Re: test-symlink failure on MinGW

2009-12-28 Thread Simon Josefsson
This patch looks a bit cleaner, it moves the system call into the function actually responsible for creating the same files. And it also fixes lstat self-tests. /Simon diff --git a/ChangeLog b/ChangeLog index a5c7e46..5948b5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2009-12-29 S

Re: test-symlink failure on MinGW

2009-12-28 Thread Simon Josefsson
Eric Blake writes: > According to Simon Josefsson on 12/27/2009 3:06 AM: >> I got this error when cross-compiling to MinGW: >> >> ../../../src/libidn-1.16/gltests/test-symlink.c:43: assertion failed >> FAIL: test-symlink.exe >> >> The reason is use of a system call. I changed it into a shell s

Re: test-symlink failure on MinGW

2009-12-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Simon Josefsson on 12/27/2009 3:06 AM: > I got this error when cross-compiling to MinGW: > > ../../../src/libidn-1.16/gltests/test-symlink.c:43: assertion failed > FAIL: test-symlink.exe > > The reason is use of a system call. I changed

test-symlink failure on MinGW

2009-12-27 Thread Simon Josefsson
I got this error when cross-compiling to MinGW: ../../../src/libidn-1.16/gltests/test-symlink.c:43: assertion failed FAIL: test-symlink.exe The reason is use of a system call. I changed it into a shell script wrapper instead. OK to push? /Simon >From d2d668d5315e9b43bba02fbcf385e7bc2771b1e5 M