Jul 2025

1 commit
Use strchr instead of strstr for single-char lookups
23 Jul 2025David Rowleymaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

The sole diff hunk in 039f7ee0fe exactly matches #1, replacing strstr(p + 2, "/") with strchr(p + 2, '/') in src/port/pgmkdirp.c. The commit message adds the compiler-specific rationale and explains why fuzzystrmatch was excluded.

  • Corey Huinkersaw the final versiontrailerCorey supported the change and searched for similar lookups in #2; the reviewed patch landed unchanged.
  • David Rowleysaw the final versiontrailerDavid examined compiler optimization behavior in #4, settled on the original scope in #6, and committed the patch as confirmed in #8.

Credits across 1 commit

Author
Dmitry Mityugov1
Reviewer
Corey Huinker1
David Rowley1
Committer
David Rowley1