diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-03-25 21:48:47 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-03-25 21:48:47 +0000 |
commit | 1a68a9b7a165123cd605727933898146a409555c (patch) | |
tree | e62c5fedf2ced0b46df77d6b8081789c665bd73b /lib/fontconfig/src/fcatomic.c | |
parent | 44ff62e966fe9822cb180c33afa7cac44f940d96 (diff) |
Update to fontconfig 2.8.0. Tested on a full ports build by naddy@.
Diffstat (limited to 'lib/fontconfig/src/fcatomic.c')
-rw-r--r-- | lib/fontconfig/src/fcatomic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/fontconfig/src/fcatomic.c b/lib/fontconfig/src/fcatomic.c index 8c0451082..89cae6183 100644 --- a/lib/fontconfig/src/fcatomic.c +++ b/lib/fontconfig/src/fcatomic.c @@ -1,5 +1,5 @@ /* - * $RCSId: xc/lib/fontconfig/src/fcatomic.c,v 1.2 2002/03/04 21:15:28 tsi Exp $ + * fontconfig/src/fcatomic.c * * Copyright © 2002 Keith Packard * @@ -13,9 +13,9 @@ * representations about the suitability of this software for any purpose. It * is provided "as is" without express or implied warranty. * - * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO - * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR @@ -142,7 +142,7 @@ FcAtomicLock (FcAtomic *atomic) * machines sharing the same filesystem will have clocks * reasonably close to each other. */ - if (stat ((char *) atomic->lck, &lck_stat) >= 0) + if (FcStat ((char *) atomic->lck, &lck_stat) >= 0) { time_t now = time (0); if ((long int) (now - lck_stat.st_mtime) > 10 * 60) |