SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,23 @@
Remove gnuisms. The Find Hidden checkbox does nothing now.
Index: src/SearchWindow.cpp
--- src/SearchWindow.cpp.orig
+++ src/SearchWindow.cpp
@@ -650,7 +650,7 @@ long SearchWindow::onCmdStart(FXObject*, FXSelector, v
}
else
{
- searchcommand = "find -P " + ::quote(wheredir->getText());
+ searchcommand = "find " + ::quote(wheredir->getText());
}
// Ignore case
@@ -756,7 +756,7 @@ long SearchWindow::onCmdStart(FXObject*, FXSelector, v
// Hidden files
if (!findhidden->getCheck())
{
- searchcommand += " \\( ! -regex '.*/\\..*' \\)";
+ searchcommand += " ! -path .";
}
// Without grep command