release 3.2, Jan 4, 1980
[unix-history] / usr / src / usr.bin / ex / ex.c
index 72fa653..e74b5c0 100644 (file)
@@ -70,7 +70,9 @@ main(ac, av)
        register int ac;
        register char *av[];
 {
        register int ac;
        register char *av[];
 {
+#ifndef VMUNIX
        char *erpath = EXSTRINGS;
        char *erpath = EXSTRINGS;
+#endif
        register char *cp;
        register int c;
        bool recov = 0;
        register char *cp;
        register int c;
        bool recov = 0;
@@ -99,8 +101,10 @@ main(ac, av)
         * For debugging take files out of . if name is a.out.
         * If a 'd' in our name, then set options for edit.
         */
         * For debugging take files out of . if name is a.out.
         * If a 'd' in our name, then set options for edit.
         */
+#ifndef VMUNIX
        if (av[0][0] == 'a')
                erpath = tailpath(erpath);
        if (av[0][0] == 'a')
                erpath = tailpath(erpath);
+#endif
        if (ivis) {
 #ifdef notdef
                options[BEAUTIFY].odefault = value(BEAUTIFY) = 1;
        if (ivis) {
 #ifdef notdef
                options[BEAUTIFY].odefault = value(BEAUTIFY) = 1;
@@ -115,10 +119,12 @@ main(ac, av)
         * Open the error message file.
         */
        draino();
         * Open the error message file.
         */
        draino();
+#ifndef VMUNIX
        erfile = open(erpath+4, 0);
        if (erfile < 0) {
                erfile = open(erpath, 0);
        }
        erfile = open(erpath+4, 0);
        if (erfile < 0) {
                erfile = open(erpath, 0);
        }
+#endif
        pstop();
 
        /*
        pstop();
 
        /*