1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/chinese/pine4/files/patch-bt

28 lines
1.1 KiB
Plaintext
Raw Normal View History

--- pine/osdep/expnfldr.orig Tue Sep 22 21:19:44 1998
+++ pine/osdep/expnfldr Tue Sep 22 21:20:44 1998
@@ -32,13 +32,13 @@
} else if(ps_global->restricted
&& (strindex("./~", temp_filename[0]) != NULL
|| srchstr(temp_filename,"/../"))){
- q_status_message(SM_ORDER, 0, 3, "Can only open local folders");
+ q_status_message(SM_ORDER, 0, 3, "<22>ȯ<EFBFBD><C8AF>}<7D>ҥ<EFBFBD><D2A5>a<EFBFBD><61><EFBFBD>ɮקX");
return(0);
} else if(temp_filename[0] == '*') {
strcpy(filename, temp_filename);
} else if(ps_global->VAR_OPER_DIR && srchstr(temp_filename,"..")){
q_status_message(SM_ORDER, 0, 3,
- "\"..\" not allowed in folder name");
+ "<22>ɮקX<D7A7>W<EFBFBD>٤<EFBFBD><D9A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\\<5C><> \"..\"");
return(0);
} else if (temp_filename[0] == '~'){
if(fnexpand(temp_filename, sizeof(temp_filename)) == NULL) {
@@ -46,7 +46,7 @@
if(p != NULL)
*p = '\0';
q_status_message1(SM_ORDER, 3, 3,
- "Error expanding folder name: \"%s\" unknown user",
+ "<22>ɮקX<D7A7>i<EFBFBD>}<7D><><EFBFBD>~<7E>G\"%s\" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϥΪ<CFA5>",
temp_filename);
return(0);
}