gwolf-011235 / gwolf-011235/minishell
Compilation error on non ubuntu based distros
- Dominant language
- C
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Upstream readline does not include stdio.h.
Only reason it works on Ubuntu/Debian is because they patch it in (btw, this is considered bad practice).
This will cause compilation errors on Linux distributions that stay closer to upstream.
The [manpage](https://man7.org/linux/man-pages/man3/readline.3.html) even states that you should include stdio.h first
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the readline include usage in the shell's C sources and compare it with the readline manpage linked in the issue. Verify the project compiles on a non-Ubuntu Linux distribution after ensuring stdio.h is included first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100