Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e5e0f6f5
Commit
e5e0f6f5
authored
Dec 17, 2001
by
Nicola Pero
Committed by
Nicola Pero
Dec 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in loading of categories under certain special circumstances
From-SVN: r48110
parent
8ecba28a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
libobjc/ChangeLog
+8
-0
libobjc/init.c
+3
-3
No files found.
libobjc/ChangeLog
View file @
e5e0f6f5
Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
* init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
categories - when an unclaimed category was found, the loop was
doing two steps forward instead of one, so that in certain cases
it was failing to properly load all the categories. (Reported
with fix by Alexander Malmberg <alexander@malmberg.org>).
2001-11-14 Aldy Hernandez <aldyh@redhat.com>
2001-11-14 Aldy Hernandez <aldyh@redhat.com>
* encoding.c: Add target_flags.
* encoding.c: Add target_flags.
...
...
libobjc/init.c
View file @
e5e0f6f5
...
@@ -599,9 +599,7 @@ __objc_exec_class (Module_t module)
...
@@ -599,9 +599,7 @@ __objc_exec_class (Module_t module)
/* Scan the unclaimed category hash. Attempt to attach any unclaimed
/* Scan the unclaimed category hash. Attempt to attach any unclaimed
categories to objects. */
categories to objects. */
for
(
cell
=
&
unclaimed_categories
;
for
(
cell
=
&
unclaimed_categories
;
*
cell
;
)
*
cell
;
({
if
(
*
cell
)
cell
=
&
(
*
cell
)
->
tail
;
}))
{
{
Category_t
category
=
(
*
cell
)
->
head
;
Category_t
category
=
(
*
cell
)
->
head
;
Class
class
=
objc_lookup_class
(
category
->
class_name
);
Class
class
=
objc_lookup_class
(
category
->
class_name
);
...
@@ -630,6 +628,8 @@ __objc_exec_class (Module_t module)
...
@@ -630,6 +628,8 @@ __objc_exec_class (Module_t module)
only done for root classes. */
only done for root classes. */
__objc_register_instance_methods_to_class
(
class
);
__objc_register_instance_methods_to_class
(
class
);
}
}
else
cell
=
&
(
*
cell
)
->
tail
;
}
}
if
(
unclaimed_proto_list
&&
objc_lookup_class
(
"Protocol"
))
if
(
unclaimed_proto_list
&&
objc_lookup_class
(
"Protocol"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment