mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 00:01:15 -03:00
Correct incorrect arguments to futimes
darcs-hash:20060109151740-ac50b-db7a3ccbcd4f2cc13855f13285ec2536bebcac95.gz
This commit is contained in:
17
reader.c
17
reader.c
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user