diff options
| author | Tomas Bzatek <tbzatek@redhat.com> | 2009-10-03 13:22:27 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@redhat.com> | 2009-10-03 13:22:27 +0200 |
| commit | 15efde21a039f2dfa11c715c9c40b6d12813baf3 (patch) | |
| tree | 48ec9dcf18ecded5cfb478e22a6f8b0b695e93c7 /UConfig.pas | |
| parent | dffc52bad545084a53b20f892ebf51d1d7c7fa78 (diff) | |
| download | tuxcmd-15efde21a039f2dfa11c715c9c40b6d12813baf3.tar.xz | |
Consolidate basic glibc structs
Fixes crashes on PPC32
Diffstat (limited to 'UConfig.pas')
| -rw-r--r-- | UConfig.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UConfig.pas b/UConfig.pas index edaac1b..d0e536f 100644 --- a/UConfig.pas +++ b/UConfig.pas @@ -1102,7 +1102,7 @@ begin Result := -1; StatBuf := malloc(sizeof(Tstat64)); memset(StatBuf, 0, sizeof(Tstat64)); - if lstat64(PChar(FileName), StatBuf) = 0 then Result := StatBuf^.st_mtim.tv_sec; + if lstat64(PChar(FileName), StatBuf) = 0 then Result := StatBuf^.st_mtime; libc_free(StatBuf); end; |
