From: Steven Schweda Date: Sat, 9 Jan 2010 23:24:02 +0000 (-0800) Subject: imported patch vms-carat X-Git-Tag: v1.13~206 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=3f01333ca6e4ffb7fb8285da73b9f2bfc68fb48b imported patch vms-carat --- diff --git a/src/utils.c b/src/utils.c index bf7b78a1..0941ad54 100644 --- a/src/utils.c +++ b/src/utils.c @@ -138,7 +138,8 @@ memfatal (const char *context, long attempted_size) Vertical bar (|) Characters escaped by "^": - SP ! # % & ' ( ) + , . ; = @ [ ] ^ ` { } ~ + SP ! " # % & ' ( ) + , . : ; = + @ [ \ ] ^ ` { | } ~ Either "^_" or "^ " is accepted as a space. Period (.) is a special case. Note that un-escaped < and > can also confuse a directory @@ -172,22 +173,22 @@ unsigned char char_prop[ 256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* SP ! " # $ % & ' ( ) * + , - . / */ - 2, 1, 0, 1, 16, 1, 1, 1, 1, 1, 0, 1, 1, 16, 4, 0, + 2, 1, 1, 1, 16, 1, 1, 1, 1, 1, 0, 1, 1, 16, 4, 0, /* 0 1 2 3 4 5 6 7 8 9 : ; < = > ? */ - 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 0, 1, 1, 1, 1, 1, + 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 1, 1, 1, 1, 1, 1, /* @ A B C D E F G H I J K L M N O */ 1, 80, 80, 80, 80, 80, 80, 16, 16, 16, 16, 16, 16, 16, 16, 16, /* P Q R S T U V W X Y Z [ \ ] ^ _ */ - 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 1, 0, 1, 1, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 1, 1, 1, 1, 16, /* ` a b c d e f g h i j k l m n o */ 1, 96, 96, 96, 96, 96, 96, 32, 32, 32, 32, 32, 32, 32, 32, 32, /* p q r s t u v w x y z { | } ~ DEL */ - 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 1, 0, 1, 17, 8, + 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 1, 1, 1, 17, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,