X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fnmh.h;h=896786f54cbf0d8ed82e04340e8b3bc07837259c;hb=4cdff8cfe893e7039b4ef8272ed66a8a05bc8e04;hp=f10ec1ebe09fe88c7970d0cf2c46a362a326781a;hpb=a485ed478abbd599d8c9aab48934e7a26733ecb1;p=mmh diff --git a/h/nmh.h b/h/nmh.h index f10ec1e..896786f 100644 --- a/h/nmh.h +++ b/h/nmh.h @@ -1,6 +1,6 @@ /* - * nmh.h -- system configuration header file - */ +** nmh.h -- system configuration header file +*/ #include @@ -60,8 +60,8 @@ #endif /* - * symbolic constants for lseek and fseek - */ +** symbolic constants for lseek and fseek +*/ #ifndef SEEK_SET # define SEEK_SET 0 #endif @@ -73,8 +73,8 @@ #endif /* - * we should be getting this value from pathconf(_PC_PATH_MAX) - */ +** we should be getting this value from pathconf(_PC_PATH_MAX) +*/ #ifndef PATH_MAX # ifdef MAXPATHLEN # define PATH_MAX MAXPATHLEN @@ -85,19 +85,8 @@ #endif /* - * we should get this value from sysconf(_SC_NGROUPS_MAX) - */ -#ifndef NGROUPS_MAX -# ifdef NGROUPS -# define NGROUPS_MAX NGROUPS -# else -# define NGROUPS_MAX 16 -# endif -#endif - -/* - * we should be getting this value from sysconf(_SC_OPEN_MAX) - */ +** we should be getting this value from sysconf(_SC_OPEN_MAX) +*/ #ifndef OPEN_MAX # ifdef NOFILE # define OPEN_MAX NOFILE @@ -109,21 +98,10 @@ #include -#define bcmp(b1,b2,length) memcmp(b1, b2, length) -#define bcopy(b1,b2,length) memcpy (b2, b1, length) -#define bcpy(b1,b2,length) memcmp (b1, b2, length) -#define bzero(b,length) memset (b, 0, length) - -#ifdef HAVE_KILLPG -# define KILLPG(pgrp,sig) killpg(pgrp,sig); -#else -# define KILLPG(pgrp,sig) kill((-pgrp),sig); -#endif - /* - * If your stat macros are broken, - * we will just undefine them. - */ +** If your stat macros are broken, +** we will just undefine them. +*/ #ifdef STAT_MACROS_BROKEN # ifdef S_ISBLK # undef S_ISBLK