diff options
| -rw-r--r-- | lisp/net/tramp.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index d1b38cfeb93..29f5ffd68f0 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -6399,20 +6399,20 @@ Set connection properties \"{uid,gid.groups}-{integer,string}\"." | |||
| 6399 | (goto-char (point-min)) | 6399 | (goto-char (point-min)) |
| 6400 | ;; Read uid. | 6400 | ;; Read uid. |
| 6401 | (when (re-search-forward | 6401 | (when (re-search-forward |
| 6402 | (rx "uid=" (group (+ digit)) "(" (group (+ (any "_" word))) ")") | 6402 | (rx "uid=" (group (+ digit)) "(" (group (+ (any "_-" alnum))) ")") |
| 6403 | nil 'noerror) | 6403 | nil 'noerror) |
| 6404 | (setq uid-integer (string-to-number (match-string 1)) | 6404 | (setq uid-integer (string-to-number (match-string 1)) |
| 6405 | uid-string (match-string 2))) | 6405 | uid-string (match-string 2))) |
| 6406 | ;; Read gid. | 6406 | ;; Read gid. |
| 6407 | (when (re-search-forward | 6407 | (when (re-search-forward |
| 6408 | (rx "gid=" (group (+ digit)) "(" (group (+ (any "_" word))) ")") | 6408 | (rx "gid=" (group (+ digit)) "(" (group (+ (any "_-" alnum))) ")") |
| 6409 | nil 'noerror) | 6409 | nil 'noerror) |
| 6410 | (setq gid-integer (string-to-number (match-string 1)) | 6410 | (setq gid-integer (string-to-number (match-string 1)) |
| 6411 | gid-string (match-string 2))) | 6411 | gid-string (match-string 2))) |
| 6412 | ;; Read groups. | 6412 | ;; Read groups. |
| 6413 | (when (re-search-forward (rx "groups=") nil 'noerror) | 6413 | (when (re-search-forward (rx "groups=") nil 'noerror) |
| 6414 | (while (looking-at | 6414 | (while (looking-at |
| 6415 | (rx (group (+ digit)) "(" (group (+ (any "_" word))) ")")) | 6415 | (rx (group (+ digit)) "(" (group (+ (any "_-" alnum))) ")")) |
| 6416 | (setq groups-integer (cons (string-to-number (match-string 1)) | 6416 | (setq groups-integer (cons (string-to-number (match-string 1)) |
| 6417 | groups-integer) | 6417 | groups-integer) |
| 6418 | groups-string (cons (match-string 2) groups-string)) | 6418 | groups-string (cons (match-string 2) groups-string)) |