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,15 @@
System.File_IO.Open calls full_name() for Create. Use getcwd() approach
instead of realpath() since the latter fails if the file doesn't exist.
Index: gcc/ada/cstreams.c
--- gcc/ada/cstreams.c.orig
+++ gcc/ada/cstreams.c
@@ -190,7 +190,7 @@ __gnat_full_name (char *nam, char *buffer)
*p = '\\';
}
-#elif defined (__FreeBSD__) || defined (__DragonFly__) || defined (__OpenBSD__)
+#elif defined (__FreeBSD__) || defined (__DragonFly__)
/* Use realpath function which resolves links and references to . and ..
on those Unix systems that support it. Note that GNU/Linux provides it but