From: Jarkko Hietaniemi Date: Fri, 14 Mar 2003 09:30:18 +0000 (+0000) Subject: Signal issues. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=10305dfa3448e78431707a1c294aca0c3710b447;p=p5sagit%2Fp5-mst-13.2.git Signal issues. (1) Filter out negative signals. (2) Correct sig_num* and sig_name* descriptions. p4raw-id: //depot/perl@18971 --- diff --git a/Configure b/Configure index 1517054..9f2528a 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Thu Mar 13 12:23:47 EET 2003 [metaconfig 3.0 PL70] +# Generated on Fri Mar 14 11:20:02 EET 2003 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <= 0) { sig_name[$2] = $1 sig_num[$2] = $2 } diff --git a/Porting/Glossary b/Porting/Glossary index 75a044f..14fa609 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -2147,6 +2147,9 @@ d_vendorbin (vendorbin.U): d_vendorlib (vendorlib.U): This variable conditionally defines PERL_VENDORLIB. +d_vendorscript (vendorscript.U): + This variable conditionally defines PERL_VENDORSCRIPT. + d_vfork (d_vfork.U): This variable conditionally defines the HAS_VFORK symbol, which indicates the vfork() routine is available. @@ -2625,6 +2628,27 @@ hostcat (nis.U): On some systems, such as os390, there may be no equivalent command, in which case this variable is unset. +html1dir (html1dir.U): + This variable contains the name of the directory in which html + source pages are to be put. This directory is for pages + that describe whole programs, not libraries or modules. It + is intended to correspond roughly to section 1 of the Unix + manuals. + +html1direxp (html1dir.U): + This variable is the same as the html1dir variable, but is filename + expanded at configuration time, for convenient use in makefiles. + +html3dir (html3dir.U): + This variable contains the name of the directory in which html + source pages are to be put. This directory is for pages + that describe libraries or modules. It is intended to + correspond roughly to section 3 of the Unix manuals. + +html3direxp (html3dir.U): + This variable is the same as the html3dir variable, but is filename + expanded at configuration time, for convenient use in makefiles. + i16size (perlxv.U): This variable is the size of an I16 in bytes. @@ -3041,6 +3065,16 @@ installbin (bin.U): the user is explicitely prompted for it. This variable should always be used in your makefiles for maximum portability. +installhtml1dir (html1dir.U): + This variable is really the same as html1direxp, unless you are + using a different installprefix. For extra portability, you + should only use this variable within your makefiles. + +installhtml3dir (html3dir.U): + This variable is really the same as html3direxp, unless you are + using a different installprefix. For extra portability, you + should only use this variable within your makefiles. + installman1dir (man1dir.U): This variable is really the same as man1direxp, unless you are using AFS in which case it points to the read/write location whereas @@ -3085,11 +3119,40 @@ installsitebin (sitebin.U): a system running AFS, in which case they may differ slightly. You should always use this variable within your makefiles for portability. +installsitehtml1 (sitehtml1.U): + This variable is really the same as sitehtml1exp, unless you are using + AFS in which case it points to the read/write location whereas + html1direxp only points to the read-only access location. For extra + portability, you should only use this variable within your makefiles. + +installsitehtml3 (sitehtml3.U): + This variable is really the same as sitehtml3exp, unless you are using + AFS in which case it points to the read/write location whereas + html3direxp only points to the read-only access location. For extra + portability, you should only use this variable within your makefiles. + installsitelib (sitelib.U): This variable is really the same as sitelibexp but may differ on those systems using AFS. For extra portability, only this variable should be used in makefiles. +installsiteman1 (siteman1.U): + This variable is really the same as siteman1exp, unless you are using + AFS in which case it points to the read/write location whereas + man1direxp only points to the read-only access location. For extra + portability, you should only use this variable within your makefiles. + +installsiteman3 (siteman3.U): + This variable is really the same as siteman3exp, unless you are using + AFS in which case it points to the read/write location whereas + man3direxp only points to the read-only access location. For extra + portability, you should only use this variable within your makefiles. + +installsitescript (sitescript.U): + This variable is usually the same as sitescriptexp, unless you are on + a system running AFS, in which case they may differ slightly. You + should always use this variable within your makefiles for portability. + installstyle (installstyle.U): This variable describes the "style" of the perl installation. This is intended to be useful for tools that need to @@ -3141,11 +3204,36 @@ installvendorbin (vendorbin.U): those systems using AFS. For extra portability, only this variable should be used in makefiles. +installvendorhtml1 (vendorhtml1.U): + This variable is really the same as vendorhtml1exp but may differ on + those systems using AFS. For extra portability, only this variable + should be used in makefiles. + +installvendorhtml3 (vendorhtml3.U): + This variable is really the same as vendorhtml3exp but may differ on + those systems using AFS. For extra portability, only this variable + should be used in makefiles. + installvendorlib (vendorlib.U): This variable is really the same as vendorlibexp but may differ on those systems using AFS. For extra portability, only this variable should be used in makefiles. +installvendorman1 (vendorman1.U): + This variable is really the same as vendorman1exp but may differ on + those systems using AFS. For extra portability, only this variable + should be used in makefiles. + +installvendorman3 (vendorman3.U): + This variable is really the same as vendorman3exp but may differ on + those systems using AFS. For extra portability, only this variable + should be used in makefiles. + +installvendorscript (vendorscript.U): + This variable is really the same as vendorscriptexp but may differ on + those systems using AFS. For extra portability, only this variable + should be used in makefiles. + intsize (intsize.U): This variable contains the value of the INTSIZE symbol, which indicates to the C program how many bytes there are in an int. @@ -3629,6 +3717,11 @@ perl5 (perl5.U): installed perl5.005 or later suitable for running the script to determine inc_version_list. +perl5 (perl5.U): + This variable contains the full path (if any) to a previously + installed perl5.005 or later suitable for running the script + to determine inc_version_list. + perl (Loc.U): This variable is defined but not used by Configure. The value is a plain '' and is not useful. @@ -4006,8 +4099,8 @@ sig_count (sig_name.U): sig_name (sig_name.U): This variable holds the signal names, space separated. The leading - SIG in signal name is removed. A ZERO is prepended to the - list. This is currently not used. + SIG in signal name is removed. A ZERO is prepended to the list. + This is currently not used, sig_name_init is used instead. sig_name_init (sig_name.U): This variable holds the signal names, enclosed in double quotes and @@ -4018,10 +4111,10 @@ sig_name_init (sig_name.U): sig_num (sig_name.U): This variable holds the signal numbers, space separated. A ZERO is - prepended to the list (corresponding to the fake SIGZERO), and - the list is terminated with a 0. Those numbers correspond to - the value of the signal listed in the same place within the - sig_name list. + prepended to the list (corresponding to the fake SIGZERO). + Those numbers correspond to the value of the signal listed + in the same place within the sig_name list. + This is currently not used, sig_num_init is used instead. sig_num_init (sig_name.U): This variable holds the signal numbers, enclosed in double quotes and @@ -4066,6 +4159,36 @@ sitebinexp (sitebin.U): This is the same as the sitebin variable, but is filename expanded at configuration time, for use in your makefiles. +sitehtml1 (sitehtml1.U): + This variable contains the name of the directory in which site-specific + html source pages are to be put. It is the responsibility of the + Makefile.SH to get the value of this into the proper command. + You must be prepared to do the ~name expansion yourself. + The standard distribution will put nothing in this directory. + After perl has been installed, users may install their own local + html pages in this directory with + MakeMaker Makefile.PL + or equivalent. See INSTALL for details. + +sitehtml1exp (sitehtml1.U): + This variable is the same as the sitehtml1 variable, but is filename + expanded at configuration time, for convenient use in makefiles. + +sitehtml3 (sitehtml3.U): + This variable contains the name of the directory in which site-specific + library html source pages are to be put. It is the responsibility of the + Makefile.SH to get the value of this into the proper command. + You must be prepared to do the ~name expansion yourself. + The standard distribution will put nothing in this directory. + After perl has been installed, users may install their own local + library html pages in this directory with + MakeMaker Makefile.PL + or equivalent. See INSTALL for details. + +sitehtml3exp (sitehtml3.U): + This variable is the same as the sitehtml3 variable, but is filename + expanded at configuration time, for convenient use in makefiles. + sitelib (sitelib.U): This variable contains the eventual value of the SITELIB symbol, which is the name of the private library for this package. It may @@ -4086,6 +4209,36 @@ sitelibexp (sitelib.U): This variable is the ~name expanded version of sitelib, so that you may use it directly in Makefiles or shell scripts. +siteman1 (siteman1.U): + This variable contains the name of the directory in which site-specific + manual source pages are to be put. It is the responsibility of the + Makefile.SH to get the value of this into the proper command. + You must be prepared to do the ~name expansion yourself. + The standard distribution will put nothing in this directory. + After perl has been installed, users may install their own local + man1 pages in this directory with + MakeMaker Makefile.PL + or equivalent. See INSTALL for details. + +siteman1exp (siteman1.U): + This variable is the same as the siteman1 variable, but is filename + expanded at configuration time, for convenient use in makefiles. + +siteman3 (siteman3.U): + This variable contains the name of the directory in which site-specific + library man source pages are to be put. It is the responsibility of the + Makefile.SH to get the value of this into the proper command. + You must be prepared to do the ~name expansion yourself. + The standard distribution will put nothing in this directory. + After perl has been installed, users may install their own local + man3 pages in this directory with + MakeMaker Makefile.PL + or equivalent. See INSTALL for details. + +siteman3exp (siteman3.U): + This variable is the same as the siteman3 variable, but is filename + expanded at configuration time, for convenient use in makefiles. + siteprefix (siteprefix.U): This variable holds the full absolute path of the directory below which the user will install add-on packages. @@ -4095,6 +4248,21 @@ siteprefixexp (siteprefix.U): This variable holds the full absolute path of the directory below which the user will install add-on packages. Derived from siteprefix. +sitescript (sitescript.U): + This variable holds the name of the directory in which the user wants + to put add-on publicly executable files for the package in question. It + is most often a local directory such as /usr/local/bin. Programs using + this variable must be prepared to deal with ~name substitution. + The standard distribution will put nothing in this directory. + After perl has been installed, users may install their own local + scripts in this directory with + MakeMaker Makefile.PL + or equivalent. See INSTALL for details. + +sitescriptexp (sitescript.U): + This is the same as the sitescript variable, but is filename expanded at + configuration time, for use in your makefiles. + sizesize (sizesize.U): This variable contains the size of a sizetype in bytes. @@ -4138,7 +4306,7 @@ spackage (package.U): spitshell (spitshell.U): This variable contains the command necessary to spit out a runnable - shell on this system. It is either cat or a grep -v for # comments. + shell on this system. It is either cat or a grep '-v' for # comments. srand48_r_proto (d_srand48_r.U): This variable encodes the prototype of srand48_r. @@ -4367,6 +4535,11 @@ uquadtype (quadtype.U): unsigned int, unsigned long long, uint64_t, or whatever type is used for 64-bit integers. +use5005threads (usethreads.U): + This variable conditionally defines the USE_5005THREADS symbol, + and indicates that Perl should be built to use the 5.005-based + threading implementation. + use64bitall (use64bits.U): This variable conditionally defines the USE_64_BIT_ALL symbol, and indicates that 64-bit integer types should be used @@ -4537,6 +4710,32 @@ vendorbinexp (vendorbin.U): This variable is the ~name expanded version of vendorbin, so that you may use it directly in Makefiles or shell scripts. +vendorhtml1 (vendorhtml1.U): + This variable contains the name of the directory for html + pages. It may have a ~ on the front. + The standard distribution will put nothing in this directory. + Vendors who distribute perl may wish to place their own + html pages in this directory with + MakeMaker Makefile.PL INSTALLDIRS=vendor + or equivalent. See INSTALL for details. + +vendorhtml1exp (vendorhtml1.U): + This variable is the ~name expanded version of vendorhtml1, so that you + may use it directly in Makefiles or shell scripts. + +vendorhtml3 (vendorhtml3.U): + This variable contains the name of the directory for html + library pages. It may have a ~ on the front. + The standard distribution will put nothing in this directory. + Vendors who distribute perl may wish to place their own + html pages for modules and extensions in this directory with + MakeMaker Makefile.PL INSTALLDIRS=vendor + or equivalent. See INSTALL for details. + +vendorhtml3exp (vendorhtml3.U): + This variable is the ~name expanded version of vendorhtml3, so that you + may use it directly in Makefiles or shell scripts. + vendorlib (vendorlib.U): This variable contains the eventual value of the VENDORLIB symbol, which is the name of the private library for this package. @@ -4555,6 +4754,32 @@ vendorlibexp (vendorlib.U): This variable is the ~name expanded version of vendorlib, so that you may use it directly in Makefiles or shell scripts. +vendorman1 (vendorman1.U): + This variable contains the name of the directory for man1 + pages. It may have a ~ on the front. + The standard distribution will put nothing in this directory. + Vendors who distribute perl may wish to place their own + man1 pages in this directory with + MakeMaker Makefile.PL INSTALLDIRS=vendor + or equivalent. See INSTALL for details. + +vendorman1exp (vendorman1.U): + This variable is the ~name expanded version of vendorman1, so that you + may use it directly in Makefiles or shell scripts. + +vendorman3 (vendorman3.U): + This variable contains the name of the directory for man3 + pages. It may have a ~ on the front. + The standard distribution will put nothing in this directory. + Vendors who distribute perl may wish to place their own + man3 pages in this directory with + MakeMaker Makefile.PL INSTALLDIRS=vendor + or equivalent. See INSTALL for details. + +vendorman3exp (vendorman3.U): + This variable is the ~name expanded version of vendorman3, so that you + may use it directly in Makefiles or shell scripts. + vendorprefix (vendorprefix.U): This variable holds the full absolute path of the directory below which the vendor will install add-on packages. @@ -4564,6 +4789,19 @@ vendorprefixexp (vendorprefix.U): This variable holds the full absolute path of the directory below which the vendor will install add-on packages. Derived from vendorprefix. +vendorscript (vendorscript.U): + This variable contains the eventual value of the VENDORSCRIPT symbol. + It may have a ~ on the front. + The standard distribution will put nothing in this directory. + Vendors who distribute perl may wish to place additional + executable scripts in this directory with + MakeMaker Makefile.PL INSTALLDIRS=vendor + or equivalent. See INSTALL for details. + +vendorscriptexp (vendorscript.U): + This variable is the ~name expanded version of vendorscript, so that you + may use it directly in Makefiles or shell scripts. + version (patchlevel.U): The full version number of this package, such as 5.6.1 (or 5_6_1). This combines revision, patchlevel, and subversion to get the @@ -4623,10 +4861,6 @@ xs_apiversion (xs_apiversion.U): though in principle we could go snooping around in old Config.pm files. -yacc (yacc.U): - This variable holds the name of the compiler compiler we - want to use in the Makefile. It can be yacc, byacc, or bison -y. - yaccflags (yacc.U): This variable contains any additional yacc flags desired by the user. It is up to the Makefile to use this. diff --git a/Porting/config.sh b/Porting/config.sh index 9ef72ab..8495b37 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,9 +8,9 @@ # Package name : perl5 # Source directory : . -# Configuration time: Thu Mar 6 08:37:41 EET 2003 +# Configuration time: Fri Mar 14 12:30:38 EET 2003 # Configured by : jhi -# Target system : osf1 kosh.hut.fi v4.0 1229 alpha +# Target system : osf1 kosh.hut.fi v5.1 2650 alpha Author='' Date='$Date' @@ -59,11 +59,11 @@ ccdlflags=' -Wl,-rpath,/opt/perl/lib/5.9.0/alpha-dec_osf/CORE' ccflags='-std -D_INTRINSICS -fprm d -ieee -DLANGUAGE_C' ccflags_uselargefiles='' ccname='cc' -ccsymbols='LANGUAGE_C=1 SYSTYPE_BSD=1 _LONGLONG=1 _SYSTYPE_BSD=1 __Alpha_AXP=1 __DATE__="Mar __DECC=1 __DECC_MODE_COMMON=1 __DECC_VER=50990011 __IEEE_FLOAT=1 __INITIAL_POINTER_SIZE=0 __PRAGMA_ENVIRONMENT=1 __TIME__="08:38:22" __X_FLOAT=0 unix=1' -ccversion='V5.9-011' +ccsymbols='__alpha=1 __ALPHA=1 __Alpha_AXP=1 __arch64__=1 __DATE__="Mar __DECC=1 __DECC_MODE_RELAXED=1 __DECC_VER=60590011 __digital__=1 __IEEE_FLOAT=1 __INITIAL_POINTER_SIZE=0 __LANGUAGE_C__=1 __osf__=1 __PRAGMA_ENVIRONMENT=1 __STDC__=0 __STDC_HOSTED__=1 __STDC_VERSION__=199901L __TIME__="12:31:32" __unix__=1 __X_FLOAT=1 _LONGLONG=1 _SYSTYPE_BSD=1' +ccversion='V6.5-011' cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Thu Mar 6 08:37:41 EET 2003' +cf_time='Fri Mar 14 12:30:38 EET 2003' charsize='1' chgrp='' chmod='chmod' @@ -76,13 +76,13 @@ cp='cp' cpio='' cpp='cpp' cpp_stuff='42' -cppccsymbols='__ALPHA=1 __LANGUAGE_C__=1 __alpha=1 __osf__=1 __unix__=1' -cppflags='-D_INTRINSICS -DLANGUAGE_C' -cpplast='' -cppminus='' -cpprun='/usr/local/bin/cpp' -cppstdin='cppstdin' -cppsymbols='_AES_SOURCE=1 _ANSI_C_SOURCE=1 _INTRINSICS=1 LANGUAGE_C=1 _LONGLONG=1 _OSF_SOURCE=1 _POSIX_C_SOURCE=199506 _POSIX_SOURCE=1 __STDC__=1 _SYSTYPE_BSD=1 _XOPEN_SOURCE=1' +cppccsymbols='' +cppflags='-std -D_INTRINSICS -fprm d -ieee -DLANGUAGE_C' +cpplast='-' +cppminus='-' +cpprun='cc -E' +cppstdin='cc -E' +cppsymbols='_AES_SOURCE=1 __alpha=1 __ALPHA=1 _ANSI_C_SOURCE=1 _INTRINSICS=1 LANGUAGE_C=1 __LANGUAGE_C__=1 _LONGLONG=1 __osf__=1 _OSF_SOURCE=1 _POSIX_C_SOURCE=199506 _POSIX_SOURCE=1 __STDC__=1 _SYSTYPE_BSD=1 __unix__=1 _XOPEN_SOURCE=400' crypt_r_proto='0' cryptlib='' csh='csh' @@ -183,12 +183,12 @@ d_fpclassl='undef' d_fpos64_t='undef' d_frexpl='define' d_fs_data_s='undef' -d_fseeko='undef' +d_fseeko='define' d_fsetpos='define' d_fstatfs='define' d_fstatvfs='define' d_fsync='define' -d_ftello='undef' +d_ftello='define' d_ftime='undef' d_getcwd='define' d_getespwnam='undef' @@ -280,13 +280,13 @@ d_memcpy='define' d_memmove='define' d_memset='define' d_mkdir='define' -d_mkdtemp='undef' +d_mkdtemp='define' d_mkfifo='define' d_mkstemp='define' -d_mkstemps='undef' +d_mkstemps='define' d_mktime='define' d_mmap='define' -d_modfl='undef' +d_modfl='define' d_modfl_pow32_bug='undef' d_modflproto='undef' d_mprotect='define' @@ -321,7 +321,7 @@ d_pipe='define' d_poll='define' d_portable='define' d_procselfexe='undef' -d_pthread_atfork='define' +d_pthread_atfork='undef' d_pthread_yield='undef' d_pwage='undef' d_pwchange='undef' @@ -347,7 +347,7 @@ d_safebcpy='undef' d_safemcpy='undef' d_sanemcmp='define' d_sbrkproto='define' -d_sched_yield='define' +d_sched_yield='undef' d_scm_rights='define' d_seekdir='define' d_select='define' @@ -431,7 +431,7 @@ d_strerror_r='undef' d_strftime='define' d_strtod='define' d_strtol='define' -d_strtold='undef' +d_strtold='define' d_strtoll='undef' d_strtoq='undef' d_strtoul='define' @@ -441,7 +441,7 @@ d_strxfrm='define' d_suidsafe='undef' d_symlink='define' d_syscall='define' -d_syscallproto='undef' +d_syscallproto='define' d_sysconf='define' d_sysernlst='' d_syserrlst='define' @@ -465,7 +465,7 @@ d_uname='define' d_union_semun='undef' d_unordered='define' d_usleep='define' -d_usleepproto='undef' +d_usleepproto='define' d_ustat='define' d_vendorarch='undef' d_vendorbin='undef' @@ -723,7 +723,7 @@ lns='/usr/bin/ln -s' localtime_r_proto='0' locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib' -longdblsize='8' +longdblsize='16' longlongsize='8' longsize='8' lp='' @@ -754,7 +754,7 @@ mv='' myarchname='alpha-dec_osf' mydomain='.yourplace.com' myhostname='yourhost' -myuname='osf1 kosh.hut.fi v4.0 1229 alpha ' +myuname='osf1 kosh.hut.fi v5.1 2650 alpha ' n='' need_va_copy='undef' netdb_hlen_type='int' @@ -781,7 +781,7 @@ old_pthread_create_joinable='' optimize='-O4' orderlib='false' osname='dec_osf' -osvers='4.0f' +osvers='5.1b' otherlibdirs=' ' package='perl5' pager='/usr/local/bin/less' @@ -823,20 +823,20 @@ rm='rm' rmail='' run='' runnm='true' -sPRIEUldbl='"E"' -sPRIFUldbl='"F"' -sPRIGUldbl='"G"' +sPRIEUldbl='"LE"' +sPRIFUldbl='"LF"' +sPRIGUldbl='"LG"' sPRIXU64='"lX"' sPRId64='"ld"' -sPRIeldbl='"e"' -sPRIfldbl='"f"' -sPRIgldbl='"g"' +sPRIeldbl='"Le"' +sPRIfldbl='"Lf"' +sPRIgldbl='"Lg"' sPRIi64='"li"' sPRIo64='"lo"' sPRIu64='"lu"' sPRIx64='"lx"' -sSCNfldbl='"f"' -sched_yield='sched_yield()' +sSCNfldbl='"Lf"' +sched_yield='undef' scriptdir='/opt/perl/bin' scriptdirexp='/opt/perl/bin' sed='sed' @@ -902,7 +902,7 @@ ssizetype='ssize_t' startperl='#!/opt/perl/bin/perl5.9.0' startsh='#!/bin/sh' static_ext=' ' -stdchar='unsigned char' +stdchar='char' stdio_base='((fp)->_base)' stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)' stdio_cnt='((fp)->_cnt)' @@ -1027,5 +1027,5 @@ PERL_API_SUBVERSION=0 PERL_PATCHLEVEL=18374 PERL_CONFIG_SH=true # Variables propagated from previous config.sh file. -pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"' +pp_sys_cflags='' toke_cflags='' diff --git a/Porting/config_H b/Porting/config_H index d47bd40..d2d11b5 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,9 +17,9 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Thu Mar 6 08:37:41 EET 2003 + * Configuration time: Fri Mar 14 12:30:38 EET 2003 * Configured by : jhi - * Target system : osf1 kosh.hut.fi v4.0 1229 alpha + * Target system : osf1 kosh.hut.fi v5.1 2650 alpha */ #ifndef _config_h_ @@ -1477,7 +1477,7 @@ * feature tests from Configure are generally more reliable. */ #define OSNAME "dec_osf" /**/ -#define OSVERS "4.0f" /**/ +#define OSVERS "5.1b" /**/ /* CAT2: * This macro catenates 2 tokens together. @@ -1528,10 +1528,10 @@ * This symbol is intended to be used along with CPPRUN in the same manner * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". */ -#define CPPSTDIN "cppstdin" -#define CPPMINUS "" -#define CPPRUN "/usr/local/bin/cpp" -#define CPPLAST "" +#define CPPSTDIN "cc -E" +#define CPPMINUS "-" +#define CPPRUN "cc -E" +#define CPPLAST "-" /* HAS_ACCESS: * This manifest constant lets the C program know that the access() @@ -1790,7 +1790,7 @@ */ #define HAS_LONG_DOUBLE /**/ #ifdef HAS_LONG_DOUBLE -#define LONG_DOUBLESIZE 8 /**/ +#define LONG_DOUBLESIZE 16 /**/ #endif /* HAS_LONG_LONG: @@ -2193,7 +2193,9 @@ * etc., where nn is the actual signal number (e.g. NUM37). * The signal number for sig_name[i] is stored in sig_num[i]. * The last element is 0 to terminate the list with a NULL. This - * corresponds to the 0 at the end of the sig_num list. + * corresponds to the 0 at the end of the sig_name_init list. + * Note that this variable is initialized from the sig_name_init, + * not from sig_name (which is unused). */ /* SIG_NUM: * This symbol contains a list of signal numbers, in the same order as the @@ -2207,7 +2209,9 @@ * The signal number corresponding to sig_name[i] is sig_number[i]. * if (i < NSIG) then sig_number[i] == i. * The last element is 0, corresponding to the 0 at the end of - * the sig_name list. + * the sig_name_init list. + * Note that this variable is initialized from the sig_num_init, + * not from sig_num (which is unused). */ /* SIG_SIZE: * This variable contains the number of elements of the sig_name @@ -2221,7 +2225,7 @@ * This symbol is defined to be the type of char used in stdio.h. * It has the values "unsigned char" or "char". */ -#define STDCHAR unsigned char /**/ +#define STDCHAR char /**/ /* VOIDFLAGS: * This symbol indicates how much support of the void type is given by this @@ -2448,7 +2452,7 @@ * This symbol, if defined, indicates that the fseeko routine is * available to fseek beyond 32 bits (useful for ILP32 hosts). */ -/*#define HAS_FSEEKO / **/ +#define HAS_FSEEKO /**/ /* HAS_FSTATFS: * This symbol, if defined, indicates that the fstatfs routine is @@ -2467,7 +2471,7 @@ * This symbol, if defined, indicates that the ftello routine is * available to ftell beyond 32 bits (useful for ILP32 hosts). */ -/*#define HAS_FTELLO / **/ +#define HAS_FTELLO /**/ /* HAS_GETCWD: * This symbol, if defined, indicates that the getcwd routine is @@ -2572,14 +2576,14 @@ * This symbol, if defined, indicates that the mkdtemp routine is * available to exclusively create a uniquely named temporary directory. */ -/*#define HAS_MKDTEMP / **/ +#define HAS_MKDTEMP /**/ /* HAS_MKSTEMPS: * This symbol, if defined, indicates that the mkstemps routine is * available to excluslvely create and open a uniquely named * (with a suffix) temporary file. */ -/*#define HAS_MKSTEMPS / **/ +#define HAS_MKSTEMPS /**/ /* HAS_MODFL: * This symbol, if defined, indicates that the modfl routine is @@ -2598,7 +2602,7 @@ * and 1.150000. The bug has been seen in certain versions of glibc, * release 2.2.2 is known to be okay. */ -/*#define HAS_MODFL / **/ +#define HAS_MODFL /**/ /*#define HAS_MODFL_PROTO / **/ /*#define HAS_MODFL_POW32_BUG / **/ @@ -2774,7 +2778,7 @@ * This symbol, if defined, indicates that the strtold routine is * available to convert strings to long doubles. */ -/*#define HAS_STRTOLD / **/ +#define HAS_STRTOLD /**/ /* HAS_STRTOLL: * This symbol, if defined, indicates that the strtoll routine is @@ -2807,7 +2811,7 @@ * extern int syscall(int, ...); * extern int syscall(long, ...); */ -/*#define HAS_SYSCALL_PROTO / **/ +#define HAS_SYSCALL_PROTO /**/ /* HAS_TELLDIR_PROTO: * This symbol, if defined, indicates that the system provides @@ -2844,7 +2848,7 @@ * to the program to supply one. A good guess is * extern int usleep(useconds_t); */ -/*#define HAS_USLEEP_PROTO / **/ +#define HAS_USLEEP_PROTO /**/ /* HAS_USTAT: * This symbol, if defined, indicates that the ustat system call is @@ -3055,10 +3059,10 @@ * This symbol, if defined, contains the string used by stdio to * format long doubles (format 'f') for input. */ -#define PERL_PRIfldbl "f" /**/ -#define PERL_PRIgldbl "g" /**/ -#define PERL_PRIeldbl "e" /**/ -#define PERL_SCNfldbl "f" /**/ +#define PERL_PRIfldbl "Lf" /**/ +#define PERL_PRIgldbl "Lg" /**/ +#define PERL_PRIeldbl "Le" /**/ +#define PERL_SCNfldbl "Lf" /**/ /* NEED_VA_COPY: * This symbol, if defined, indicates that the system stores @@ -3886,7 +3890,7 @@ * This symbol, if defined, indicates that the pthread_atfork routine * is available setup fork handlers. */ -#define HAS_PTHREAD_ATFORK /**/ +/*#define HAS_PTHREAD_ATFORK / **/ /* HAS_PTHREAD_YIELD: * This symbol, if defined, indicates that the pthread_yield @@ -3904,8 +3908,8 @@ * thread. sched_yield is preferable to pthread_yield. */ /*#define HAS_PTHREAD_YIELD / **/ -#define SCHED_YIELD sched_yield() /**/ -#define HAS_SCHED_YIELD /**/ +#define SCHED_YIELD undef /**/ +/*#define HAS_SCHED_YIELD / **/ /* HAS_RANDOM_R: * This symbol, if defined, indicates that the random_r routine diff --git a/config_h.SH b/config_h.SH index 8e16bb8..7ac00df 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2213,7 +2213,9 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * etc., where nn is the actual signal number (e.g. NUM37). * The signal number for sig_name[i] is stored in sig_num[i]. * The last element is 0 to terminate the list with a NULL. This - * corresponds to the 0 at the end of the sig_num list. + * corresponds to the 0 at the end of the sig_name_init list. + * Note that this variable is initialized from the sig_name_init, + * not from sig_name (which is unused). */ /* SIG_NUM: * This symbol contains a list of signal numbers, in the same order as the @@ -2227,7 +2229,9 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * The signal number corresponding to sig_name[i] is sig_number[i]. * if (i < NSIG) then sig_number[i] == i. * The last element is 0, corresponding to the 0 at the end of - * the sig_name list. + * the sig_name_init list. + * Note that this variable is initialized from the sig_num_init, + * not from sig_num (which is unused). */ /* SIG_SIZE: * This variable contains the number of elements of the sig_name