date and time created 83/08/05 13:34:37 by sam
[unix-history] / usr / src / old / make / doname.c
index 0dfc7c3..a92e75d 100644 (file)
@@ -1,4 +1,4 @@
-static char *sccsid = "@(#)doname.c    4.1 (Berkeley) 81/02/28";
+static char *sccsid = "@(#)doname.c    4.3 (Berkeley) 83/03/11";
 #include "defs"
 
 /*  BASIC PROCEDURE.  RECURSIVE.  */
 #include "defs"
 
 /*  BASIC PROCEDURE.  RECURSIVE.  */
@@ -142,6 +142,7 @@ if(dbgflag) printf("TIME(%s)=%ld\n", p2->namep, td);
                                goto endloop;
                                }
                        }
                                goto endloop;
                                }
                        }
+               setvar("*", rindex(prefix, '/') + 1);
                }
        }
 
                }
        }