summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/filePermissions.cpp2
-rw-r--r--core/apps/textedit/textedit.cpp2
-rw-r--r--noncore/unsupported/filebrowser/filePermissions.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/apps/textedit/filePermissions.cpp b/core/apps/textedit/filePermissions.cpp
index 1938b84..5af3971 100644
--- a/core/apps/textedit/filePermissions.cpp
+++ b/core/apps/textedit/filePermissions.cpp
@@ -152,3 +152,3 @@ filePermissions::filePermissions( QWidget* parent, const char* name, bool modal
- lstat(file.latin1(), &buf);
+ stat(file.latin1(), &buf);
mode = buf.st_mode;
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index 515fcdc..603f032 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -707,3 +707,3 @@ bool TextEdit::save()
mode_t mode;
- lstat(file.latin1(), &buf);
+ stat(file.latin1(), &buf);
mode = buf.st_mode;
diff --git a/noncore/unsupported/filebrowser/filePermissions.cpp b/noncore/unsupported/filebrowser/filePermissions.cpp
index 1938b84..5af3971 100644
--- a/noncore/unsupported/filebrowser/filePermissions.cpp
+++ b/noncore/unsupported/filebrowser/filePermissions.cpp
@@ -152,3 +152,3 @@ filePermissions::filePermissions( QWidget* parent, const char* name, bool modal
- lstat(file.latin1(), &buf);
+ stat(file.latin1(), &buf);
mode = buf.st_mode;