SunOS can rot in hell.
This commit is contained in:
parent
4e3a2cc1f9
commit
be22ae2d07
52 changed files with 211 additions and 160 deletions
|
|
@ -43,7 +43,7 @@ tm2Tm(struct tm *tm, Tm *bigtm)
|
|||
if(bigtm->zone[0] == 0){
|
||||
s = getenv("TIMEZONE");
|
||||
if(s){
|
||||
strecpy(bigtm->zone, bigtm->zone+4, tm->tm_zone);
|
||||
strecpy(bigtm->zone, bigtm->zone+4, s);
|
||||
free(s);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue