1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 10:31:15 +02:00

* Remove the fdatasync check since it's no longer needed.

This commit is contained in:
Eelco Dolstra 2010-02-24 12:16:50 +00:00
parent bb82310dba
commit 5954eadf67
3 changed files with 2 additions and 8 deletions

View file

@ -12,10 +12,6 @@
#include <cstdio>
#ifndef HAVE_FDATASYNC
#define fdatasync fsync
#endif
namespace nix {
@ -66,7 +62,7 @@ string readFile(int fd);
string readFile(const Path & path);
/* Write a string to a file. */
void writeFile(const Path & path, const string & s, bool doFsync = false);
void writeFile(const Path & path, const string & s);
/* Read a line from a file descriptor. */
string readLine(int fd);