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
c0cb4d35
Commit
c0cb4d35
authored
May 07, 2005
by
Robert Lunnon
Committed by
Alexandre Julliard
May 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement futimes for Solaris using futimesat.
parent
ee7f5eb9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
config.h.in
include/config.h.in
+3
-0
futimes.c
libs/port/futimes.c
+2
-0
No files found.
configure
View file @
c0cb4d35
...
...
@@ -16384,6 +16384,7 @@ fi
for
ac_func
in
\
_lwp_create
\
_lwp_self
\
...
...
@@ -16405,6 +16406,7 @@ for ac_func in \
fstatvfs
\
ftruncate
\
futimes
\
futimesat
\
getnetbyname
\
getopt_long
\
getpagesize
\
...
...
configure.ac
View file @
c0cb4d35
...
...
@@ -1143,6 +1143,7 @@ AC_CHECK_FUNCS(\
fstatvfs \
ftruncate \
futimes \
futimesat \
getnetbyname \
getopt_long \
getpagesize \
...
...
include/config.h.in
View file @
c0cb4d35
...
...
@@ -158,6 +158,9 @@
/* Define to 1 if you have the `futimes' function. */
#undef HAVE_FUTIMES
/* Define to 1 if you have the `futimesat' function. */
#undef HAVE_FUTIMESAT
/* Define to 1 if you have the `gethostbyname' function. */
#undef HAVE_GETHOSTBYNAME
...
...
libs/port/futimes.c
View file @
c0cb4d35
...
...
@@ -43,6 +43,8 @@ int futimes(int fd, const struct timeval tv[2])
return
utime
(
buffer
,
&
ut
);
}
else
return
utime
(
buffer
,
NULL
);
#elif defined(HAVE_FUTIMESAT)
return
futimesat
(
fd
,
NULL
,
tv
);
#else
errno
=
ENOSYS
;
return
-
1
;
...
...
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