Subversion Repositories HelenOS

Rev

Rev 3265 | Rev 3304 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3265 Rev 3275
1
/* Various things that are used in many files
1
/* Various things that are used in many files
2
 * Various temporary port work-arounds are addressed in __HELENOS__ , this
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
3
 * serves as a convenience and later as a guide to make "phony.h" for future
4
 * ports */
4
 * ports */
5
 
5
 
6
/* Specific port work-arounds : */
6
/* Specific port work-arounds : */
7
#ifdef HELENOS
7
#ifdef HELENOS
8
#define PATH_MAX 255
8
#define PATH_MAX 255
9
#define EXIT_SUCCESS 0
9
#define EXIT_SUCCESS 0
10
#define EXIT_FAILURE 0
10
#define EXIT_FAILURE 0
11
#endif
11
#endif
12
 
12
 
13
/* Work around for getenv() */
13
/* Work around for getenv() */
14
#define PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
14
#define PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
15
#define PATH_DELIM ":"
15
#define PATH_DELIM ":"
16
 
16
 
17
/* Used in many places */
17
/* Used in many places */
18
#define SMALL_BUFLEN 256
18
#define SMALL_BUFLEN 256
19
#define LARGE_BUFLEN 1024
19
#define LARGE_BUFLEN 1024
20
 
20
 
21
/* How many words (arguments) are permitted, how big can a whole
21
/* How many words (arguments) are permitted, how big can a whole
22
 * sentence be? Similar to ARG_MAX */
22
 * sentence be? Similar to ARG_MAX */
23
#define WORD_MAX 255
23
#define WORD_MAX 255
24
#define INPUT_MAX 1024
24
#define INPUT_MAX 1024
25
 
25
 
26
/* Leftovers from Autoconf */
26
/* Leftovers from Autoconf */
27
#define PACKAGE_MAINTAINER "Tim Post"
27
#define PACKAGE_MAINTAINER "Tim Post"
28
#define PACKAGE_BUGREPORT "tinkertim@gmail.com"
28
#define PACKAGE_BUGREPORT "echo@echoreply.us"
29
#define PACKAGE_NAME "scli"
29
#define PACKAGE_NAME "bdsh"
30
#define PACKAGE_STRING "scli 0.0.1"
30
#define PACKAGE_STRING "The brain dead shell"
31
#define PACKAGE_TARNAME "scli"
31
#define PACKAGE_TARNAME "scli"
32
#define PACKAGE_VERSION "0.0.1"
32
#define PACKAGE_VERSION "0.0.1"
33
 
33
 
34
 
34
 
35
 
35
 
36
 
36