Correct incorrect arguments to futimes

darcs-hash:20060109151740-ac50b-db7a3ccbcd4f2cc13855f13285ec2536bebcac95.gz
This commit is contained in:
axel 2006-01-10 01:17:40 +10:00
parent 810d9104fc
commit b7c551a348

View file

@ -911,15 +911,22 @@ static void reader_save_status()
futimes is defined, but it should make the status saving stuff
failsafe.
*/
struct timeval t=
struct timeval t[]=
{
time(0)-1,
0
{
time(0)-1,
0
}
,
{
time(0)-1,
0
}
}
;
futimes( 1, &t );
futimes( 2, &t );
futimes( 1, t );
futimes( 2, t );
#endif
fstat( 1, &prev_buff_1 );