Permalink
Browse files

- darwinup: fix C++ 98 conformance issue

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 93afd91e56af0f42d772c4a53d6aeac57c42d145
Showing with 5 additions and 2 deletions.
  1. +3 −0 CHANGES
  2. +2 −2 darwinup/Utils.cpp
@@ -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.
@@ -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;
}

0 comments on commit 93afd91

Please sign in to comment.