Kitura / Kitura-redis

Swift Redis library
Apache License 2.0
95 stars 26 forks source link

Crash in Linux setting an empty value #14

Closed dsperling closed 8 years ago

dsperling commented 8 years ago

Description

Fix for issue #13

Motivation and Context

This is a workaround for a bug in swift-corelibs-foundation. Currently, NSString.data(encoding:) will return nil on Linux on an empty string.

How Has This Been Tested?

Unit tested on Mac and Linux

Checklist:

shmuelk commented 8 years ago

@dsperling Thank you very much for your fix.