Skip to content

Use COPYCHARS instead of COPYBYTES when HPRINT is copying from NODIRCORE buffer #506

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

Merged
merged 2 commits into from
Oct 21, 2021

Conversation

masinter
Copy link
Member

I couldn't figure out how to set the NODIRCORE file's :FORMAT or end-of-line convention (or rather, get the current output stream values).

Note SPECIAL declaration needed but missing? Might be a problem when recompiling other files.

Note filetype is CL:COMPILE-FILE which it seems to use but produces an LCOM.

Finally it is still the case that (HPRINT DEFAULTFONT) fails to print an arrayblock, but that is (or will be) a separate issue.
#483

@rmkaplan
Copy link
Contributor

rmkaplan commented Sep 28, 2021 via email

@masinter
Copy link
Member Author

i changed HPRINT to use :FORMAT of standard output in NODIRCORE file; should it delete it?
The problem with raw arrayblocks remains -- will open separate issue.

@masinter masinter requested review from rmkaplan and removed request for rmkaplan October 17, 2021 22:12
Copy link
Contributor

@rmkaplan rmkaplan left a comment

Choose a reason for hiding this comment

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

A little simpler would be to set the fileptr to 0 before the copychars, and then leave out both START and END. That will also get the whole file.

@rmkaplan
Copy link
Contributor

rmkaplan commented Oct 17, 2021 via email

@masinter masinter merged commit c7a219f into master Oct 21, 2021
@masinter masinter deleted the hprint-copychars branch October 21, 2021 16:50
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