Use pread and pwrite instead of __ protected versions.
authordrepper <drepper>
Wed, 21 Jan 1998 16:59:19 +0000 (16:59 +0000)
committerdrepper <drepper>
Wed, 21 Jan 1998 16:59:19 +0000 (16:59 +0000)
rt/aio_misc.c

index cdfb63d..91c5544 100644 (file)
@@ -421,10 +421,10 @@ handle_fildes_io (void *arg)
                                             aiocbp->aiocb64.aio_offset));
          else
            aiocbp->aiocb.__return_value =
-             TEMP_FAILURE_RETRY (__pread (fildes,
-                                          (void *) aiocbp->aiocb.aio_buf,
-                                          aiocbp->aiocb.aio_nbytes,
-                                          aiocbp->aiocb.aio_offset));
+             TEMP_FAILURE_RETRY (pread (fildes,
+                                        (void *) aiocbp->aiocb.aio_buf,
+                                        aiocbp->aiocb.aio_nbytes,
+                                        aiocbp->aiocb.aio_offset));
        }
       else if ((aiocbp->aiocb.aio_lio_opcode & 127) == LIO_WRITE)
        {
@@ -436,10 +436,10 @@ handle_fildes_io (void *arg)
                                              aiocbp->aiocb64.aio_offset));
          else
            aiocbp->aiocb.__return_value =
-             TEMP_FAILURE_RETRY (__pwrite (fildes,
-                                           (const void *) aiocbp->aiocb.aio_buf,
-                                           aiocbp->aiocb.aio_nbytes,
-                                           aiocbp->aiocb.aio_offset));
+             TEMP_FAILURE_RETRY (pwrite (fildes,
+                                         (const void *) aiocbp->aiocb.aio_buf,
+                                         aiocbp->aiocb.aio_nbytes,
+                                         aiocbp->aiocb.aio_offset));
        }
       else if (aiocbp->aiocb.aio_lio_opcode == LIO_DSYNC)
        aiocbp->aiocb.__return_value = TEMP_FAILURE_RETRY (fdatasync (fildes));