view mkinstalldirs @ 88907:eca48744527f

Include charset.h. (load_face_font): Argument C deleted. Caller changed. (generate_ascii_font_name): Renamed from generate_ascii_font. (font_name_registry): New function. (cache_face): Store ascii faces before non-ascii faces in buckets. (lookup_face): Arguments C and BASE_FACE deleted. Caller changed. Lookup only ascii faces. (lookup_non_ascii_face): New function. (lookup_named_face): Argument C deleted. Caller changed. (lookup_derived_face): Argument C deleted. Caller changed. (try_font_list): New arg PATTERN. Caller changed. If PATTERN is a string, just call font_list with it. (choose_face_font): Arguments FACE and C deleted. New arg FONT_SPEC. Caller changed. (realize_face): Arguments C and BASE_FACE deleted. Caller (realize_x_face): Likewise. (realize_non_ascii_face): New function. (realize_x_face): Call load_face_font here. (realize_tty_face): Argument C deleted. Caller changed. (compute_char_face): If CH is not ascii, call FACE_FOR_CHAR to get a face ID. (dump_realized_face): Don't print charset of FACE.
author Kenichi Handa <handa@m17n.org>
date Fri, 26 Jul 2002 04:07:39 +0000
parents 774df19dd335
children f0eb34e60705 746c40973d25
line wrap: on
line source

#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain

# $Id: mkinstalldirs,v 1.1 2001/02/02 13:04:53 gerd Exp $

errstatus=0

for file
do
   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
   shift

   pathcomp=
   for d
   do
     pathcomp="$pathcomp$d"
     case "$pathcomp" in
       -* ) pathcomp=./$pathcomp ;;
     esac

     if test ! -d "$pathcomp"; then
        echo "mkdir $pathcomp" 1>&2

        (mkdir "$pathcomp" && chmod a+rx "$pathcomp") || lasterr=$?

        if test ! -d "$pathcomp"; then
  	  errstatus=$lasterr
        fi
     fi

     pathcomp="$pathcomp/"
   done
done

exit $errstatus

# mkinstalldirs ends here