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,11 @@
--- src/tpad_save.c.orig Fri May 2 11:13:22 2014
+++ src/tpad_save.c Fri May 2 11:13:55 2014
@@ -91,7 +91,7 @@ void save_as(){
if (getcRpath() != NULL) gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(dialog),getcRpath());
else {
- struct passwd *pw = getpwuid(syscall(__NR_getuid));
+ struct passwd *pw = getpwuid(getuid());
gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(dialog),(gchar *)pw->pw_dir);
}
}