#include "jam.h" #include "lists.h" #include "newstr.h" #ifdef NT #include <direct.h> #define getcwd _getcwd #define PATH_MAX _MAX_PATH #else #include <unistd.h> #include <limits.h> #endif LIST* pwd(void) { char buffer[PATH_MAX]; if (getcwd(buffer, sizeof(buffer)) == NULL) { perror("can not get current directory"); return L0; } else { return list_new(L0, buffer, 0); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 2817 | Matt Armstrong | Update with current known working version. | ||
#1 | 1271 | Matt Armstrong |
This is "my" custom version of Jam. See the LOCAL_DIFFERENCES.txt file for a description of differences from the upstream jam. |