Skip to content

Commit

Permalink
- darwinup: fix C++ 98 conformance issue
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macosforge.org/repository/darwinbuild/trunk@1068 10a61168-4876-4dac-953b-31e694342555
  • Loading branch information
kvanvechten committed Oct 16, 2013
1 parent e6f8ade commit 93afd91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Darwin Build Scripts Change History
-----------------------------------
Release 37 [16-Oct-2013]
- darwinup: fix C++ 98 conformance issue

Release 36 [2-May-2013]
- darwinup: fix bad return code from update_xpc_services_cache.
- darwinup: don't run bzip2 compression on (limited cpu) embedded devices.
Expand Down
4 changes: 2 additions & 2 deletions darwinup/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ int is_url_path(const char* path) {

int is_userhost_path(const char* path) {
// look for user@host:path
char *at = strchr(path, '@');
char *colon = strchr(path, ':');
const char *at = strchr(path, '@');
const char *colon = strchr(path, ':');
return at && colon && at < colon;
}

Expand Down

0 comments on commit 93afd91

Please sign in to comment.