/[CvsGraph]/cvsgraph/cvsgraph.c
ViewVC logotype

Diff of /cvsgraph/cvsgraph.c

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

revision 1.52, Sat Oct 23 01:08:26 2004 UTC revision 1.53, Sat Oct 23 19:23:11 2004 UTC
# Line 1091  Line 1091 
1091          putenv("TZ=UTC0");          putenv("TZ=UTC0");
1092          t = mktime(&tm);          t = mktime(&tm);
1093          if(env)          if(env)
1094                  setenv("TZ", env, 1);          {
1095                    char *c = xmalloc(strlen(env) + 3 + 1); /* Extra space for TZ and = */
1096                    sprintf(c, "TZ=%s", env);
1097                    putenv(c);
1098                    xfree(c);
1099            }
1100          else          else
1101                  unsetenv("TZ");                  putenv("TZ");
1102    
1103          if(n != 6 || t == (time_t)(-1))          if(n != 6 || t == (time_t)(-1))
1104          {          {

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

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0