~ubuntu-branches/ubuntu/trusty/skktools/trusty

« back to all changes in this revision

Viewing changes to skkdic-sort.c

  • Committer: Bazaar Package Importer
  • Author(s): Tatsuya Kinoshita
  • Date: 2006-10-05 20:44:11 UTC
  • mfrom: (1.2.1 upstream) (3.1.1 edgy)
  • Revision ID: james.westby@ubuntu.com-20061005204411-25mr105z6mhhvrtv
Tags: 1.2+0.20061004-1
* New upstream release. (CVS trunk on 2006-10-04)
* debian/rules: Use "nkf -e" instead of "qkc" for `doc2skk.sh'.
* debian/skkdic-sort.1: Typo fix.
* debian/skk2cdb: Put $OUTFILE in double quotes.
* debian/control (Suggests): Add required packages for `doc2skk.sh',
  `chasen, mecab, kakasi, nkf, w3m'.
* debian/control (Description): Revised.
* debian/copyright: Updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
Author: Hironobu Takahashi, Masahiko Sato, Kiyotaka Sakai, Kenji Yabuuchi
6
6
Maintainer: Mikio Nakajima <minakaji@osaka.email.ne.jp>
7
 
Version: $Id: skkdic-sort.c,v 1.3 2000/10/05 17:16:44 czkmt Exp $
 
7
Version: $Id: skkdic-sort.c,v 1.5 2006/01/04 10:35:06 skk-cvs Exp $
8
8
Keywords: japanese
9
 
Last Modified: $Date: 2000/10/05 17:16:44 $
 
9
Last Modified: $Date: 2006/01/04 10:35:06 $
10
10
 
11
11
This file is part of Daredevil SKK.
12
12
 
22
22
 
23
23
You should have received a copy of the GNU General Public License
24
24
along with SKK; see the file COPYING.  If not, write to
25
 
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
25
the Free Software Foundation,  Inc., 51 Franklin Street, Fifth Floor,
 
26
Boston, MA 02110-1301, USA. */
26
27
 
27
28
/* skkdic-sort.c
28
29
   ���Υץ������� SKK �μ���������Ԥ��ޤ�
118
119
static int okuriari(p)
119
120
     unsigned char *p;
120
121
{
121
 
  if ((p[0] & 0x80) == 0) return 0;
 
122
  if (((p[0] & 0x80) == 0) &&
 
123
      ((p[0] != '>' && p[0] != '#') || (p[1] & 0x80) == 0)) return 0;
122
124
  while(*p != ' ')
123
125
    if (*p == '\0') return 0; /* ���򤬤ʤ��Ԥ������ϰ۾�Ȥ��ư����٤� */
124
126
    else            ++ p;