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

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

Same things, with style error fixed.


2013/2/27 Alexander Sedov <alex0player_AT_gmail.com>

> 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:29:20 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 26 2013 - 21:36:05 CET