mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #372] [CLOSED] Fix issue with erasing UppOut from TheIDE #353
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#353
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/372
Author: @klugier
Created: 2/21/2026
Status: ❌ Closed
Base:
master← Head:klugier/fix-clean-uppout📝 Commits (1)
b9ea857Fix issue with erasing UppOut from TheIDE📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
uppsrc/ide/Build.cpp(+6 -1)📄 Description
The current implementation of Ide::CleanUppOut is broken. It removes the application's direct build directory, which requires the target to have been built at least once. Otherwise the clean operation fails. It also doesn’t remove the actual upp.out user data we want to clean (for example, ~/.config/upp.out). So, the current implementation just performs a partial cleaning.
I added an extra check to prevent accidentally passing an empty directory path, which could cause serious harm to the user. Although the new implementation makes that scenario very unlikely since we are not relay on target variable that is set during the build process.
Original issue https://www.ultimatepp.org/forums/index.php?t=msg&goto=61921&#msg_61921
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.