fixes from bengt for sun
This commit is contained in:
parent
caf12d8c5b
commit
0e4068e8c4
@ -1,9 +1,9 @@
|
||||
#include <u.h>
|
||||
#include <signal.h>
|
||||
#include <sys/ioctl.h>
|
||||
#if defined(PLAN9PORT) && defined(__sun__)
|
||||
# define BSD_COMP /* sigh. for TIOCNOTTY */
|
||||
#endif
|
||||
#include <sys/ioctl.h>
|
||||
#include "rc.h"
|
||||
#include "getflags.h"
|
||||
#include "exec.h"
|
||||
@ -115,7 +115,7 @@ main(int argc, char *argv[])
|
||||
int i;
|
||||
|
||||
/* needed for rcmain later */
|
||||
setenv("PLAN9", unsharp("#9"), 1);
|
||||
putenv("PLAN9", unsharp("#9"));
|
||||
|
||||
argc=getflags(argc, argv, "srdiIlxepvVc:1m:1[command]", 1);
|
||||
if(argc==-1) usage("[file [arg ...]]");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user