Return the most appropriate of EACCES, EPERM, ENODEV, ENOTSUP, EIO or EINVAL depending on the exact error returned by the target, rather than just always returning EPERM. Also, ensure that error strings exist for these errors.tags/v0.9.4
|
||
108 | 108 |
|
109 | 109 |
|
110 | 110 |
|
111 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
112 | 114 |
|
113 |
|
|
114 | 115 |
|
115 |
|
|
116 |
|
|
117 | 116 |
|
118 |
|
|
119 |
|
|
120 |
|
|
117 |
|
|
118 |
|
|
121 | 119 |
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
122 | 125 |
|
|
||
224 | 224 |
|
225 | 225 |
|
226 | 226 |
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
231 |
|
|
232 |
|
|
233 |
|
|
234 |
|
|
231 | 235 |
|
232 | 236 |
|
233 | 237 |
|
|
||
830 | 830 |
|
831 | 831 |
|
832 | 832 |
|
833 |
|
|
834 |
|
|
835 |
|
|
836 |
|
|
837 |
|
|
838 |
|
|
839 |
|
|
840 |
|
|
841 |
|
|
842 |
|
|
843 |
|
|
844 |
|
|
845 |
|
|
846 |
|
|
847 |
|
|
848 |
|
|
849 |
|
|
850 |
|
|
851 |
|
|
852 |
|
|
853 |
|
|
854 |
|
|
855 |
|
|
856 |
|
|
857 |
|
|
858 |
|
|
859 |
|
|
860 |
|
|
861 |
|
|
833 | 862 |
|
834 | 863 |
|
835 | 864 |
|
|
||
877 | 906 |
|
878 | 907 |
|
879 | 908 |
|
880 |
|
|
881 |
|
|
909 |
|
|
910 |
|
|
911 |
|
|
912 |
|
|
882 | 913 |
|
883 | 914 |
|
884 | 915 |
|
|
||
1177 | 1208 |
|
1178 | 1209 |
|
1179 | 1210 |
|
1180 |
|
|
1211 |
|
|
1181 | 1212 |
|
1182 | 1213 |
|
1183 | 1214 |
|