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

Diff for /src/usr.bin/tset/Attic/termcap.c between version 1.1 and 1.2

version 1.1, 1998/11/16 03:08:41 version 1.2, 2000/08/02 04:10:50
Line 90 
Line 90 
                                 strlcpy(pathbuf, termpath, sizeof(pathbuf));                                  strlcpy(pathbuf, termpath, sizeof(pathbuf));
                         else {                          else {
                                 if ((home = getenv("HOME")) != NULL &&                                  if ((home = getenv("HOME")) != NULL &&
                                       *home != '\0' &&
                                     strlen(home) + sizeof(_PATH_DEF) <                                      strlen(home) + sizeof(_PATH_DEF) <
                                     sizeof(pathbuf)) {                                      sizeof(pathbuf)) {
                                         sprintf(pathbuf, "%s/%s", home,                                          sprintf(pathbuf, "%s/%s", home,

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2