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

Diff for /src/usr.bin/sort/sort.c between version 1.52 and 1.53

version 1.52, 2015/03/31 12:16:02 version 1.53, 2015/03/31 16:40:16
Line 309 
Line 309 
 static void  static void
 set_tmpdir(void)  set_tmpdir(void)
 {  {
         char *td;          if (!issetugid()) {
                   char *td;
   
         td = getenv("TMPDIR");                  td = getenv("TMPDIR");
         if (td != NULL)                  if (td != NULL)
                 tmpdir = sort_strdup(td);                          tmpdir = sort_strdup(td);
           }
 }  }
   
 /*  /*

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53