projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6046910
)
(fdatasync): Remove function. instead, ...
author
Jim Meyering
<jim@meyering.net>
Sun, 24 Jan 1999 15:10:22 +0000
(15:10 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 24 Jan 1999 15:10:22 +0000
(15:10 +0000)
[! HAVE_FDATASYNC]: Define to fsync.
From Colin Plumb.
src/shred.c
patch
|
blob
|
history
diff --git
a/src/shred.c
b/src/shred.c
index
7dec54d
..
16cf424
100644
(file)
--- a/
src/shred.c
+++ b/
src/shred.c
@@
-143,11
+143,7
@@
FIXME maybe add more discussion here?\n\
}
#if ! HAVE_FDATASYNC
-static int
-fdatasync (int fd)
-{
- return fsync (fd);
-}
+# define fdatasync(Fd) fsync (Fd)
#endif
/*