gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK is wrong in some cases

2015-04-20 Thread Pavel Fedin
ost_os" in # Guess yes on glibc systems. *-gnu*) gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; esac fi --- cut --- Anyway, this test makes no sense when build != host. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia

RE: gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK is wrong in some cases

2015-04-21 Thread Pavel Fedin
Hello! > Thanks for reporting the problem. Does the attached fix things for you? Yes, this variant also works fine. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia

pthread_sigmask() detected incorrectly on MinGW by configure

2015-04-23 Thread Pavel Fedin
Of course this causes "undefined symbol" while linking. I would suggest that configure script just knows that on *-mingw* systems pthread_sigmask is not present. An alternate way to fix this is to add to the .c file: --- cut --- #ifdef _WIN32 #undef HAVE_PTHREAD_SIGMASK #endif --- cut ---

RE: pthread_sigmask() detected incorrectly on MinGW by configure

2015-04-23 Thread Pavel Fedin
Hello! > I would suggest that configure script just knows that on *-mingw* > systems pthread_sigmask is not present. Small oops: if you check $host_os, then it should be just "mingw*", because the triplet is "i686-pc-mingw32", there's no 4th component like .

RE: pthread_sigmask() detected incorrectly on MinGW by configure

2015-04-23 Thread Pavel Fedin
[ LIB_PTHREAD_SIGMASK="$LIBMULTITHREAD" ], [ HAVE_PTHREAD_SIGMASK=0 REPLACE_PTHREAD_SIGMASK=1 ]) --- cut --- Would that do ? Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia

[PATCH] Check whether pthread_sigmask is a simple macro

2015-05-24 Thread Pavel Fedin
ml/bug-gnulib/2015-04/msg00065.html Signed-off-by: Pavel Fedin m4/pthread_sigmask.m4 | 24 1 file changed, 24 insertions(+) diff --git a/m4/pthread_sigmask.m4 b/m4/pthread_sigmask.m4 index 5c17dfc..a974848 100644 --- a/m4/pthread_sigmask.m4 +++ b/m4/pthread_sigmask.

[PATCH RESEND] Check whether pthread_sigmask is a simple macro

2015-05-31 Thread Pavel Fedin
ml/bug-gnulib/2015-04/msg00065.html Signed-off-by: Pavel Fedin m4/pthread_sigmask.m4 | 24 1 file changed, 24 insertions(+) diff --git a/m4/pthread_sigmask.m4 b/m4/pthread_sigmask.m4 index 5c17dfc..a974848 100644 --- a/m4/pthread_sigmask.m4 +++ b/m4/pthread_sigmask.

[PATCH] Fix building tests under Windows

2015-07-01 Thread Pavel Fedin
xpects termios to be there. Just make it building and silently passing the test. Signed-off-by: Pavel Fedin --- lib/grantpt.c| 2 +- tests/test-openpty.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/grantpt.c b/lib/grantpt.c index a740091..3658fcd 100644 --- a