1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-clocks/xalarm/files/patch-ab
Thomas Gellekum d53535a9ea Import of xalarm, an X based alarm clock.
Closes PR #2151.

Submitted by:	Kenneth Monville <desmo@bandwidth.org>
1997-02-17 09:30:16 +00:00

20 lines
516 B
Plaintext

*** file.c.orig Wed Dec 4 08:19:13 1996
--- file.c Wed Dec 4 08:25:00 1996
***************
*** 229,235 ****
lock.l_type = F_WRLCK;
lock.l_whence = SEEK_SET;
lock.l_start = lock.l_len = (long) 0;
! fcntl (fileno (file), F_SETFL, O_SYNC);
fcntl (fileno (file), F_SETLKW, &lock);
#endif
--- 229,235 ----
lock.l_type = F_WRLCK;
lock.l_whence = SEEK_SET;
lock.l_start = lock.l_len = (long) 0;
! fcntl (fileno (file), F_SETFL, O_FSYNC);
fcntl (fileno (file), F_SETLKW, &lock);
#endif