Malahal has uploaded this change for review.

View Change

Make parser tokens case sensitive

Currently parser tokens are case insensitive because of strcasecmp while
looking for a token. If you export two directories with path "/path" and
"/PATH", the parser would return the former token from its list while
scanning the latter instead of creating a new one.

Replaced strcasecmp by strcmp in save_token().

Change-Id: I5d7c473d1bcf8ac1f7f35079e4045870fcde471f
Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
---
M src/config_parsing/analyse.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/12/488612/1

To view, visit change 488612. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I5d7c473d1bcf8ac1f7f35079e4045870fcde471f
Gerrit-Change-Number: 488612
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <malahal@gmail.com>
Gerrit-MessageType: newchange