Hi,
I hope you can help me to clarify this problem
http://rafb.net/paste/results/dgszQh47.html
I m trying to sort a trsing table in this way :
for a given strings
"toto"
''toto a"
''toto b"
the result should be
"toto" ''toto a" ''toto b"
In my implementation the result is
''toto a" ''toto b" "toto"
I really dont understand where i'm wrong (i'm using an old implementation of
standard libraries strncasecmp ... defined)
Anyone have an idea ?
BR.
--
struct
{
char m_file_path[MAX_PATH_LENGTH];
unsigned short m_name_index;
}s_entry_info;
m_file_path : represent the full path for an entry point (may be directory
or file)
m_name_index : The index from where the filename starts, i.e
m_file_path="/K/toto/titi.txt" m_name_index=7.