docker – Blame information for rev 29

Subversion Repositories:
Rev:
Rev Author Line No. Line
29 office 1 osdep.m4: Remove getaddrinfo() too low checks
2  
3 dante runs AC_PREPROC_IFELSE then it fills $ERRVALFILE by running the
4 following command:
5  
6 cat conftest.i | grep gaierrval: >>$2
7  
8 As a result, $ERRVALFILE does not contain the expected values because
9 the expected value is not on the same line than gaierrval:
10  
11 gaierrval:
12 # 130 "conftest.c" 3 4
13 -3
14  
15 So drop these checks
16  
17 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
18  
19 diff -Nuar dante-1.4.2-orig/osdep.m4 dante-1.4.2/osdep.m4
20 --- dante-1.4.2-orig/osdep.m4 2019-12-09 21:28:38.936003218 +0100
21 +++ dante-1.4.2/osdep.m4 2019-12-09 21:49:48.764019371 +0100
22 @@ -956,13 +956,7 @@
23 unset UNIQUEVALS UNIQUESYMBOLS
24 if test -s $ERRVALFILE; then
25 UNIQUEVALS=`sort $ERRVALFILE | uniq | wc -l | awk '{ print $1 }'`
26 - if test $UNIQUEVALS -le 1; then
27 - AC_MSG_FAILURE([error: getaddrinfo() error value count too low])
28 - fi
29 UNIQUESYMBOLS=`cat $ERRVALFILE | wc -l | awk '{ print $1 }'`
30 - if test $UNIQUESYMBOLS -le 1; then
31 - AC_MSG_FAILURE([error: getaddrinfo() error symbol count too low])
32 - fi
33  
34 if test $ERRNOCNT -ne $UNIQUESYMBOLS; then
35 AC_MSG_FAILURE([internal error: errno symbol count mismatch])