On Thursday, January 06, 2011 14:39:56 ольга крыжановская wrote:
> Michal, that is a bug in one of the iffe probes. The bug will only
> happen for platforms with sizeof(int) != sizeof(long), i.e. 64bit
> Linux machines. Solaris is OK.
>
> We've observed this on SuSE 11 but more data, e.g. from Fedora may
> help. Please run this and send iffe.out to this list:
> bin/package use
> cd ksh93
> iffe -v -d2 - typ wctrans_t wctype.h > iffe.out 2>&1
attached
> On Thu, Jan 6, 2011 at 1:47 PM, Michal Hlavinka <[email protected]> wrote:
> > Hi,
> >
> > we've found regression in new ksh. It crashes during several tests from
> > src/cmd/ksh93/tests. First one being arith.sh test, with backtrace
> > ending:
> >
> > #0 towctrans () from /lib64/libc-2.12.90.so
> > #1 put_trans (np=0x22cac20, val=0x22c5151 "0 -0 -0 -0 -0 -0", flags=1,
> > fp=0x22c5100) at sh/init.c:2087
> > #2 nv_putv (np=0x22cac20, value=0x22c5150 "-0 -0 -0 -0 -0 -0", flags=1,
> > nfp=0x2d) at sh/nvdisc.c:150
> > ...
> > ...
> >
> > In Mapchar structure mp->trans has obviously wrong value (0xffffxxxx)
> > which makes towctrans crash. Problem seems to be caused with some build
> > time checks, because if I comment out this:
> >
> > #if !_typ_wctrans_t
> > #undef wctrans_t
> > #define wctrans_t sh_wctrans_t
> > typedef int wctrans_t;
> > #endif
> >
> > from init.c everything works fine, so typ wctrans_t test probably does
> > not worka as expected.
> >
> > Michal
> > _______________________________________________
> > ast-developers mailing list
> > [email protected]
> > https://mailman.research.att.com/mailman/listinfo/ast-developers
+1585+ continue
+1262+ :
+1320+ :
+1377+ break
+1747+ def=''
+1756+ not=''
+1768+ op=typ
+1769+ shift
+1772+ arg=''
+1773+ cc='cc '
+1774+ group=''
+1775+ groups=''
+1776+ fail=''
+1777+ hdr=''
+1778+ lib=''
+1779+ mac=''
+1780+ no=''
+1781+ note=''
+1782+ opt=''
+1783+ pass=''
+1784+ pth=''
+1785+ run=''
+1786+ set=''
+1787+ src=''
+1788+ test=''
+1789+ yes=''
+1827+ arg=wctrans_t
+1828+ shift
+1862+ sline=0
+1863+ :
+2097+ hdr=' wctype.h'
+2118+ shift
+1863+ :
+1865+ break
+2156+ echo 'int i = 1;'
+2156+ 1> ./krle22011.c
+2157+ compile cc -c ./krle22011.c
+2157+ 0<& 7 1>& 8
+38+ cc -c ./krle22011.c
+38+ 2> ./krle22011.err
+39+ _compile_status=0
+40+ test -s ./krle22011.err
+59+ return 0
+2158+ echo '(;'
+2158+ 1> ./krle22011.c
+2159+ compile cc -c ./krle22011.c
+2159+ 0<& 7 1>& 8
+38+ cc -c ./krle22011.c
+38+ 2> ./krle22011.err
+39+ _compile_status=1
+40+ test -s ./krle22011.err
+41+ cat ./krle22011.err
+41+ 1>& 2
./krle22011.c:1:2: error: expected identifier or ‘(’ before ‘;’ token
+44+ egrep -i -c 'terminated with signal|core dump|segmentation fault'
./krle22011.err
+44+ 1>& 8
+59+ return 1
+2165+ cctest=0
+2459+ argx=1
+2460+ argv=''
+2464+ :
+2468+ cc='cc '
+2473+ hdrtest=1
+2474+ allinc=''
+2477+ c=_sys_types
+2486+ x=sys/types.h
+2487+ echo '#include <sys/types.h>'
+2487+ 1> ./krle22011.c
+2488+ is_hdr sys/types.h
+66+ _is_hdr_flag=''
+70+ _is_hdr_file=./krle22011.c
+72+ is hdr sys/types.h
+132+ oo=hdr
+133+ shift
+135+ yy=is
+136+ ii=sys/types.h
+137+ complete=1
+143+ mm='a header'
+173+ echo 'iffe: test:' is sys/types.h a header ...
+173+ 1>& 6
iffe: test: is sys/types.h a header ...
+174+ complete=1
+73+ compile cc -c ./krle22011.c
+73+ 0<& 7 1>& 8 2> ./krle22011.e
+74+ _is_hdr_status=0
+76+ test -s ./krle22011.e
+76+ grep '#.*error' ./krle22011.e
+84+ success
+200+ complete=0
+202+ mm=yes
+207+ echo 'iffe: ... yes'
+207+ 1>& 6
iffe: ... yes
+87+ return 0
+2489+ gothdr=' + sys/types.h'
+2491+ can=$'#define _sys_types\t1\t/* #include <sys/types.h> ok */'
+2492+ nan=_sys_types=1
+2493+ cansep=$'\n'
+2496+ eval _sys_types=1
+1+ _sys_types=1
+2497+ allinc=$'#include <sys/types.h>\n'
+2520+ hdr='sys/types.h time.h sys/time.h sys/times.h stddef.h stdlib.h
wctype.h'
+2527+ z='sys/types.h time.h sys/time.h sys/times.h stddef.h stdlib.h wctype.h'
+2528+ hdr=''
+2529+ dis=0
+2604+ hdr=' sys/types.h'
+2541+ eval c='${x##*[\\/]}'
+1+ c=time.h
+2542+ eval c='${c%%.*}'
+1+ c=time
+2549+ dis=0
+2564+ c=_hdr_time
+2574+ echo $'#include <sys/types.h>\n#include <time.h>'
+2574+ 1> ./krle22011.c
+2575+ is_hdr time.h
+66+ _is_hdr_flag=''
+70+ _is_hdr_file=./krle22011.c
+72+ is hdr time.h
+132+ oo=hdr
+133+ shift
+135+ yy=is
+136+ ii=time.h
+137+ complete=1
+143+ mm='a header'
+173+ echo 'iffe: test:' is time.h a header ...
+173+ 1>& 6
iffe: test: is time.h a header ...
+174+ complete=1
+73+ compile cc -c ./krle22011.c
+73+ 0<& 7 1>& 8 2> ./krle22011.e
+74+ _is_hdr_status=0
+76+ test -s ./krle22011.e
+76+ grep '#.*error' ./krle22011.e
+84+ success
+200+ complete=0
+202+ mm=yes
+207+ echo 'iffe: ... yes'
+207+ 1>& 6
iffe: ... yes
+87+ return 0
+2576+ gothdr=' + sys/types.h + time.h'
+2578+ can=$'#define _sys_types\t1\t/* #include <sys/types.h> ok */\n#define
_hdr_time\t1\t/* #include <time.h> ok */'
+2579+ nan=_sys_types=$'1\n_hdr_time=1'
+2580+ cansep=$'\n'
+2583+ eval _hdr_time=1
+1+ _hdr_time=1
+2604+ hdr=' sys/types.h time.h'
+2541+ eval c='${x##*[\\/]}'
+1+ c=time.h
+2542+ eval c='${c%%.*}'
+1+ c=time
+2544+ eval c='${x%%[\\/]*}_${c}'
+1+ c=sys_time
+2549+ dis=0
+2563+ c=_sys_time
+2574+ echo $'#include <sys/types.h>\n#include <sys/time.h>'
+2574+ 1> ./krle22011.c
+2575+ is_hdr sys/time.h
+66+ _is_hdr_flag=''
+70+ _is_hdr_file=./krle22011.c
+72+ is hdr sys/time.h
+132+ oo=hdr
+133+ shift
+135+ yy=is
+136+ ii=sys/time.h
+137+ complete=1
+143+ mm='a header'
+173+ echo 'iffe: test:' is sys/time.h a header ...
+173+ 1>& 6
iffe: test: is sys/time.h a header ...
+174+ complete=1
+73+ compile cc -c ./krle22011.c
+73+ 0<& 7 1>& 8 2> ./krle22011.e
+74+ _is_hdr_status=0
+76+ test -s ./krle22011.e
+76+ grep '#.*error' ./krle22011.e
+84+ success
+200+ complete=0
+202+ mm=yes
+207+ echo 'iffe: ... yes'
+207+ 1>& 6
iffe: ... yes
+87+ return 0
+2576+ gothdr=' + sys/types.h + time.h + sys/time.h'
+2578+ can=$'#define _sys_types\t1\t/* #include <sys/types.h> ok */\n#define
_hdr_time\t1\t/* #include <time.h> ok */\n#define _sys_time\t1\t/* #include
<sys/time.h> ok */'
+2579+ nan=_sys_types=$'1\n_hdr_time=1\n_sys_time=1'
+2580+ cansep=$'\n'
+2583+ eval _sys_time=1
+1+ _sys_time=1
+2604+ hdr=' sys/types.h time.h sys/time.h'
+2541+ eval c='${x##*[\\/]}'
+1+ c=times.h
+2542+ eval c='${c%%.*}'
+1+ c=times
+2544+ eval c='${x%%[\\/]*}_${c}'
+1+ c=sys_times
+2549+ dis=0
+2563+ c=_sys_times
+2574+ echo $'#include <sys/types.h>\n#include <sys/times.h>'
+2574+ 1> ./krle22011.c
+2575+ is_hdr sys/times.h
+66+ _is_hdr_flag=''
+70+ _is_hdr_file=./krle22011.c
+72+ is hdr sys/times.h
+132+ oo=hdr
+133+ shift
+135+ yy=is
+136+ ii=sys/times.h
+137+ complete=1
+143+ mm='a header'
+173+ echo 'iffe: test:' is sys/times.h a header ...
+173+ 1>& 6
iffe: test: is sys/times.h a header ...
+174+ complete=1
+73+ compile cc -c ./krle22011.c
+73+ 0<& 7 1>& 8 2> ./krle22011.e
+74+ _is_hdr_status=0
+76+ test -s ./krle22011.e
+76+ grep '#.*error' ./krle22011.e
+84+ success
+200+ complete=0
+202+ mm=yes
+207+ echo 'iffe: ... yes'
+207+ 1>& 6
iffe: ... yes
+87+ return 0
+2576+ gothdr=' + sys/types.h + time.h + sys/time.h + sys/times.h'
+2578+ can=$'#define _sys_types\t1\t/* #include <sys/types.h> ok */\n#define
_hdr_time\t1\t/* #include <time.h> ok */\n#define _sys_time\t1\t/* #include
<sys/time.h> ok */\n#define _sys_times\t1\t/* #include <sys/times.h> ok */'
+2579+ nan=_sys_types=$'1\n_hdr_time=1\n_sys_time=1\n_sys_times=1'
+2580+ cansep=$'\n'
+2583+ eval _sys_times=1
+1+ _sys_times=1
+2604+ hdr=' sys/types.h time.h sys/time.h sys/times.h'
+2541+ eval c='${x##*[\\/]}'
+1+ c=stddef.h
+2542+ eval c='${c%%.*}'
+1+ c=stddef
+2549+ dis=0
+2564+ c=_hdr_stddef
+2574+ echo $'#include <sys/types.h>\n#include <stddef.h>'
+2574+ 1> ./krle22011.c
+2575+ is_hdr stddef.h
+66+ _is_hdr_flag=''
+70+ _is_hdr_file=./krle22011.c
+72+ is hdr stddef.h
+132+ oo=hdr
+133+ shift
+135+ yy=is
+136+ ii=stddef.h
+137+ complete=1
+143+ mm='a header'
+173+ echo 'iffe: test:' is stddef.h a header ...
+173+ 1>& 6
iffe: test: is stddef.h a header ...
+174+ complete=1
+73+ compile cc -c ./krle22011.c
+73+ 0<& 7 1>& 8 2> ./krle22011.e
+74+ _is_hdr_status=0
+76+ test -s ./krle22011.e
+76+ grep '#.*error' ./krle22011.e
+84+ success
+200+ complete=0
+202+ mm=yes
+207+ echo 'iffe: ... yes'
+207+ 1>& 6
iffe: ... yes
+87+ return 0
+2576+ gothdr=' + sys/types.h + time.h + sys/time.h + sys/times.h + stddef.h'
+2578+ can=$'#define _sys_types\t1\t/* #include <sys/types.h> ok */\n#define
_hdr_time\t1\t/* #include <time.h> ok */\n#define _sys_time\t1\t/* #include
<sys/time.h> ok */\n#define _sys_times\t1\t/* #include <sys/times.h> ok
*/\n#define _hdr_stddef\t1\t/* #include <stddef.h> ok */'
+2579+
nan=_sys_types=$'1\n_hdr_time=1\n_sys_time=1\n_sys_times=1\n_hdr_stddef=1'
+2580+ cansep=$'\n'
+2583+ eval _hdr_stddef=1
+1+ _hdr_stddef=1
+2604+ hdr=' sys/types.h time.h sys/time.h sys/times.h stddef.h'
+2541+ eval c='${x##*[\\/]}'
+1+ c=stdlib.h
+2542+ eval c='${c%%.*}'
+1+ c=stdlib
+2549+ dis=0
+2564+ c=_hdr_stdlib
+2574+ echo $'#include <sys/types.h>\n#include <stdlib.h>'
+2574+ 1> ./krle22011.c
+2575+ is_hdr stdlib.h
+66+ _is_hdr_flag=''
+70+ _is_hdr_file=./krle22011.c
+72+ is hdr stdlib.h
+132+ oo=hdr
+133+ shift
+135+ yy=is
+136+ ii=stdlib.h
+137+ complete=1
+143+ mm='a header'
+173+ echo 'iffe: test:' is stdlib.h a header ...
+173+ 1>& 6
iffe: test: is stdlib.h a header ...
+174+ complete=1
+73+ compile cc -c ./krle22011.c
+73+ 0<& 7 1>& 8 2> ./krle22011.e
+74+ _is_hdr_status=0
+76+ test -s ./krle22011.e
+76+ grep '#.*error' ./krle22011.e
+84+ success
+200+ complete=0
+202+ mm=yes
+207+ echo 'iffe: ... yes'
+207+ 1>& 6
iffe: ... yes
+87+ return 0
+2576+ gothdr=' + sys/types.h + time.h + sys/time.h + sys/times.h + stddef.h +
stdlib.h'
+2578+ can=$'#define _sys_types\t1\t/* #include <sys/types.h> ok */\n#define
_hdr_time\t1\t/* #include <time.h> ok */\n#define _sys_time\t1\t/* #include
<sys/time.h> ok */\n#define _sys_times\t1\t/* #include <sys/times.h> ok
*/\n#define _hdr_stddef\t1\t/* #include <stddef.h> ok */\n#define
_hdr_stdlib\t1\t/* #include <stdlib.h> ok */'
+2579+
nan=_sys_types=$'1\n_hdr_time=1\n_sys_time=1\n_sys_times=1\n_hdr_stddef=1\n_hdr_stdlib=1'
+2580+ cansep=$'\n'
+2583+ eval _hdr_stdlib=1
+1+ _hdr_stdlib=1
+2604+ hdr=' sys/types.h time.h sys/time.h sys/times.h stddef.h stdlib.h'
+2541+ eval c='${x##*[\\/]}'
+1+ c=wctype.h
+2542+ eval c='${c%%.*}'
+1+ c=wctype
+2549+ dis=0
+2564+ c=_hdr_wctype
+2574+ echo $'#include <sys/types.h>\n#include <wctype.h>'
+2574+ 1> ./krle22011.c
+2575+ is_hdr wctype.h
+66+ _is_hdr_flag=''
+70+ _is_hdr_file=./krle22011.c
+72+ is hdr wctype.h
+132+ oo=hdr
+133+ shift
+135+ yy=is
+136+ ii=wctype.h
+137+ complete=1
+143+ mm='a header'
+173+ echo 'iffe: test:' is wctype.h a header ...
+173+ 1>& 6
iffe: test: is wctype.h a header ...
+174+ complete=1
+73+ compile cc -c ./krle22011.c
+73+ 0<& 7 1>& 8 2> ./krle22011.e
+74+ _is_hdr_status=0
+76+ test -s ./krle22011.e
+76+ grep '#.*error' ./krle22011.e
+84+ success
+200+ complete=0
+202+ mm=yes
+207+ echo 'iffe: ... yes'
+207+ 1>& 6
iffe: ... yes
+87+ return 0
+2576+ gothdr=' + sys/types.h + time.h + sys/time.h + sys/times.h + stddef.h +
stdlib.h + wctype.h'
+2578+ can=$'#define _sys_types\t1\t/* #include <sys/types.h> ok */\n#define
_hdr_time\t1\t/* #include <time.h> ok */\n#define _sys_time\t1\t/* #include
<sys/time.h> ok */\n#define _sys_times\t1\t/* #include <sys/times.h> ok
*/\n#define _hdr_stddef\t1\t/* #include <stddef.h> ok */\n#define
_hdr_stdlib\t1\t/* #include <stdlib.h> ok */\n#define _hdr_wctype\t1\t/*
#include <wctype.h> ok */'
+2579+
nan=_sys_types=$'1\n_hdr_time=1\n_sys_time=1\n_sys_times=1\n_hdr_stddef=1\n_hdr_stdlib=1\n_hdr_wctype=1'
+2580+ cansep=$'\n'
+2583+ eval _hdr_wctype=1
+1+ _hdr_wctype=1
+2604+ hdr=' sys/types.h time.h sys/time.h sys/times.h stddef.h stdlib.h
wctype.h'
+2759+ IFS=' ,'
+2764+ eval op='"typ"'
+1+ op=typ
+2765+ eval arg='"wctrans_t"'
+1+ arg=wctrans_t
+2768+ IFS=$' \t\n'
+2772+ x=''
+2776+ x=' typ'
+2782+ result=UNKNOWN
+2785+ c=''
+2873+ p=''
+2874+ v=wctrans_t
+2875+ f=wctrans_t
+2876+ m=_wctrans_t
+2880+ c=wctrans_t
+2882+ M=_wctrans_t
+2919+ i=1
+3042+ eval 'exec >&5'
+1+ exec
+1+ 1>& 5
+3053+ cur=-
+3059+ x=''
+3070+ echo '/* : : generated by iffe version 2010-09-01 : : */'
/* : : generated by iffe version 2010-09-01 : : */
+3075+ x=_wctrans_t
+3107+ pwd
+3107+ sed -e 's,.*[\\/],,' -e 's,\..*,,' -e s,^lib,, -e s,^,_wctrans_t_, -e
's,[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_],_,g'
+3107+ x=_wctrans_t_ksh93
+3113+ iff=_def_wctrans_t_ksh93
+3127+ echo '#ifndef _def_wctrans_t_ksh93'
#ifndef _def_wctrans_t_ksh93
+3128+ echo $'#define _def_wctrans_t_ksh93\t1'
#define _def_wctrans_t_ksh93 1
+3139+ echo $'#define _sys_types\t1\t/* #include <sys/types.h> ok */\n#define
_hdr_time\t1\t/* #include <time.h> ok */\n#define _sys_time\t1\t/* #include
<sys/time.h> ok */\n#define _sys_times\t1\t/* #include <sys/times.h> ok
*/\n#define _hdr_stddef\t1\t/* #include <stddef.h> ok */\n#define
_hdr_stdlib\t1\t/* #include <stdlib.h> ok */\n#define _hdr_wctype\t1\t/*
#include <wctype.h> ok */'
#define _sys_types 1 /* #include <sys/types.h> ok */
#define _hdr_time 1 /* #include <time.h> ok */
#define _sys_time 1 /* #include <sys/time.h> ok */
#define _sys_times 1 /* #include <sys/times.h> ok */
#define _hdr_stddef 1 /* #include <stddef.h> ok */
#define _hdr_stdlib 1 /* #include <stdlib.h> ok */
#define _hdr_wctype 1 /* #include <wctype.h> ok */
+3142+ can=''
+3143+ nan=''
+3144+ cansep=''
+3150+ pre=''
+3151+ inc=''
+3167+ pre=$'#undef\twctrans_t'
+3180+ eval c='${x##*[\\/]}'
+1+ c=types.h
+3181+ eval c='${c%%.*}'
+1+ c=types
+3183+ eval c='${x%%[\\/]*}_${c}'
+1+ c=sys_types
+3189+ c=_sys_types
+3203+ puthdr=' _sys_types'
+3204+ usr=$'\n#define _sys_types 1'
+3207+ inc=$'\n#include <sys/types.h>'
+3180+ eval c='${x##*[\\/]}'
+1+ c=time.h
+3181+ eval c='${c%%.*}'
+1+ c=time
+3190+ c=_hdr_time
+3203+ puthdr=' _sys_types _hdr_time'
+3204+ usr=$'\n#define _sys_types 1\n#define _hdr_time 1'
+3207+ inc=$'\n#include <sys/types.h>\n#include <time.h>'
+3180+ eval c='${x##*[\\/]}'
+1+ c=time.h
+3181+ eval c='${c%%.*}'
+1+ c=time
+3183+ eval c='${x%%[\\/]*}_${c}'
+1+ c=sys_time
+3189+ c=_sys_time
+3203+ puthdr=' _sys_types _hdr_time _sys_time'
+3204+ usr=$'\n#define _sys_types 1\n#define _hdr_time 1\n#define _sys_time 1'
+3207+ inc=$'\n#include <sys/types.h>\n#include <time.h>\n#include <sys/time.h>'
+3180+ eval c='${x##*[\\/]}'
+1+ c=times.h
+3181+ eval c='${c%%.*}'
+1+ c=times
+3183+ eval c='${x%%[\\/]*}_${c}'
+1+ c=sys_times
+3189+ c=_sys_times
+3203+ puthdr=' _sys_types _hdr_time _sys_time _sys_times'
+3204+ usr=$'\n#define _sys_types 1\n#define _hdr_time 1\n#define _sys_time
1\n#define _sys_times 1'
+3207+ inc=$'\n#include <sys/types.h>\n#include <time.h>\n#include
<sys/time.h>\n#include <sys/times.h>'
+3180+ eval c='${x##*[\\/]}'
+1+ c=stddef.h
+3181+ eval c='${c%%.*}'
+1+ c=stddef
+3190+ c=_hdr_stddef
+3203+ puthdr=' _sys_types _hdr_time _sys_time _sys_times _hdr_stddef'
+3204+ usr=$'\n#define _sys_types 1\n#define _hdr_time 1\n#define _sys_time
1\n#define _sys_times 1\n#define _hdr_stddef 1'
+3207+ inc=$'\n#include <sys/types.h>\n#include <time.h>\n#include
<sys/time.h>\n#include <sys/times.h>\n#include <stddef.h>'
+3180+ eval c='${x##*[\\/]}'
+1+ c=stdlib.h
+3181+ eval c='${c%%.*}'
+1+ c=stdlib
+3190+ c=_hdr_stdlib
+3203+ puthdr=' _sys_types _hdr_time _sys_time _sys_times _hdr_stddef
_hdr_stdlib'
+3204+ usr=$'\n#define _sys_types 1\n#define _hdr_time 1\n#define _sys_time
1\n#define _sys_times 1\n#define _hdr_stddef 1\n#define _hdr_stdlib 1'
+3207+ inc=$'\n#include <sys/types.h>\n#include <time.h>\n#include
<sys/time.h>\n#include <sys/times.h>\n#include <stddef.h>\n#include <stdlib.h>'
+3180+ eval c='${x##*[\\/]}'
+1+ c=wctype.h
+3181+ eval c='${c%%.*}'
+1+ c=wctype
+3190+ c=_hdr_wctype
+3203+ puthdr=' _sys_types _hdr_time _sys_time _sys_times _hdr_stddef
_hdr_stdlib _hdr_wctype'
+3204+ usr=$'\n#define _sys_types 1\n#define _hdr_time 1\n#define _sys_time
1\n#define _sys_times 1\n#define _hdr_stddef 1\n#define _hdr_stdlib 1\n#define
_hdr_wctype 1'
+3207+ inc=$'\n#include <sys/types.h>\n#include <time.h>\n#include
<sys/time.h>\n#include <sys/times.h>\n#include <stddef.h>\n#include
<stdlib.h>\n#include <wctype.h>'
+3249+ m=_typ_wctrans_t
+4391+ x=''
+4394+ is typ wctrans_t
+132+ oo=typ
+133+ shift
+135+ yy=is
+136+ ii=wctrans_t
+137+ complete=1
+166+ mm='a type or typedef'
+173+ echo 'iffe: test:' is wctrans_t a type or typedef ...
+173+ 1>& 6
iffe: test: is wctrans_t a type or typedef ...
+174+ complete=1
+4425+ 1> ./krle22011.c
+4412+ echo $'#undef\twctrans_t\n\n#include <stdio.h>\n\n#include
<sys/types.h>\n#include <time.h>\n#include <sys/time.h>\n#include
<sys/times.h>\n#include <stddef.h>\n#include <stdlib.h>\n#include
<wctype.h>\nstruct xxx { wctrans_t mem; };\nstatic struct xxx v;\nstruct xxx*
f() { return &v; }'
+4423+ echo 'int main() { f(); return 0; }'
+4427+ rm -f ./krle22011.exe
+4428+ compile cc -o ./krle22011.exe ./krle22011.c
+4428+ 0<& 7 1>& 8
+38+ cc -o ./krle22011.exe ./krle22011.c
+38+ 2> ./krle22011.err
+39+ _compile_status=0
+40+ test -s ./krle22011.err
+59+ return 0
+4429+ test -x ./krle22011.exe
+4430+ execute ./krle22011.exe
+470+ test '' '!=' ''
+473+ test -d /NextDeveloper
+477+ ./krle22011.exe
+478+ _execute_=0
+480+ return 0
+4431+ report 0 1 'wctrans_t is a type' 'wctrans_t is not a type' 'default for
type wctrans_t'
+270+ _report_ignore=''
+273+ _report_not=''
+287+ _report_status=0
+290+ success
+187+ result=SUCCESS
+200+ complete=0
+202+ mm=yes
+207+ echo 'iffe: ... yes'
+207+ 1>& 6
iffe: ... yes
+298+ _report_value=1
+307+ _report_success='wctrans_t is a type'
+308+ _report_failure='wctrans_t is not a type'
+311+ _report_default='default for type wctrans_t'
+315+ usr=$'\n#define _sys_types 1\n#define _hdr_time 1\n#define _sys_time
1\n#define _sys_times 1\n#define _hdr_stddef 1\n#define _hdr_stdlib 1\n#define
_hdr_wctype 1\n#define _typ_wctrans_t 1'
+319+ echo $'#define _typ_wctrans_t\t1\t/* wctrans_t is a type */'
#define _typ_wctrans_t 1 /* wctrans_t is a type */
+324+ eval _typ_wctrans_t=$'\'1\''
+1+ _typ_wctrans_t=1
+4460+ user_pf=''
+4460+ user_yn=''
+4485+ break
+1262+ :
+1314+ set set out +
+1320+ :
+1377+ break
+1448+ shift
+1452+ arg=''
+1453+ op=out
+1499+ shift
+1500+ :
+1515+ arg=+
+1518+ shift
+1500+ :
+1502+ break
+1674+ out=+
+1675+ defhdr=''
+1676+ usr=''
+1677+ deflib=''
+1678+ one=''
+1679+ puthdr=''
+1680+ putlib=''
+1684+ def=''
+1685+ test=''
+2459+ argx=1
+2460+ argv=''
+2464+ :
+2468+ cc='cc '
+2527+ z=' sys/types.h time.h sys/time.h sys/times.h stddef.h stdlib.h wctype.h'
+2528+ hdr=''
+2529+ dis=0
+2604+ hdr=' sys/types.h'
+2604+ hdr=' sys/types.h time.h'
+2604+ hdr=' sys/types.h time.h sys/time.h'
+2604+ hdr=' sys/types.h time.h sys/time.h sys/times.h'
+2604+ hdr=' sys/types.h time.h sys/time.h sys/times.h stddef.h'
+2604+ hdr=' sys/types.h time.h sys/time.h sys/times.h stddef.h stdlib.h'
+2604+ hdr=' sys/types.h time.h sys/time.h sys/times.h stddef.h stdlib.h
wctype.h'
+2759+ IFS=' ,'
+2764+ eval op='"out"'
+1+ op=out
+2765+ eval arg='"+"'
+1+ arg=+
+2768+ IFS=$' \t\n'
+2772+ x=''
+2776+ x=' out'
+2782+ result=UNKNOWN
+2785+ c=''
+2873+ p=''
+2874+ v=+
+2875+ f=+
+2876+ m=_+
+2880+ c=+
+2882+ M=_+
+2887+ test='+ '
+2888+ a=''
+2938+ echo X_+
+2938+ sed -e s,^.,, -e
's,[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_],_,g'
+2938+ m=__
+3003+ echo '#endif'
#endif
+3038+ status=0
+3040+ exit 0
+1+ rm -f ./krle22011.c ./krle22011.e ./krle22011.err ./krle22011.exe
./krle22011.o
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers