Skip to content

Conversation

@waywardmonkeys
Copy link
Contributor

We can just use memset for bzero and we weren't using bcmp at all.

@nbriggs
Copy link
Collaborator

nbriggs commented Dec 23, 2020

inc/os.h and src/dlpi.c go together and are almost verbatim copies from nfswatch (https://sourceforge.net/projects/nfswatch/files/nfswatch/4.99.11/ last released 2010). While I think it's great to stop using bzero/bcopy (as you note, we don't use bcmp) in our own code, I'm not sure that it's worthwhile cleaning up os.h & dlpi.c, and we don't include os.h in any of our own code.

@waywardmonkeys
Copy link
Contributor Author

Okay, updated the patch to no longer modify inc/os.h.

@waywardmonkeys waywardmonkeys changed the title Remove bzero/bcmp macro defs. Remove bzero macro def and usages. Dec 23, 2020
Copy link
Collaborator

@nbriggs nbriggs left a comment

Choose a reason for hiding this comment

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

LGTM

@nbriggs nbriggs merged commit 3ef2d12 into Interlisp:master Dec 23, 2020
@waywardmonkeys waywardmonkeys deleted the remove-bzero branch December 24, 2020 03:12
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