Sleep for two seconds before exiting to make sure timestamps for future

changes have distinct mod times in the file system. Bug #1982.
Add Punjabi orthography. Bug #1671.
reviewed by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2004-12-05 06:19:46 +00:00
parent c5a0b541df
commit 54560b013f
3 changed files with 66 additions and 1 deletions

View File

@ -1,10 +1,21 @@
2004-12-04 Owen Taylor <otaylor@redhat.com>
reviewed by: Keith Packard <keithp@keithp.com>
* fc-cache/fc-cache.c: (main):
Sleep for two seconds before exiting to make sure timestamps
for future changes have distinct mod times in the file system.
Bug #1982.
* fc-lang/pa.orth:
Add Punjabi orthography. Bug #1671.
2004-12-04 Keith Packard <keithp@keithp.com>
* fonts.conf.in:
Just remove the FC_FONTDATE -- it has locale issues and
annoys redhat multi-arch installs. Now that all X fonts are
included without prejudice, the chances of the date being at
all interesting are rather limited. Bug #415.
all interesting are rather limited. Bug #505.
* src/Makefile.am:
Add copyright and license

View File

@ -289,6 +289,14 @@ main (int argc, char **argv)
else
list = FcConfigGetConfigDirs (config);
ret = scanDirs (list, config, argv[0], force, verbose);
/*
* Now we need to sleep a second (or two, to be extra sure), to make
* sure that timestamps for changes after this run of fc-cache are later
* then any timestamps we wrote. We don't use gettimeofday() because
* sleep(3) can't be interrupted by a signal here -- this isn't in the
* library, and there aren't any signals flying around here.
*/
sleep (2);
if (verbose)
printf ("%s: %s\n", argv[0], ret ? "failed" : "succeeded");
return ret;

46
fc-lang/pa.orth Normal file
View File

@ -0,0 +1,46 @@
#
# $RCSId:$
#
# Copyright © 2004 Red Hat, Inc.
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of Red Hat not be used in
# advertising or publicity pertaining to distribution of the software without
# specific, written prior permission. Red Hat makes no
# representations about the suitability of this software for any purpose. It
# is provided "as is" without express or implied warranty.
#
# RED HAT 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
# 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
# PERFORMANCE OF THIS SOFTWARE.
#
# Punjabi (Gurumukhi script) (HI)
#
# From Unicode coverage for Gurumukhi, with modifications based on
# the 'Lohit Punjabi' font
#
# 0A01-0A03 # Various signs
0A05-0A0A # Independent vowels
0A0F-0A10
0A13-0A14
0A15-0A28 # Consonants
0A2A-0A30
0A32-0A33
0A35-0A36
0A38-0A39
0A3C # Nukta
0A3E-0A42 # Dependent vowel signs
0A47-0A48
0A4B-0A4C
0A4D # Virama
0A59-0A5C # Additional consonants
# 0A5E # GURMUKHI LETTER FA
# 0A66-0A6F # Digits
0A70-0A74 # Gurmukhi-specific additions