Skip to content

Fix wrong comment in pipe.c#350

Open
prithvi-raj-bagoria wants to merge 1 commit intocodenet:mainfrom
prithvi-raj-bagoria:fix/pipe-wrong-comment
Open

Fix wrong comment in pipe.c#350
prithvi-raj-bagoria wants to merge 1 commit intocodenet:mainfrom
prithvi-raj-bagoria:fix/pipe-wrong-comment

Conversation

@prithvi-raj-bagoria
Copy link
Copy Markdown

08/pipe.c line 29: comment said "runs word count" but execvp runs "echo", not "wc"

08/pipe.c line 29: comment said "runs word count" but execvp runs "echo", not "wc"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 17, 2026 15:59
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates an inaccurate inline comment in 08/pipe.c so it matches the actual program invoked by execvp() in the child process.

Changes:

  • Corrected the comment on the execvp(myargs[0], myargs) line to indicate it runs echo (not wc).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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