Skip to content

what: print filenames unconditionally - #1035

Merged
briandfoy merged 1 commit into
briandfoy:masterfrom
mknos:what-fname
Jun 3, 2026
Merged

what: print filenames unconditionally#1035
briandfoy merged 1 commit into
briandfoy:masterfrom
mknos:what-fname

Conversation

@mknos

@mknos mknos commented Jun 3, 2026

Copy link
Copy Markdown
Contributor
  • Print name once per file argument, including files containing zero matches
  • Empty filename '' is generally invalid and would fail earlier in open()
%perl what /bin/gcc /bin/gprof ''
/bin/gcc:
/bin/gprof:
	 Copyright (c) 1983 Regents of the University of California.
Unable to open '': No such file or directory

* Print name once per file argument, including files containing zero matches
* Empty filename '' is generally invalid and would fail earlier in open()
@mknos
mknos temporarily deployed to housekeeping June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 3, 2026 02:41 — with GitHub Actions Inactive
@github-actions github-actions Bot added Type: enhancement improve a feature that already exists Priority: low get to this whenever Program: what The what program Status: needs verification issue needs to be verified Type: bug an existing feature does not work labels Jun 3, 2026
@briandfoy
briandfoy merged commit 8fd7874 into briandfoy:master Jun 3, 2026
23 of 24 checks passed
@github-actions github-actions Bot added Status: accepted The fix is accepted and removed Status: needs verification issue needs to be verified Priority: low get to this whenever labels Jun 3, 2026
@briandfoy

Copy link
Copy Markdown
Owner

changes: don't need to test the filename for length

@briandfoy briandfoy added Status: fixed the fix has been merged into master and removed Status: accepted The fix is accepted Type: enhancement improve a feature that already exists labels Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Program: what The what program Status: fixed the fix has been merged into master Type: bug an existing feature does not work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants