By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 813
Collapse All | Expand All

(-)tdelibs/kinit/lnusertemp.c (-6 / +10 lines)
Lines 248-269 Link Here
248
  tmp = getenv("KDETMP");
248
  tmp = getenv("KDETMP");
249
  if (!tmp || !tmp[0])
249
  if (!tmp || !tmp[0])
250
    tmp = getenv("TMPDIR");
250
    tmp = getenv("TMPDIR");
251
  if (!tmp || !tmp[0])
252
    tmp = getenv("TEMP");
253
  if (!tmp || !tmp[0])
254
    tmp = getenv("TMP");
251
  if (!tmp || !tmp[0]) 
255
  if (!tmp || !tmp[0]) 
252
    tmp = "/tmp";
256
    tmp = "/tmp";
253
257
254
  if (strcmp(argv[1], "tmp") == 0)
258
  if (strcmp(argv[1], "tmp") == 0)
255
  {
259
  {
256
    tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/kde-")+1);
260
    tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/tde-")+1);
257
    strcpy(tmp_prefix, tmp);
261
    strcpy(tmp_prefix, tmp);
258
    strcat(tmp_prefix, "/kde-"); 
262
    strcat(tmp_prefix, "/tde-"); 
259
    
263
    
260
    kde_prefix = "/tmp-"; 
264
    kde_prefix = "/tmp-"; 
261
  }
265
  }
262
  else if (strcmp(argv[1], "socket") == 0)
266
  else if (strcmp(argv[1], "socket") == 0)
263
  {
267
  {
264
    tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/ksocket-")+1);
268
    tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/tdesocket-")+1);
265
    strcpy(tmp_prefix, tmp );
269
    strcpy(tmp_prefix, tmp );
266
    strcat(tmp_prefix, "/ksocket-" );
270
    strcat(tmp_prefix, "/tdesocket-" );
267
271
268
    kde_prefix = "/socket-"; 
272
    kde_prefix = "/socket-"; 
269
  }
273
  }
Lines 273-281 Link Here
273
    if (!tmp || !tmp[0]) 
277
    if (!tmp || !tmp[0]) 
274
      tmp = "/var/tmp";
278
      tmp = "/var/tmp";
275
279
276
    tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/kdecache-")+1);
280
    tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/tdecache-")+1);
277
    strcpy(tmp_prefix, tmp );
281
    strcpy(tmp_prefix, tmp );
278
    strcat(tmp_prefix, "/kdecache-" );
282
    strcat(tmp_prefix, "/tdecache-" );
279
283
280
    kde_prefix = "/cache-"; 
284
    kde_prefix = "/cache-"; 
281
  }
285
  }

Return to bug 813