[BACK]Return to startup.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / window

Diff for /src/usr.bin/window/Attic/startup.c between version 1.6 and 1.7

version 1.6, 2001/11/19 19:02:18 version 1.7, 2003/04/05 01:39:50
Line 60 
Line 60 
   
         if ((home = getenv("HOME")) == NULL || *home == '\0')          if ((home = getenv("HOME")) == NULL || *home == '\0')
                 return -1;                  return -1;
         (void) sprintf(buf, "%.*s/%s",          (void) snprintf(buf, sizeof(buf), "%.*s/%s",
                 (sizeof buf - sizeof runcom) / sizeof (char) - 1,                  (sizeof buf - sizeof runcom) / sizeof (char) - 1,
                 home, runcom);                  home, runcom);
         return dosource(buf);          return dosource(buf);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7