File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1124,7 +1124,7 @@ AC_DEFUN([PHP_DOES_PWRITE_WORK],[
1124
1124
#include <stdlib.h>
1125
1125
$1
1126
1126
int main(void) {
1127
- int fd = open("conftest_in ", O_WRONLY|O_CREAT, 0600);
1127
+ int fd = open("conftest_pwrite ", O_WRONLY|O_CREAT, 0600);
1128
1128
1129
1129
if (fd < 0) return 1;
1130
1130
if (pwrite(fd, "text", 4, 0) != 4) return 1;
@@ -1148,7 +1148,7 @@ dnl
1148
1148
dnl Internal.
1149
1149
dnl
1150
1150
AC_DEFUN ( [ PHP_DOES_PREAD_WORK] ,[
1151
- echo test > conftest_in
1151
+ echo test > conftest_pread
1152
1152
AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [
1153
1153
#include <sys/types.h>
1154
1154
#include <sys/stat.h>
@@ -1159,7 +1159,7 @@ AC_DEFUN([PHP_DOES_PREAD_WORK],[
1159
1159
$1
1160
1160
int main(void) {
1161
1161
char buf[ 3] ;
1162
- int fd = open("conftest_in ", O_RDONLY);
1162
+ int fd = open("conftest_pread ", O_RDONLY);
1163
1163
if (fd < 0) return 1;
1164
1164
if (pread(fd, buf, 2, 0) != 2) return 1;
1165
1165
/* Linux glibc breakage until 2.2.5 */
1173
1173
] ,[
1174
1174
ac_cv_pread=no
1175
1175
] )
1176
- rm -f conftest_in
1177
1176
] )
1178
1177
1179
1178
dnl
You can’t perform that action at this time.
0 commit comments