mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
main.c: tweak fixargs() macros: single point of truth
This commit is contained in:
parent
4dcf5c5066
commit
5f6371f078
1 changed files with 3 additions and 2 deletions
|
@ -56,6 +56,7 @@ static void chkmail(Shell_t *shp, char*);
|
||||||
static void fixargs(char**,int);
|
static void fixargs(char**,int);
|
||||||
#else
|
#else
|
||||||
# define fixargs(a,b)
|
# define fixargs(a,b)
|
||||||
|
# define fixargs_disabled 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef environ
|
#ifndef environ
|
||||||
|
@ -697,7 +698,7 @@ static void chkmail(Shell_t *shp, char *files)
|
||||||
# define PSTAT 1
|
# define PSTAT 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_lib_fork) && !defined(_NEXT_SOURCE) && !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__sun)
|
#if !defined(fixargs_disabled)
|
||||||
/*
|
/*
|
||||||
* fix up command line for ps command
|
* fix up command line for ps command
|
||||||
*
|
*
|
||||||
|
@ -757,4 +758,4 @@ static void fixargs(char **argv, int mode)
|
||||||
# endif /* PSTAT */
|
# endif /* PSTAT */
|
||||||
#endif /* EXECARGS */
|
#endif /* EXECARGS */
|
||||||
}
|
}
|
||||||
#endif /* _lib_fork */
|
#endif /* !fixargs_disabled */
|
||||||
|
|
Loading…
Reference in a new issue