Changes between Version 13 and Version 14 of Ticket #38582, comment 6
- Timestamp:
- Aug 6, 2013, 10:23:22 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38582, comment 6
v13 v14 13 13 || `AC_CHECK_FUNCS([setenv])` || `src/pextlib1.0/Pextlib.c:409` || `setenv("MACPORTS_DUMMY", "", 0);` || Inside an `#ifndef __APPLE__` for Linux environments. || `/* Crashes on Linux without this. */` Seeing as this test is for Linux anyways, and Linux is easier to break than OS X is, and it is already inside an `#ifndef`, the condition could easily be modified to check for `HAVE_SETENV` as well. || 14 14 || `AC_CHECK_FUNCS([socket])` || `src/darwintracelib1.0/darwintrace.c:589` || `if (-1 == (sock = socket(PF_LOCAL, SOCK_STREAM, 0))) {` || inside the part where `darwintrace` sets itself up || I actually do not really get what is going on here, but it would probably just be good to check for the `socket` function anyways. || 15 || `AC_CHECK_FUNCS([strchr])` || `src/machista1.0/machista_wrap.c:1381` || 15 || `AC_CHECK_FUNCS([strchr])` || `src/machista1.0/machista_wrap.c:1381` || `char* where = strchr(cr,':');` || I actually have no clue what is going on here; there are very few comments in this area of the code... || Even though I do not really get what this is used for here, it would still probably be a good idea to check for this function anyways. || 16 16 || `AC_CHECK_FUNCS([strdup])` || `src/cregistry/entry.c:384` || 17 17 || `AC_CHECK_FUNCS([strerror])` || `src/macports1.0/sysctl.c:72` ||