Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iconc: rename the instance state field #373

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

Jafaral
Copy link
Member

@Jafaral Jafaral commented Mar 4, 2024

No description provided.

Copy link
Collaborator

@Don-Ward Don-Ward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a couple of changes (replace "14" by "7") to reflect the difference in string lengths.

src/iconc/cmem.c Outdated
@@ -103,7 +103,7 @@ rec_is_obj(name)

if ((len = strlen(name)) < 15)
return 0;
if (strcmp("__mdw_inst_mdw", (char *)(name + len - 14)) == 0)
if (strcmp("__state", (char *)(name + len - 14)) == 0)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to change the 14 to 7

src/iconc/ica.c Outdated
@@ -342,7 +342,7 @@ find_clsinst_call(clsname)
struct pcall * pcall;

clslen = strlen(clsname);
clslen -= 14/* "__mdw_inst_mdw" */;
clslen -= 14/* "__state" */;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

14 --> 7

Signed-off-by: Jafar Al-Gharaibeh <[email protected]>
@Don-Ward Don-Ward merged commit 3cb632f into uniconproject:master Mar 4, 2024
16 checks passed
ValG4 pushed a commit to ValG4/unicon that referenced this pull request Dec 7, 2024
iconc: rename the instance state field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants