(_IO_old_file_jumps): Use correct sync and write callbacks.
authordrepper <drepper>
Wed, 5 Nov 1997 23:15:05 +0000 (23:15 +0000)
committerdrepper <drepper>
Wed, 5 Nov 1997 23:15:05 +0000 (23:15 +0000)
libio/oldfileops.c

index ab4445c..71a2bc2 100644 (file)
@@ -707,10 +707,10 @@ struct _IO_jump_t _IO_old_file_jumps =
   JUMP_INIT(seekoff, _IO_old_file_seekoff),
   JUMP_INIT(seekpos, _IO_default_seekpos),
   JUMP_INIT(setbuf, _IO_old_file_setbuf),
   JUMP_INIT(seekoff, _IO_old_file_seekoff),
   JUMP_INIT(seekpos, _IO_default_seekpos),
   JUMP_INIT(setbuf, _IO_old_file_setbuf),
-  JUMP_INIT(sync, _IO_file_sync),
+  JUMP_INIT(sync, _IO_old_file_sync),
   JUMP_INIT(doallocate, _IO_file_doallocate),
   JUMP_INIT(read, _IO_file_read),
   JUMP_INIT(doallocate, _IO_file_doallocate),
   JUMP_INIT(read, _IO_file_read),
-  JUMP_INIT(write, _IO_file_write),
+  JUMP_INIT(write, _IO_old_file_write),
   JUMP_INIT(seek, _IO_file_seek),
   JUMP_INIT(close, _IO_file_close),
   JUMP_INIT(stat, _IO_file_stat)
   JUMP_INIT(seek, _IO_file_seek),
   JUMP_INIT(close, _IO_file_close),
   JUMP_INIT(stat, _IO_file_stat)