public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/topic/posix_acl_funcs] __acltotext: Always append NUL
@ 2016-01-24 10:31 Corinna Vinschen
  0 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2016-01-24 10:31 UTC (permalink / raw)
  To: cygwin-cvs

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

commit 01fbda0e0b75a9af45d6e6d018077b866e101000
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jan 6 21:05:56 2016 +0100

    __acltotext: Always append NUL
    
    	* sec_acl.cc (__acltotext): Append NUL unconditionally.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/sec_acl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index 73c0425..6e5ccb2 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -1687,8 +1687,8 @@ __acltotext (aclent_t *aclbufp, int aclcnt, const char *prefix, char separator,
     {
       _CHK (1);
       *bufp++ = separator;
-      *bufp++ = '\0';
     }
+  *bufp = '\0';
   return strdup (buf);
 }


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [newlib-cygwin/topic/posix_acl_funcs] __acltotext: Always append NUL
@ 2016-02-08 14:54 Corinna Vinschen
  0 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2016-02-08 14:54 UTC (permalink / raw)
  To: cygwin-cvs

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

commit 32bdf98350887a90f9ee416f788589945c56678a
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jan 6 21:05:56 2016 +0100

    __acltotext: Always append NUL
    
    	* sec_acl.cc (__acltotext): Append NUL unconditionally.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/sec_acl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index bbdf238..8698d21 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -1699,8 +1699,8 @@ __acltotext (aclent_t *aclbufp, int aclcnt, const char *prefix, char separator,
     {
       _CHK (1);
       *bufp++ = separator;
-      *bufp++ = '\0';
     }
+  *bufp = '\0';
   return strdup (buf);
 }


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [newlib-cygwin/topic/posix_acl_funcs] __acltotext: Always append NUL
@ 2016-01-28 21:08 Corinna Vinschen
  0 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2016-01-28 21:08 UTC (permalink / raw)
  To: cygwin-cvs

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

commit 876ce93e1b95ef600ce1627d29f391b3b90dd8c2
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jan 6 21:05:56 2016 +0100

    __acltotext: Always append NUL
    
    	* sec_acl.cc (__acltotext): Append NUL unconditionally.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/sec_acl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index bbdf238..8698d21 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -1699,8 +1699,8 @@ __acltotext (aclent_t *aclbufp, int aclcnt, const char *prefix, char separator,
     {
       _CHK (1);
       *bufp++ = separator;
-      *bufp++ = '\0';
     }
+  *bufp = '\0';
   return strdup (buf);
 }


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [newlib-cygwin/topic/posix_acl_funcs] __acltotext: Always append NUL
@ 2016-01-27 14:56 Corinna Vinschen
  0 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2016-01-27 14:56 UTC (permalink / raw)
  To: cygwin-cvs

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

commit 73acbc8ae561271e16247cddcbbad7de058ae183
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jan 6 21:05:56 2016 +0100

    __acltotext: Always append NUL
    
    	* sec_acl.cc (__acltotext): Append NUL unconditionally.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/sec_acl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index 73c0425..6e5ccb2 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -1687,8 +1687,8 @@ __acltotext (aclent_t *aclbufp, int aclcnt, const char *prefix, char separator,
     {
       _CHK (1);
       *bufp++ = separator;
-      *bufp++ = '\0';
     }
+  *bufp = '\0';
   return strdup (buf);
 }


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [newlib-cygwin/topic/posix_acl_funcs] __acltotext: Always append NUL
@ 2016-01-16 13:34 Corinna Vinschen
  0 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2016-01-16 13:34 UTC (permalink / raw)
  To: cygwin-cvs

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

commit 1eabae473a099dddba4beb42b14b4956336a6dea
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jan 6 21:05:56 2016 +0100

    __acltotext: Always append NUL
    
    	* sec_acl.cc (__acltotext): Append NUL unconditionally.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/sec_acl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index 73c0425..6e5ccb2 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -1687,8 +1687,8 @@ __acltotext (aclent_t *aclbufp, int aclcnt, const char *prefix, char separator,
     {
       _CHK (1);
       *bufp++ = separator;
-      *bufp++ = '\0';
     }
+  *bufp = '\0';
   return strdup (buf);
 }


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [newlib-cygwin/topic/posix_acl_funcs] __acltotext: Always append NUL
@ 2016-01-14 15:17 Corinna Vinschen
  0 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2016-01-14 15:17 UTC (permalink / raw)
  To: cygwin-cvs

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

commit 88726403f89a1b1723aaa191e0563abf4f82ffb6
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jan 6 21:05:56 2016 +0100

    __acltotext: Always append NUL
    
    	* sec_acl.cc (__acltotext): Append NUL unconditionally.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/sec_acl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc
index 2f53055..00b7c27 100644
--- a/winsup/cygwin/sec_acl.cc
+++ b/winsup/cygwin/sec_acl.cc
@@ -1687,8 +1687,8 @@ __acltotext (aclent_t *aclbufp, int aclcnt, const char *prefix, char separator,
     {
       _CHK (1);
       *bufp++ = separator;
-      *bufp++ = '\0';
     }
+  *bufp = '\0';
   return strdup (buf);
 }


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-08 14:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-24 10:31 [newlib-cygwin/topic/posix_acl_funcs] __acltotext: Always append NUL Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2016-02-08 14:54 Corinna Vinschen
2016-01-28 21:08 Corinna Vinschen
2016-01-27 14:56 Corinna Vinschen
2016-01-16 13:34 Corinna Vinschen
2016-01-14 15:17 Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).