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