mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
b021babcfb
particular types of files, using an index, aimed for the GNOME environment in general, and Nautilus in particular.
13 lines
531 B
Plaintext
13 lines
531 B
Plaintext
--- libmedusa-internal/medusa-io-handler.c.orig Sun Aug 6 04:10:06 2000
|
|
+++ libmedusa-internal/medusa-io-handler.c Thu Aug 17 10:27:10 2000
|
|
@@ -208,6 +208,9 @@
|
|
|
|
/* We open the file synchronously here to make sure the header gets
|
|
written before returning the FILE * */
|
|
+#ifdef __FreeBSD__
|
|
+#define O_SYNC 0
|
|
+#endif
|
|
file_descriptor = open (file_name, O_RDWR | O_CREAT | O_SYNC, S_IRUSR | S_IWUSR);
|
|
write_header_to_file_descriptor (file_descriptor, magic_number, version_number, 0);
|
|
close (file_descriptor);
|