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