Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Distinguish between old and new Mac OSes.

  • Loading branch information...
commit 3dc7303ea04a70ecdccf6f84fb8b6c983a6822a4 1 parent 11d0666
@thedarkone authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/tree.c
View
6 src/tree.c
@@ -916,8 +916,10 @@ void Pnextname(char **name, char **nameend, char *whole, void *arg) {
}
/* Now non-Windows operating systems */
- else if ((c = strstr(whole, "Mac")) != NULL)
- *name = "Macintosh";
+ else if (strstr(whole, "Mac OS X") != NULL)
+ *name = "Mac OS:Mac OS X";
+ else if (strstr(whole, "Mac") != NULL)
+ *name = "Mac OS:Unknown Mac OS";
else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL)
*name = "Unix:Linux";
else if (strstr(whole, "BSD") != NULL)
Please sign in to comment.
Something went wrong with that request. Please try again.