Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(106)

Issue 286003: correct fix for strtok_r

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by albertzeyer
Modified:
12 years, 3 months ago
Reviewers:
Ted Mielczarek
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/processor/basic_source_line_resolver.cc View 1 chunk +81 lines, -1 line 0 comments Download

Messages

Total messages: 3
albertzeyer
strtok_r was bad before. This change made the processor working for me under Windows.
13 years ago #1
albertzeyer
strtok_r was bad before. This change made the processor working for me under Windows.
13 years ago #2
Ted Mielczarek
12 years, 3 months ago #3
Is this on top of another patch? My local copy of basic_source_line_resolver.cc
doesn't have that #define.

Also, I think it'd be better to use strtok_s here instead of inlining a
definition of strtok_r:
http://msdn.microsoft.com/en-us/library/ftsafwz3%28v=vs.80%29.aspx
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted