commit bash-20040107 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 12:52:47 -05:00
parent d3a24ed242
commit 5e13499c55
522 changed files with 295985 additions and 19526 deletions
+4 -2
View File
@@ -34,6 +34,8 @@
#endif
#include "bashansi.h"
#include "bashintl.h"
#include "command.h"
#include "general.h"
#include "input.h"
@@ -226,7 +228,7 @@ save_bash_input (fd, new_fd)
if (nfd == -1)
{
if (fcntl (fd, F_GETFD, 0) == 0)
sys_error ("cannot allocate new file descriptor for bash input from fd %d", fd);
sys_error (_("cannot allocate new file descriptor for bash input from fd %d"), fd);
return -1;
}
@@ -234,7 +236,7 @@ save_bash_input (fd, new_fd)
{
/* What's this? A stray buffer without an associated open file
descriptor? Free up the buffer and report the error. */
internal_error ("save_bash_input: buffer already exists for new fd %d", nfd);
internal_error (_("save_bash_input: buffer already exists for new fd %d"), nfd);
free_buffered_stream (buffers[nfd]);
}