[dev] [st] Two small patches for string handling.

From: Alexander Sedov <alex0player_AT_gmail.com>
Date: Wed, 27 Feb 2013 00:05:00 +0400

1. Replaced strtok_r with strsep in strparse, because strsep can handle
zero-width fields (manpage says so) and because resulting code is clearer.
2. Fixed potential problem with calling strtol on non-null-terminated
buffer.

Received on Tue Feb 26 2013 - 21:05:00 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 26 2013 - 21:12:04 CET