Error code 0x89a9 updated error message to be:

"Invalid Path With Junction Present"

Fix get extended volume info to register correct name with NDS EID value. (added data type of 20 to extract string value)

Fix expert data for file handles to report file handle in expert data. (Added data type of 22 to extract bytes value)

svn path=/trunk/; revision=24505
This commit is contained in:
Greg Morris 2008-02-29 15:36:51 +00:00
parent 7deec480ff
commit 438c96dabb
2 changed files with 5 additions and 3 deletions

View File

@ -5441,7 +5441,7 @@ def define_errors():
errors[0xa802] = "No Access Rights"
errors[0xa900] = "Error Link in Path"
errors[0xa901] = "Invalid Data Type Flag (outdated return value - replaced in NSS as 0x89aa error)"
errors[0xa901] = "Invalid Path With Junction Present"
errors[0xaa00] = "Invalid Data Type Flag"

View File

@ -2763,7 +2763,8 @@ build_expert_data(proto_tree *ncp_tree, char *hf_name, char *buffer, int repeat_
break;
case 17:
case 18:
case 19: /* string */
case 19:
case 20: /* string */
uni_to_string(get_finfo_value_string(tree_pointer->finfo), get_finfo_length(tree_pointer->finfo), buffer);
if (repeat_lookup > 0) {
if (strlen(temp_buffer) + strlen(buffer) < 250) {
@ -2788,7 +2789,8 @@ build_expert_data(proto_tree *ncp_tree, char *hf_name, char *buffer, int repeat_
{
break;
}
case 21: /* Bytes */
case 21:
case 22: /* Bytes */
g_snprintf(buffer, (get_finfo_length(tree_pointer->finfo))*4, "%s", bytes_to_str(get_finfo_value_string(tree_pointer->finfo), get_finfo_length(tree_pointer->finfo)));
break;
default: /* Dont currently handle. Only need string, integers, and bytes */