| Index: Source/wtf/StringExtras.h
|
| diff --git a/Source/wtf/StringExtras.h b/Source/wtf/StringExtras.h
|
| index 766080bd6903e73c8932860f48bb969cf3f4a384..4166f0f146564af1c2d0b9b13b27d8b0c39d1020 100644
|
| --- a/Source/wtf/StringExtras.h
|
| +++ b/Source/wtf/StringExtras.h
|
| @@ -20,7 +20,7 @@
|
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| #ifndef WTF_StringExtras_h
|
| @@ -30,14 +30,14 @@
|
| #include <stdio.h>
|
| #include <string.h>
|
|
|
| -#if HAVE(STRINGS_H)
|
| -#include <strings.h>
|
| -#endif
|
| +#if HAVE(STRINGS_H)
|
| +#include <strings.h>
|
| +#endif
|
|
|
| #if COMPILER(MSVC)
|
| // FIXME: why a COMPILER check instead of OS? also, these should be HAVE checks
|
|
|
| -inline int snprintf(char* buffer, size_t count, const char* format, ...)
|
| +inline int snprintf(char* buffer, size_t count, const char* format, ...)
|
| {
|
| int result;
|
| va_list args;
|
| @@ -65,7 +65,7 @@ inline double wtf_vsnprintf(char* buffer, size_t count, const char* format, va_l
|
| return result;
|
| }
|
|
|
| -// Work around a difference in Microsoft's implementation of vsnprintf, where
|
| +// Work around a difference in Microsoft's implementation of vsnprintf, where
|
| // vsnprintf does not null terminate the buffer. WebKit can rely on the null termination.
|
| #define vsnprintf(buffer, count, format, args) wtf_vsnprintf(buffer, count, format, args)
|
|
|
|
|