summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-03-11 00:31:47 +0000
committerJeremy Allison <jra@samba.org>2004-03-11 00:31:47 +0000
commit83560bfcfae6d2de0c29b7ac4e012e4bbe911c8f (patch)
tree48dcb7a7441ec1ade2fdad722b2da0cdd35b66bc /packaging
parent2c2142d9d711a5bc638dd899fba7cda778561850 (diff)
downloadsamba-83560bfcfae6d2de0c29b7ac4e012e4bbe911c8f.tar.gz
samba-83560bfcfae6d2de0c29b7ac4e012e4bbe911c8f.tar.bz2
samba-83560bfcfae6d2de0c29b7ac4e012e4bbe911c8f.zip
Fix processing of pathnames with embedded '\\' characters (0x5c) in CP932
character set. Because of the allowing of "broken conversions" for people who have broken iconv libraries we can't rely on the return from convert_string() to be valid - we must check errno instead. This is ripe for revisiting at some stage. I prefer adding a bool parameter to all convert_string_XX varients to specify if we will allow broken conversions or not. With "allow_broken_conversions" set to false we could then rely on the return from convert_string rather than checking errno. Jeremy. (This used to be commit 74722f28659ac369676e898fda48d3d9ab265045)
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions