mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-07 10:39:47 +08:00
Correct incorrect arguments to futimes
darcs-hash:20060109151740-ac50b-db7a3ccbcd4f2cc13855f13285ec2536bebcac95.gz
This commit is contained in:
parent
810d9104fc
commit
b7c551a348
13
reader.c
13
reader.c
|
@ -911,15 +911,22 @@ static void reader_save_status()
|
||||||
futimes is defined, but it should make the status saving stuff
|
futimes is defined, but it should make the status saving stuff
|
||||||
failsafe.
|
failsafe.
|
||||||
*/
|
*/
|
||||||
struct timeval t=
|
struct timeval t[]=
|
||||||
|
{
|
||||||
{
|
{
|
||||||
time(0)-1,
|
time(0)-1,
|
||||||
0
|
0
|
||||||
}
|
}
|
||||||
|
,
|
||||||
|
{
|
||||||
|
time(0)-1,
|
||||||
|
0
|
||||||
|
}
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
futimes( 1, &t );
|
futimes( 1, t );
|
||||||
futimes( 2, &t );
|
futimes( 2, t );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fstat( 1, &prev_buff_1 );
|
fstat( 1, &prev_buff_1 );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user