changeset 1565:56dbd84ae920

(quotearg_buffer): Use `7' as the mask, not `3'. From Bruno Haible.
author Jim Meyering <jim@meyering.net>
date Fri, 11 Dec 1998 14:14:16 +0000
parents 7c27b6d24ba6
children e207ea22264d
files lib/quotearg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -258,8 +258,8 @@
 		{
 		  STORE ('\\');
 		  STORE ('0' + (c >> 6));
-		  STORE ('0' + ((c >> 3) & 3));
-		  c = '0' + (c & 3);
+		  STORE ('0' + ((c >> 3) & 7));
+		  c = '0' + (c & 7);
 		  goto store_c;
 		}
 	      break;