diff options
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fileio.c b/src/fileio.c index 185dd650438..a13fe94e416 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -159,8 +159,7 @@ report_file_error (const char *string, Lisp_Object data) | |||
| 159 | 159 | ||
| 160 | synchronize_system_messages_locale (); | 160 | synchronize_system_messages_locale (); |
| 161 | str = strerror (errorno); | 161 | str = strerror (errorno); |
| 162 | errstring = code_convert_string_norecord (make_unibyte_string (str, | 162 | errstring = code_convert_string_norecord (build_unibyte_string (str), |
| 163 | strlen (str)), | ||
| 164 | Vlocale_coding_system, 0); | 163 | Vlocale_coding_system, 0); |
| 165 | 164 | ||
| 166 | while (1) | 165 | while (1) |
| @@ -1658,7 +1657,7 @@ those `/' is discarded. */) | |||
| 1658 | env variables twice should be acceptable. Note that | 1657 | env variables twice should be acceptable. Note that |
| 1659 | decoding may cause a garbage collect. */ | 1658 | decoding may cause a garbage collect. */ |
| 1660 | Lisp_Object orig, decoded; | 1659 | Lisp_Object orig, decoded; |
| 1661 | orig = make_unibyte_string (o, strlen (o)); | 1660 | orig = build_unibyte_string (o); |
| 1662 | decoded = DECODE_FILE (orig); | 1661 | decoded = DECODE_FILE (orig); |
| 1663 | total += SBYTES (decoded); | 1662 | total += SBYTES (decoded); |
| 1664 | substituted = 1; | 1663 | substituted = 1; |