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