/[gnats]/gnats/gnats/misc.c
ViewVC logotype

Diff of /gnats/gnats/misc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by pdm, Thu Dec 6 22:25:21 2001 UTC revision 1.36 by pdm, Sun Jan 6 16:13:20 2002 UTC
# Line 159  init_logging (const char *logfile) Line 159  init_logging (const char *logfile)
159        log_method = SYSLOG;        log_method = SYSLOG;
160  #else  #else
161        /* This should be MAIL, but I don't know how to use it well. */        /* This should be MAIL, but I don't know how to use it well. */
162        log_method = NONE;        log_method = NOLOG;
163  #endif  #endif
164      }      }
165    
# Line 499  temporary_directory (void) Line 499  temporary_directory (void)
499  #ifdef P_tmpdir  #ifdef P_tmpdir
500    return P_tmpdir;    return P_tmpdir;
501  #else  #else
502    char tmpdir = *getenv ("TMPDIR");    char *tmpdir = getenv ("TMPDIR");
503    if (tmpdir == NULL)    if (tmpdir == NULL)
504      {      {
505        tmpdir = "/tmp";        tmpdir = "/tmp";

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26