1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

main.c: tweak fixargs() macros: single point of truth

This commit is contained in:
Martijn Dekker 2021-01-18 09:33:26 +00:00
parent 4dcf5c5066
commit 5f6371f078

View file

@ -56,6 +56,7 @@ static void chkmail(Shell_t *shp, char*);
static void fixargs(char**,int);
#else
# define fixargs(a,b)
# define fixargs_disabled 1
#endif
#ifndef environ
@ -697,7 +698,7 @@ static void chkmail(Shell_t *shp, char *files)
# define PSTAT 1
#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
*
@ -757,4 +758,4 @@ static void fixargs(char **argv, int mode)
# endif /* PSTAT */
#endif /* EXECARGS */
}
#endif /* _lib_fork */
#endif /* !fixargs_disabled */