Skip to content

Instantly share code, notes, and snippets.

@simonwhitaker
Created December 18, 2011 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonwhitaker/1493422 to your computer and use it in GitHub Desktop.
Save simonwhitaker/1493422 to your computer and use it in GitHub Desktop.
Diffs between TBXML as downloaded from tbxml.co.uk and the initial commit on https://github.com/steipete/TBXML/
$ diff -r TBXML-orig/ TBXML-github-fc2db6c/
Only in TBXML-github-fc2db6c/: .git
diff -r TBXML-orig/TBXML.m TBXML-github-fc2db6c/TBXML.m
258c258
< while (elementStart = strstr(elementStart,"<")) {
---
> while ((elementStart = strstr(elementStart,"<"))) {
311c311
< while (elementEnd = strpbrk(elementEnd, "<>")) {
---
> while ((elementEnd = strpbrk(elementEnd, "<>"))) {
458c458
< while (CDATAStart = strstr(value, "<![CDATA[")) {
---
> while ((CDATAStart = strstr(value, "<![CDATA["))) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment