[SCM] Samba Shared Repository - branch master updated - 31f157a04b2f26537c9da4aa39bdcdde7b41e64b

Volker Lendecke vlendec at samba.org
Sun Dec 14 12:13:57 GMT 2008


The branch, master has been updated
       via  31f157a04b2f26537c9da4aa39bdcdde7b41e64b (commit)
      from  5887857a247622cff80d2fff9ef2d45cd7516dfb (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 31f157a04b2f26537c9da4aa39bdcdde7b41e64b
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Dec 14 13:11:41 2008 +0100

    Move 128 bytes from the data to the text segment

-----------------------------------------------------------------------

Summary of changes:
 source3/include/smb_macros.h |    2 +-
 source3/lib/util_str.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index 119ceeb..5149da0 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -333,7 +333,7 @@ do { \
 /* Warning - this must only be called with 0 <= c < 128. IT WILL
  * GIVE GARBAGE if c > 128 or c < 0. JRA.
  */
-extern char toupper_ascii_fast_table[];
+extern const char toupper_ascii_fast_table[];
 #define toupper_ascii_fast(c) toupper_ascii_fast_table[(unsigned int)(c)];
 #endif
 
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index fde4f82..9358061 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -24,7 +24,7 @@
 
 #include "includes.h"
 
-char toupper_ascii_fast_table[128] = {
+const char toupper_ascii_fast_table[128] = {
 	0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf,
 	0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
 	0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list