[newlib-cygwin] Cygwin: testsuite: Remove const from writable string in fcntl07b

Jon Turney jturney@sourceware.org
Sun Jul 9 16:01:24 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4f0676a6981e84272ef22be889d9cbf66fdbef89

commit 4f0676a6981e84272ef22be889d9cbf66fdbef89
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sat Jul 8 15:28:47 2023 +0100

    Cygwin: testsuite: Remove const from writable string in fcntl07b

Diff:
---
 winsup/testsuite/winsup.api/ltp/fcntl07B.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/testsuite/winsup.api/ltp/fcntl07B.c b/winsup/testsuite/winsup.api/ltp/fcntl07B.c
index 4e94ff267..db866fddd 100644
--- a/winsup/testsuite/winsup.api/ltp/fcntl07B.c
+++ b/winsup/testsuite/winsup.api/ltp/fcntl07B.c
@@ -170,7 +170,7 @@ const char *File1 = DEFAULT_FILE;
 
 #define DEFAULT_SUBPROG "test_open"
 const char *openck = DEFAULT_SUBPROG;	/* support program name to check for open FD */
-const char subprog_path[_POSIX_PATH_MAX];/* path to exec "openck" with */
+char subprog_path[_POSIX_PATH_MAX];/* path to exec "openck" with */
 #define STRSIZE 255
 #define FIFONAME "FiFo"


More information about the Cygwin-cvs mailing list