Skip to content

Commit 2e2d8e6

Browse files
committed
Version: 2009-08-21 93t+
Sourced from ast-open-history version 2009-08-21
1 parent 4f69440 commit 2e2d8e6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+542
-348
lines changed

bin/package

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ all_types='*.*|sun4' # all but sun4 match *.*
4646
case `(getopts '[-][123:xyz]' opt --xyz; echo 0$opt) 2>/dev/null` in
4747
0123) USAGE=$'
4848
[-?
49-
@(#)$Id: package (AT&T Research) 2009-07-31 $
49+
@(#)$Id: package (AT&T Research) 2009-08-11 $
5050
]'$USAGE_LICENSE$'
5151
[+NAME?package - source and binary package control]
5252
[+DESCRIPTION?The \bpackage\b command controls source and binary
@@ -6203,7 +6203,8 @@ results)set '' $target
62036203
case $filter in
62046204
errors) $exeg egrep '^pax:|\*\*\*' $j
62056205
;;
6206-
*) $exec egrep -iv '^($||[\+\[]|cc[^-:]|kill |make: .*file system time|so|[0123456789]+ error|uncrate |[0123456789]+ block|ar: creat|iffe: test: |conf: (check|generate|test)|[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*=|gsf@research|ar:.*warning|cpio:|[0123456789]*$|(checking|creating|touch) [/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789])| obsolete predefined symbol | is dangerous | is not implemented| trigraph| assigned to | passed as |::__builtin|pragma.*prototyped|^creating.*\.a$|warning.*not optimized|exceeds size thresh|ld:.*preempts|is unchanged|with value >=|(-l|lib)\*|/(ast|sys)/(dir|limits|param|stropts)\.h.*redefined|usage|base registers|`\.\.\.` obsolete'"$i" $j
6206+
*) $exec egrep -iv '^($||[\+\[]|cc[^-:]|kill |make.*(file system time|has been replaced)|so|[0123456789]+ error|uncrate |[0123456789]+ block|ar: creat|iffe: test: |conf: (check|generate|test)|[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*=|gsf@research|ar:.*warning|cpio:|ld:.*(duplicate symbol|to obtain more information)|[0123456789]*$|(checking|creating|touch) [/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789])| obsolete predefined symbol | is (almost always misused|dangerous|deprecated|not implemented)| trigraph| assigned to | cast .* different size| integer overflow .*<<| optimization may be attained | passed as |::__builtin|pragma.*prototyped|^creating.*\.a$|warning.*not optimized|exceeds size thresh|ld:.*preempts|is unchanged|with value >=|(-l|lib)\*|/(ast|sys)/(dir|limits|param|stropts)\.h.*redefined|usage|base registers|`\.\.\.` obsolete'"$i" $j |
6207+
$exec grep :
62076208
;;
62086209
esac
62096210
done

lib/package/INIT.README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ All recorded changes follow.
9292

9393
:::::::: INIT ::::::::
9494

95+
09-08-20 make.probe: add CC.SHARED.NAME
96+
09-08-20 regress.sh: add { JOB CONTINUE EXITED KILL FIFO }
97+
09-08-11 package.sh: filter lines containing : for package results
9598
09-07-31 make.probe: add CC.AR.ARFLAGS (for aix ar -xany)
9699
09-07-31 package.sh,cc.*: fix -dumpmachine to handle 32/64/* bit options
97100
09-06-24 package.sh: fix admin.db output formatting

lib/package/INIT.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
<P><HR><CENTER><FONT color=red><FONT face=courier><H3><A name="INIT changes">INIT changes</A></H3></FONT></FONT></CENTER>
4848
<PRE>
4949

50+
09-08-20 make.probe: add CC.SHARED.NAME
51+
09-08-20 regress.sh: add { JOB CONTINUE EXITED KILL FIFO }
52+
09-08-11 package.sh: filter lines containing : for package results
5053
09-07-31 make.probe: add CC.AR.ARFLAGS (for aix ar -xany)
5154
09-07-31 package.sh,cc.*: fix -dumpmachine to handle 32/64/* bit options
5255
09-06-24 package.sh: fix admin.db output formatting
@@ -889,7 +892,7 @@
889892
<TR>
890893
<TD align=left></TD>
891894
<TD align=center></TD>
892-
<TD align=right>August 19, 2009</TD>
895+
<TD align=right>August 21, 2009</TD>
893896
</TR>
894897
</TABLE>
895898
<P>

lib/package/INIT.ver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INIT 2009-08-18 2009-08-18 1
1+
INIT 2009-08-21 2009-08-21 1

lib/package/ast-ksh.ver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ast-ksh 2009-06-30 2009-07-04 1
1+
ast-ksh 2009-08-21 2009-08-21 1

lib/package/ast-open.README

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,17 @@ All recorded changes follow.
9292

9393
:::::::: ksh93 ::::::::
9494

95-
09-08-18 --- Release ksh93t+ ---
95+
09-08-21 --- Release ksh93t+ ---
96+
09-08-21 A bug in the handling of the comma operator in arithmetic expressions
97+
that could cause a core dump on some systems has been fixed.
98+
09-08-20 A bug in which a compound variable containing an array of a type
99+
that doesn't have any elements now expands correctly.
100+
09-08-19 A bug which disabled function tracing inside a function after
101+
a call to another function has been fixed.
102+
09-08-19 A bug in which initializing a compound variable instance to another
103+
compound variable by name has been fixed.
104+
09-08-18 A bug in which compound variable instances could be lost after
105+
an instance that invoked a type method discipline has been fixed.
96106
09-08-18 A bug in which a discipline function for a type applied to an
97107
array instance when invoked in a function ignored the subscript
98108
has been fixed.
@@ -3048,6 +3058,8 @@ All recorded changes follow.
30483058

30493059
:::::::: nmake ::::::::
30503060

3061+
09-08-20 Makerules.mk: add :LIBRARY: name=soname and CC.SHARED.NAME logic
3062+
09-08-20 Makerules.mk: add :PACKAGE: --soname[=-n], -n to drop n suffixes in soname
30513063
09-07-31 Makerules.mk: add CC.AR.ARFLAGS
30523064
09-05-05 scan.c: reject implicit prereq names containing space
30533065
09-03-24 Makerules.mk: --option[=value] compatibility with option[=value] until 2011
@@ -5622,6 +5634,7 @@ All recorded changes follow.
56225634

56235635
:::::::: libast ::::::::
56245636

5637+
09-08-18 include/ast_std.h,ast.h: add ast.mb_sync to sync mbchar() after error
56255638
09-08-17 comp/setlocale.c: add AST_LC_utf8 and { utf8_mbtowc() utf8_mblen() }
56265639
09-08-11 comp/setlocale.c: treat "en"/"en_US" AST_LC_MESSAGES as "C"/"POSIX"
56275640
09-08-10 vmalloc/vmhdr.h: add user-defined _AST_PAGESIZE and computed VMHEAPINCR
@@ -7408,7 +7421,7 @@ All recorded changes follow.
74087421
00-10-31 mkdir: handle races by checking EEXIST
74097422
00-09-20 cp: copy argv to stack before modifying in place
74107423
00-05-18 add setlocale(LC_ALL,"")
7411-
00-04-30 join: drop wierd opt_info.argv reference
7424+
00-04-30 join: drop weird opt_info.argv reference
74127425
00-03-17 expr: add == operator -- duh
74137426
cp,ln,mv: delay pathcanon() on destination to verify `cp a b/.'
74147427
getconf: use astgetconf for proper message control

lib/package/ast-open.html

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,17 @@ <H4>Examples</H4>
10461046
<P><HR><CENTER><FONT color=red><FONT face=courier><H3><A name="ksh93 changes">ksh93 changes</A></H3></FONT></FONT></CENTER>
10471047
<PRE>
10481048

1049-
09-08-18 --- Release ksh93t+ ---
1049+
09-08-21 --- Release ksh93t+ ---
1050+
09-08-21 A bug in the handling of the comma operator in arithmetic expressions
1051+
that could cause a core dump on some systems has been fixed.
1052+
09-08-20 A bug in which a compound variable containing an array of a type
1053+
that doesn't have any elements now expands correctly.
1054+
09-08-19 A bug which disabled function tracing inside a function after
1055+
a call to another function has been fixed.
1056+
09-08-19 A bug in which initializing a compound variable instance to another
1057+
compound variable by name has been fixed.
1058+
09-08-18 A bug in which compound variable instances could be lost after
1059+
an instance that invoked a type method discipline has been fixed.
10501060
09-08-18 A bug in which a discipline function for a type applied to an
10511061
array instance when invoked in a function ignored the subscript
10521062
has been fixed.
@@ -4038,6 +4048,8 @@ <H4>Examples</H4>
40384048
<P><HR><CENTER><FONT color=red><FONT face=courier><H3><A name="nmake changes">nmake changes</A></H3></FONT></FONT></CENTER>
40394049
<PRE>
40404050

4051+
09-08-20 Makerules.mk: add :LIBRARY: name=soname and CC.SHARED.NAME logic
4052+
09-08-20 Makerules.mk: add :PACKAGE: --soname&#0091;=-n&#0093;, -n to drop n suffixes in soname
40414053
09-07-31 Makerules.mk: add CC.AR.ARFLAGS
40424054
09-05-05 scan.c: reject implicit prereq names containing space
40434055
09-03-24 Makerules.mk: --option&#0091;=value&#0093; compatibility with option&#0091;=value&#0093; until 2011
@@ -6717,6 +6729,7 @@ <H4>Examples</H4>
67176729
<P><HR><CENTER><FONT color=red><FONT face=courier><H3><A name="libast changes">libast changes</A></H3></FONT></FONT></CENTER>
67186730
<PRE>
67196731

6732+
09-08-18 include/ast_std.h,ast.h: add ast.mb_sync to sync mbchar() after error
67206733
09-08-17 comp/setlocale.c: add AST_LC_utf8 and { utf8_mbtowc() utf8_mblen() }
67216734
09-08-11 comp/setlocale.c: treat "en"/"en_US" AST_LC_MESSAGES as "C"/"POSIX"
67226735
09-08-10 vmalloc/vmhdr.h: add user-defined _AST_PAGESIZE and computed VMHEAPINCR
@@ -8509,7 +8522,7 @@ <H4>Examples</H4>
85098522
00-10-31 mkdir: handle races by checking EEXIST
85108523
00-09-20 cp: copy argv to stack before modifying in place
85118524
00-05-18 add setlocale(LC_ALL,"")
8512-
00-04-30 join: drop wierd opt_info.argv reference
8525+
00-04-30 join: drop weird opt_info.argv reference
85138526
00-03-17 expr: add == operator -- duh
85148527
cp,ln,mv: delay pathcanon() on destination to verify `cp a b/.'
85158528
getconf: use astgetconf for proper message control
@@ -9924,7 +9937,7 @@ <H4>Examples</H4>
99249937
<TR>
99259938
<TD align=left></TD>
99269939
<TD align=center></TD>
9927-
<TD align=right>August 19, 2009</TD>
9940+
<TD align=right>August 21, 2009</TD>
99289941
</TR>
99299942
</TABLE>
99309943
<P>

lib/package/ast-open.ver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ast-open 2009-08-18 2009-08-18 1
1+
ast-open 2009-08-21 2009-08-21 1

src/cmd/INIT/RELEASE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
09-08-20 make.probe: add CC.SHARED.NAME
2+
09-08-20 regress.sh: add { JOB CONTINUE EXITED KILL FIFO }
3+
09-08-11 package.sh: filter lines containing : for package results
14
09-07-31 make.probe: add CC.AR.ARFLAGS (for aix ar -xany)
25
09-07-31 package.sh,cc.*: fix -dumpmachine to handle 32/64/* bit options
36
09-06-24 package.sh: fix admin.db output formatting

src/cmd/INIT/make.probe

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Glenn Fowler
33
# AT&T Research
44
#
5-
# @(#)make.probe (AT&T Research) 2009-07-31
5+
# @(#)make.probe (AT&T Research) 2009-08-20
66
#
77
# C probe for make
88
#
@@ -33,13 +33,14 @@ probe_libdir="shlib lib"
3333
probe_nmflags="'' -p -B"
3434
probe_optimize="-O"
3535
probe_pic="-Kpic -KPIC -fpic -fPIC -pic -PIC +z +Z"
36+
probe_no_protect="'-fno-stack-protector -fno-stack-protector-all' -GS-"
3637
probe_readonly="-R -Krodata -xMerge -Wa,-r"
3738
probe_shared="'' -G -b -c -shared -Wl,dll"
39+
probe_shared_name="-Wl,-soname= -h"
3840
probe_shared_nostart="-nostartfiles"
3941
probe_shared_registry='"-update_registry $probe_shared_registry_file"'
4042
probe_shared_registry_file='registry.ld'
4143
probe_shared_registry_path="\$(LIBDIR)/$probe_shared_registry_file"
42-
probe_no_protect="'-fno-stack-protector -fno-stack-protector-all' -GS-"
4344
probe_strict="'-ansi -pedantic' '-ansi -strict' -strict -ansi"
4445
probe_stripflags="'-f -s' -f -s"
4546
probe_unresolved="'-expect_unresolved \"*\"'"
@@ -158,6 +159,7 @@ repository=
158159
require=
159160
runpath=
160161
shared=
162+
shared_name=
161163
shared_registry=
162164
shellmagic=
163165
soversion=
@@ -1036,6 +1038,23 @@ case $shared in
10361038
esac
10371039
;;
10381040
esac
1041+
case $shared in
1042+
?*) if $cc -c $cc_dll $cc_pic shared.$src
1043+
then eval set x $probe_shared_name
1044+
while :
1045+
do shift
1046+
case $# in
1047+
0) break ;;
1048+
esac
1049+
rm -f xxx$dll
1050+
if $dld $shared ${1}libfoo.1.2 -o xxx$dll shared.$obj 2>e && test -r xxx$dll
1051+
then shared_name=$1
1052+
break
1053+
fi
1054+
done
1055+
fi
1056+
;;
1057+
esac
10391058
case " $cc_dll " in
10401059
*" $cc_dll_def "*)
10411060
;;
@@ -2018,6 +2037,7 @@ CC_REQUIRE=$require
20182037
CC_RUNPATH=$runpath
20192038
CC_SHARED=$shared
20202039
CC_SHARED_LD=$dld
2040+
CC_SHARED_NAME=$shared_name
20212041
CC_SHARED_REGISTRY=$shared_registry
20222042
CC_SHARED_REGISTRY_PATH=$probe_shared_registry_path
20232043
CC_SHELLMAGIC=$shellmagic
@@ -2129,6 +2149,7 @@ done
21292149
echo CC.RUNPATH = $CC_RUNPATH
21302150
echo CC.SHARED = $CC_SHARED
21312151
echo CC.SHARED.LD = $CC_SHARED_LD
2152+
echo CC.SHARED.NAME = $CC_SHARED_NAME
21322153
echo CC.SHARED.REGISTRY = $CC_SHARED_REGISTRY
21332154
echo CC.SHARED.REGISTRY.PATH = $CC_SHARED_REGISTRY_PATH
21342155
echo CC.SHELLMAGIC = $CC_SHELLMAGIC

0 commit comments

Comments
 (0)