Skip to content
  • Tor Lillqvist's avatar
    Some improvements, being upstreamed. (must_use_null_useddefaultchar): New · 37f2dc35
    Tor Lillqvist authored
    2007-11-27  Tor Lillqvist  <tml@novell.com>
    
    	* glib/win_iconv.c: Some improvements, being upstreamed.
    	(must_use_null_useddefaultchar): New function, checks for those
    	codepages for which one must pass a NULL lpUsedDefaultChar pointer
    	to WideCharToMultiByte().
    	(kernel_wctomb): Use it.
    	(kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
    
    
    svn path=/trunk/; revision=5945
    37f2dc35