[PR #3506] [MERGED] Don't ever try to pass "" as a starting directory, no way #25402

Open
opened 2026-01-31 09:09:17 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/3506
Author: @DHowett-MSFT
Created: 11/9/2019
Status: Merged
Merged: 11/11/2019
Merged by: @undefined

Base: masterHead: dev/duhowett/\0


📝 Commits (1)

  • e9b91f0 Don't ever try to pass "" as a starting directory, no way

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalConnection/ConptyConnection.cpp (+3 -1)

📄 Description

Summary of the Pull Request

I misunderstood the docs for HSTRING and thought the empty string was represented as nullptr. It isn't.

PR Checklist

Validation

Self-tested.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/3506 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 11/9/2019 **Status:** ✅ Merged **Merged:** 11/11/2019 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `dev/duhowett/\0` --- ### 📝 Commits (1) - [`e9b91f0`](https://github.com/microsoft/terminal/commit/e9b91f0f397310422c822e6e5ea5ef9c3bc66c65) Don't ever try to pass "" as a starting directory, no way ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalConnection/ConptyConnection.cpp` (+3 -1) </details> ### 📄 Description ## Summary of the Pull Request I misunderstood the docs for HSTRING and thought the empty string was represented as `nullptr`. It isn't. ## PR Checklist * [x] Closes #3504 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Requires documentation to be updated * [x] Core ## Validation Self-tested. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:09:17 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25402