makedefs --grep prep, misc cleanup (TRUNK ONLY)
use makedefs --grep in Makefile.doc call make clean in doc from make clean in top add commented out rule to produce mdgrep.h from mdgrep.pl macosx1.5: don't chown/chgrp for single-user install unixmain.c: work around C90 warning for Mac-specific code, fix last fix makedefs.c: temporarily disallow blank after control introducer until docs catch up mdgrep.pl: add ALLDOCS, clean up generated file's header
This commit is contained in:
@@ -59,6 +59,7 @@ char *argv[];
|
||||
sys_early_init();
|
||||
|
||||
#if defined(__APPLE__)
|
||||
{
|
||||
/* special hack to change working directory to a resource fork when
|
||||
running from finder --sam */
|
||||
#define MAC_PATH_VALUE ".app/Contents/MacOS/"
|
||||
@@ -85,6 +86,7 @@ char *argv[];
|
||||
free(mac_tmp);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
hname = argv[0];
|
||||
@@ -588,8 +590,8 @@ char *optstr;
|
||||
if(optstr[0] == '*') return TRUE; /* allow any user */
|
||||
if(!pw) return FALSE;
|
||||
pwlen = strlen(pw->pw_name);
|
||||
*eop = eos(optstr);
|
||||
*w = optstr;
|
||||
eop = eos(optstr);
|
||||
w = optstr;
|
||||
while( w+pwlen <= eop ){
|
||||
if( ! *w ) break;
|
||||
if( isspace(*w) ){ w++; continue;}
|
||||
|
||||
Reference in New Issue
Block a user