Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9939e55

Browse files
committed
Remove strcasecmp for univel.
1 parentd480061 commit9939e55

File tree

1 file changed

+0
-61
lines changed

1 file changed

+0
-61
lines changed

‎src/backend/port/univel/port.c

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -90,67 +90,6 @@ static char sccsid[] = "@(#)strcasecmp.c5.5 (Berkeley) 11/24/87";
9090
#include<sys/types.h>
9191
#include<string.h>
9292

93-
/*
94-
* This array is designed for mapping upper and lower case letter
95-
* together for a case independent comparison.The mappings are
96-
p * based upon ascii character sequences.
97-
*/
98-
staticunsignedcharcharmap[]= {
99-
'\000','\001','\002','\003','\004','\005','\006','\007',
100-
'\010','\011','\012','\013','\014','\015','\016','\017',
101-
'\020','\021','\022','\023','\024','\025','\026','\027',
102-
'\030','\031','\032','\033','\034','\035','\036','\037',
103-
'\040','\041','\042','\043','\044','\045','\046','\047',
104-
'\050','\051','\052','\053','\054','\055','\056','\057',
105-
'\060','\061','\062','\063','\064','\065','\066','\067',
106-
'\070','\071','\072','\073','\074','\075','\076','\077',
107-
'\100','\141','\142','\143','\144','\145','\146','\147',
108-
'\150','\151','\152','\153','\154','\155','\156','\157',
109-
'\160','\161','\162','\163','\164','\165','\166','\167',
110-
'\170','\171','\172','\133','\134','\135','\136','\137',
111-
'\140','\141','\142','\143','\144','\145','\146','\147',
112-
'\150','\151','\152','\153','\154','\155','\156','\157',
113-
'\160','\161','\162','\163','\164','\165','\166','\167',
114-
'\170','\171','\172','\173','\174','\175','\176','\177',
115-
'\200','\201','\202','\203','\204','\205','\206','\207',
116-
'\210','\211','\212','\213','\214','\215','\216','\217',
117-
'\220','\221','\222','\223','\224','\225','\226','\227',
118-
'\230','\231','\232','\233','\234','\235','\236','\237',
119-
'\240','\241','\242','\243','\244','\245','\246','\247',
120-
'\250','\251','\252','\253','\254','\255','\256','\257',
121-
'\260','\261','\262','\263','\264','\265','\266','\267',
122-
'\270','\271','\272','\273','\274','\275','\276','\277',
123-
'\300','\341','\342','\343','\344','\345','\346','\347',
124-
'\350','\351','\352','\353','\354','\355','\356','\357',
125-
'\360','\361','\362','\363','\364','\365','\366','\367',
126-
'\370','\371','\372','\333','\334','\335','\336','\337',
127-
'\340','\341','\342','\343','\344','\345','\346','\347',
128-
'\350','\351','\352','\353','\354','\355','\356','\357',
129-
'\360','\361','\362','\363','\364','\365','\366','\367',
130-
'\370','\371','\372','\373','\374','\375','\376','\377',
131-
};
132-
133-
int
134-
strcasecmp(char*s1,char*s2)
135-
{
136-
registerunsignedcharu1,
137-
u2;
138-
139-
for (;;)
140-
{
141-
u1= (unsignedchar)*s1++;
142-
u2= (unsignedchar)*s2++;
143-
if (charmap[u1]!=charmap[u2])
144-
{
145-
returncharmap[u1]-charmap[u2];
146-
}
147-
if (u1=='\0')
148-
{
149-
return0;
150-
}
151-
}
152-
}
153-
15493
#include<sys/utsname.h>
15594

15695
int

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp