re PR other/7350 ('shoud' typos)

* Fix for PR other/7350

[cp]
	* decl.c (duplicate_decls): Fix typo in comment.
[ada]
	* 5qtaprop.adb (Sleep): Fix typo in comment.

From-SVN: r63037
This commit is contained in:
Ben Elliston 2003-02-18 13:40:56 +00:00 committed by Ben Elliston
parent 14a65f50b0
commit bf7c02ddfe
4 changed files with 12 additions and 2 deletions

View File

@ -945,7 +945,7 @@ package body System.Task_Primitives.Operations is
-- Arrange to unlock Self_ID's ATCB lock. The following check
-- may be unnecessary because the specification of Sleep says
-- the caller shoud hold its own ATCB lock before calling Sleep
-- the caller should hold its own ATCB lock before calling Sleep
if Self_ID.Common.LL.L.Owner = To_Address (Self_ID) then
Self_ID.Common.LL.L.Owner := System.Null_Address;

View File

@ -1,3 +1,8 @@
2003-02-18 Ben Elliston <bje@redhat.com>
PR other/7350
* 5qtaprop.adb (Sleep): Fix typo in comment.
2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
* gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.

View File

@ -1,3 +1,8 @@
2003-02-18 Ben Elliston <bje@redhat.com>
PR other/7350
* decl.c (duplicate_decls): Fix typo in comment.
2003-02-17 Michael Elizabeth Chastain <mec@shout.net>
PR debug/9717

View File

@ -3543,7 +3543,7 @@ duplicate_decls (tree newdecl, tree olddecl)
{
/* If newdecl is not a specialization, then it is not a
template-related function at all. And that means that we
shoud have exited above, returning 0. */
should have exited above, returning 0. */
my_friendly_assert (DECL_TEMPLATE_SPECIALIZATION (newdecl),
0);