udf_time.c: make sure offset is initialzed (Darwin doesn'thave TIMEZONE var).

.cvsignore: add .gdb_history
This commit is contained in:
rocky
2006-02-13 01:59:28 +00:00
parent 5ecb11e6cb
commit 9c72d5971f
3 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
.cvsignore .cvsignore
.deps .deps
.gdb_history
.libs .libs
Makefile Makefile
Makefile.in Makefile.in

View File

@@ -156,7 +156,7 @@ udf_timespec_to_stamp(const struct timespec ts, udf_timestamp_t *dest)
{ {
long int days, rem, y; long int days, rem, y;
const unsigned short int *ip; const unsigned short int *ip;
int16_t offset; int16_t offset = 0;
int16_t tv_sec; int16_t tv_sec;
#ifdef HAVE_TIMEZONE_VAR #ifdef HAVE_TIMEZONE_VAR

View File

@@ -1,4 +1,5 @@
.deps .deps
.gdb_history
.libs .libs
Makefile Makefile
Makefile.in Makefile.in