Subversion Repositories HelenOS

Rev

Rev 3417 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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