Rev 3417 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 3434 | post | 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 : */ |
||
| 3417 | post | 5 | #ifndef PATH_MAX |
| 3265 | post | 6 | #define PATH_MAX 255 |
| 3417 | post | 7 | #endif |
| 8 | |||
| 9 | #ifndef EXIT_SUCCESS |
||
| 3265 | post | 10 | #define EXIT_SUCCESS 0 |
| 3417 | post | 11 | #define EXIT_FAILURE 1 |
| 12 | #endif |
||
| 3265 | post | 13 | |
| 14 | /* Work around for getenv() */ |
||
| 3410 | 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" |
||
| 3417 | post | 32 | #define PACKAGE_TARNAME "bdsh" |
| 3265 | post | 33 | #define PACKAGE_VERSION "0.0.1" |
| 34 | |||
| 35 | |||
| 36 |