diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | etc.c | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2003-03-13 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * etc.c: treatment for "%7E" is added to expandName() + 2003-03-13 Fumitoshi UKAI <ukai@debian.or.jp> * [w3m-dev 03819] support cd build && ../configure @@ -7521,4 +7525,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.791 2003/03/12 18:27:03 ukai Exp $ +$Id: ChangeLog,v 1.792 2003/03/13 15:15:40 inu Exp $ @@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.67 2003/02/26 17:22:02 ukai Exp $ */ +/* $Id: etc.c,v 1.68 2003/03/13 15:15:47 inu Exp $ */ #include "fm.h" #include <pwd.h> #include "myctype.h" @@ -1552,7 +1552,9 @@ expandName(char *name) return NULL; p = name; if (*p == '/') { - if (*(p + 1) == '~' && IS_ALPHA(*(p + 2)) && personal_document_root) { + if ( (*(p + 1) == '~' && IS_ALPHA(*(p + 2)) ) + || ( strncmp( p+1, "%7", 2 ) == 0 && tolower( *(p+3) ) == 'e' ) + && personal_document_root) { char *q; p += 2; q = strchr(p, '/'); |