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

AskChoice: exit on closing of standard input #2

Merged
merged 1 commit into from
Aug 29, 2016

Conversation

sorc1
Copy link
Contributor

@sorc1 sorc1 commented Aug 29, 2016

Check fgets() return value, return "exit" code (11)
when fgets() returns NULL.

That allows us to

  • exit by ^D when using terminals
  • run core_analyzer in batch mode:
    (echo "cmd1" && echo "cmd2") | core_analyzer > out

Check fgets() return value, return "exit" code (11)
when fgets() returns NULL.

That allows us to
- exit by ^D when using terminals
- run core_analyzer in batch mode:
  (echo "cmd1" && echo "cmd2") | core_analyzer > out
@yanqi27
Copy link
Owner

yanqi27 commented Aug 29, 2016

looks good. thanks.

@yanqi27 yanqi27 merged commit 64d79bb into yanqi27:master Aug 29, 2016
@den818 den818 mentioned this pull request Nov 15, 2016
Celthi added a commit that referenced this pull request May 22, 2022
[WIP] Support switching heap manager at runtime (#36)
@Celthi Celthi mentioned this pull request Aug 14, 2022
Celthi pushed a commit that referenced this pull request Oct 28, 2022
yanqi27 pushed a commit that referenced this pull request Apr 22, 2023
[WIP] Support switching heap manager at runtime (#36)
yanqi27 pushed a commit that referenced this pull request Apr 22, 2023
[WIP] Support switching heap manager at runtime (#36)
yanqi27 pushed a commit that referenced this pull request Apr 22, 2023
[WIP] Support switching heap manager at runtime (#36)
yanqi27 pushed a commit that referenced this pull request Apr 30, 2023
[WIP] Support switching heap manager at runtime (#36)

Former-commit-id: 7b83ceb
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.

None yet

2 participants