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

commit 04326f999b476d07b9c14f2a0ef2e4e9ac5b7e4c
Author: Jon Turney <[email protected]>
Date:   Sat Jul 8 15:28:47 2023 +0100

    Cygwin: testsuite: Remove const from writable string in fcntl07b
    
    Signed-off-by: Jon Turney <[email protected]>

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"

Reply via email to