nxt_utf8_file_name_test.c (384:8f86d3ff3e29) nxt_utf8_file_name_test.c (611:323e11065f83)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 76 unchanged lines hidden (view full) ---

85 return NXT_ERROR;
86 }
87
88 *p = '\0';
89
90 pp = &uc_name[5];
91 lc = nxt_utf8_lowcase(&pp, p);
92
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

--- 76 unchanged lines hidden (view full) ---

85 return NXT_ERROR;
86 }
87
88 *p = '\0';
89
90 pp = &uc_name[5];
91 lc = nxt_utf8_lowcase(&pp, p);
92
93 if (lc == 0xffffffff) {
93 if (lc == 0xFFFFFFFF) {
94 nxt_log_alert(thr->log, "nxt_utf8_lowcase(%05uxD) failed: %05uxD",
95 uc, lc);
96 return NXT_ERROR;
97 }
98
99 if (uc == lc) {
100 continue;
101 }

--- 47 unchanged lines hidden ---
94 nxt_log_alert(thr->log, "nxt_utf8_lowcase(%05uxD) failed: %05uxD",
95 uc, lc);
96 return NXT_ERROR;
97 }
98
99 if (uc == lc) {
100 continue;
101 }

--- 47 unchanged lines hidden ---