Code Page Problem with samba 1.9.18p4?

Jeremy Allison jallison at whistle.com
Wed Apr 15 16:58:11 GMT 1998


Juergen,

	This is a known bug in 1.9.18p4 (and it was
my fault, sorry). Here is the patch that is now
in the master sources and will be in the next patch
release.

Sorry for the problem,

	Jeremy Allison,
	Samba Team.

-------------------cut here-----------------------
*** /home/jallison/tmp/samba-1.9.18p4/source/kanji.c    Fri Mar 27
15:59:12 1998
--- kanji.c     Thu Apr  2 16:56:53 1998
***************
*** 1108,1114 ****
      } else if (strequal (str, "hex")) {
        codes = HEX_CODE;
        hex_tag = HEXTAG;
!     } else if (strncasecmp (str, "hex", 3)) {
        codes = HEX_CODE;
        hex_tag = (str[3] ? str[3] : HEXTAG);
      } else if (strequal (str, "j8bb")) {
--- 1108,1114 ----
      } else if (strequal (str, "hex")) {
        codes = HEX_CODE;
        hex_tag = HEXTAG;
!     } else if (!strncasecmp (str, "hex", 3)) {
        codes = HEX_CODE;
        hex_tag = (str[3] ? str[3] : HEXTAG);
      } else if (strequal (str, "j8bb")) {
*** /home/jallison/tmp/samba-1.9.18p4/source/loadparm.c Fri Mar 27
15:59:13 1998
--- loadparm.c  Mon Apr  6 12:00:41 1998
***************
*** 62,68 ****
   * and 'coding system'.
   */
  #ifndef KANJI
! #define KANJI "sjis"
  #endif /* KANJI */
  
  BOOL bLoaded = False;
--- 62,68 ----
   * and 'coding system'.
   */
  #ifndef KANJI
! #define KANJI "sbcs"
  #endif /* KANJI */
  
  BOOL bLoaded = False;
-------------------end patch----------------------
-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba mailing list