Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b9627c14
Commit
b9627c14
authored
May 05, 2002
by
Steven Edwards
Committed by
Alexandre Julliard
May 05, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for and use chsize instead of ftruncate if present.
parent
ffb3d784
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
2 deletions
+18
-2
configure
configure
+5
-1
configure.ac
configure.ac
+3
-1
config.h.in
include/config.h.in
+6
-0
port.h
include/wine/port.h
+4
-0
No files found.
configure
View file @
b9627c14
...
...
@@ -10287,6 +10287,8 @@ fi
for
ac_func
in
\
__libc_fork
\
_lwp_create
\
...
...
@@ -10294,10 +10296,12 @@ for ac_func in \
_popen
\
_stricmp
\
_strnicmp
\
chsize
\
clone
\
ecvt
\
finite
\
fpclass
\
ftruncate
\
ftruncate64
\
getnetbyaddr
\
getnetbyname
\
...
...
@@ -10312,8 +10316,8 @@ for ac_func in \
memmove
\
mmap
\
pclose
\
pread
\
popen
\
pread
\
pwrite
\
rfork
\
select
\
...
...
configure.ac
View file @
b9627c14
...
...
@@ -861,10 +861,12 @@ AC_CHECK_FUNCS(\
_popen \
_stricmp \
_strnicmp \
chsize \
clone \
ecvt \
finite \
fpclass \
ftruncate \
ftruncate64 \
getnetbyaddr \
getnetbyname \
...
...
@@ -879,8 +881,8 @@ AC_CHECK_FUNCS(\
memmove \
mmap \
pclose \
pread \
popen \
pread \
pwrite \
rfork \
select \
...
...
include/config.h.in
View file @
b9627c14
...
...
@@ -32,6 +32,9 @@
/* Define to use .string instead of .ascii */
#undef HAVE_ASM_STRING
/* Define to 1 if you have the `chsize' function. */
#undef HAVE_CHSIZE
/* Define to 1 if you have the `clone' function. */
#undef HAVE_CLONE
...
...
@@ -101,6 +104,9 @@
/* Define to 1 if you have the <freetype/tttables.h> header file. */
#undef HAVE_FREETYPE_TTTABLES_H
/* Define to 1 if you have the `ftruncate' function. */
#undef HAVE_FTRUNCATE
/* Define to 1 if you have the `ftruncate64' function. */
#undef HAVE_FTRUNCATE64
...
...
include/wine/port.h
View file @
b9627c14
...
...
@@ -104,6 +104,10 @@ struct statfs;
#define RTLD_GLOBAL 0x100
#endif
#if !defined(HAVE_FTRUNCATE) && defined(HAVE_CHSIZE)
#define ftruncate chsize
#endif
#if !defined(HAVE_POPEN) && defined(HAVE__POPEN)
#define popen _popen
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment