Skip to content

Fix reading files from stdin - #2

Merged
grafov merged 2 commits into
uwfmt:masterfrom
sarg:master
Oct 22, 2025
Merged

Fix reading files from stdin#2
grafov merged 2 commits into
uwfmt:masterfrom
sarg:master

Conversation

@sarg

@sarg sarg commented Oct 7, 2025

Copy link
Copy Markdown
Contributor

I've tried the example commands from README, but to no success.
Turned out, that ls -1 | fsel would ignore stdin completely, because the program selects the "listing mode"

@grafov
grafov self-requested a review October 22, 2025 12:48
@grafov grafov added the bug Something isn't working label Oct 22, 2025
@grafov
grafov merged commit c8c1d6c into uwfmt:master Oct 22, 2025
1 check passed
grafov added a commit that referenced this pull request Oct 22, 2025
Removed XOPEN_SOURCE=500 because it is too old and restrictive.
_DEFAULT_SOURCE should be used by default. That will be a good mix of
standard POSIX functions and common GNU extensions without being as
"all-inclusive" as _GNU_SOURCE.

Directory creation for man page was fixed in #2.

Change fixes #3 reported by @0-wiz-0.
@grafov

grafov commented Oct 22, 2025

Copy link
Copy Markdown
Member

Thank you @sarg for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants