Rev 3410 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3410 | Rev 3417 | ||
---|---|---|---|
1 | /* Various things that are used in many files |
1 | /* Various things that are used in many files |
2 | * Various temporary port work-arounds are addressed in __HELENOS__ , this |
2 | * Various temporary port work-arounds are addressed in __HELENOS__ , this |
3 | * serves as a convenience and later as a guide to make "phony.h" for future |
3 | * serves as a convenience and later as a guide to make "phony.h" for future |
4 | * ports */ |
4 | * ports */ |
5 | 5 | ||
6 | /* Specific port work-arounds : */ |
6 | /* Specific port work-arounds : */ |
- | 7 | #ifndef PATH_MAX |
|
7 | #define PATH_MAX 255 |
8 | #define PATH_MAX 255 |
- | 9 | #endif |
|
- | 10 | ||
- | 11 | #ifndef EXIT_SUCCESS |
|
8 | #define EXIT_SUCCESS 0 |
12 | #define EXIT_SUCCESS 0 |
9 | #define EXIT_FAILURE 0 |
13 | #define EXIT_FAILURE 1 |
- | 14 | #endif |
|
10 | 15 | ||
11 | /* Work around for getenv() */ |
16 | /* Work around for getenv() */ |
12 | #define PATH "/srv:/app" |
17 | #define PATH "/srv:/app" |
13 | #define PATH_DELIM ":" |
18 | #define PATH_DELIM ":" |
14 | 19 | ||
15 | /* Used in many places */ |
20 | /* Used in many places */ |
16 | #define SMALL_BUFLEN 256 |
21 | #define SMALL_BUFLEN 256 |
17 | #define LARGE_BUFLEN 1024 |
22 | #define LARGE_BUFLEN 1024 |
18 | 23 | ||
19 | /* How many words (arguments) are permitted, how big can a whole |
24 | /* How many words (arguments) are permitted, how big can a whole |
20 | * sentence be? Similar to ARG_MAX */ |
25 | * sentence be? Similar to ARG_MAX */ |
21 | #define WORD_MAX 255 |
26 | #define WORD_MAX 255 |
22 | #define INPUT_MAX 1024 |
27 | #define INPUT_MAX 1024 |
23 | 28 | ||
24 | /* Leftovers from Autoconf */ |
29 | /* Leftovers from Autoconf */ |
25 | #define PACKAGE_MAINTAINER "Tim Post" |
30 | #define PACKAGE_MAINTAINER "Tim Post" |
26 | #define PACKAGE_BUGREPORT "echo@echoreply.us" |
31 | #define PACKAGE_BUGREPORT "echo@echoreply.us" |
27 | #define PACKAGE_NAME "bdsh" |
32 | #define PACKAGE_NAME "bdsh" |
28 | #define PACKAGE_STRING "The brain dead shell" |
33 | #define PACKAGE_STRING "The brain dead shell" |
29 | #define PACKAGE_TARNAME "scli" |
34 | #define PACKAGE_TARNAME "bdsh" |
30 | #define PACKAGE_VERSION "0.0.1" |
35 | #define PACKAGE_VERSION "0.0.1" |
31 | 36 | ||
32 | 37 | ||
33 | 38 | ||
34 | 39 |