aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-05-05 22:00:15 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-05-11 18:56:27 +0200
commitd18879ad42a8aab964a685838e5749565ad5fb68 (patch)
tree7a8fc41bb4428fb167890336dbf4a5437eab59c5
parent21d40aa17133cdc2fc680078a996332170ff48c1 (diff)
downloadnx-libs-d18879ad42a8aab964a685838e5749565ad5fb68.tar.gz
nx-libs-d18879ad42a8aab964a685838e5749565ad5fb68.tar.bz2
nx-libs-d18879ad42a8aab964a685838e5749565ad5fb68.zip
os/utils.c: unifdef USE_CHMOD
-rw-r--r--nx-X11/programs/Xserver/os/utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/os/utils.c b/nx-X11/programs/Xserver/os/utils.c
index eff9b1e3c..e891758da 100644
--- a/nx-X11/programs/Xserver/os/utils.c
+++ b/nx-X11/programs/Xserver/os/utils.c
@@ -381,11 +381,7 @@ LockServer(void)
if (write(lfd, pid_str, 11) != 11)
FatalError("Could not write pid to lock file in %s\n", tmp);
-#ifndef USE_CHMOD
- (void) fchmod(lfd, 0444);
-#else
(void) chmod(tmp, 0444);
-#endif
(void) close(lfd);
/*