Imported from ../bash-3.0.tar.gz.

This commit is contained in:
Jari Aalto 2004-07-27 13:29:18 +00:00
commit b80f6443b6
400 changed files with 69247 additions and 13346 deletions

View file

@ -29,8 +29,10 @@ Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#endif
#ifndef _MINIX
#include "../bashtypes.h"
#include <sys/file.h>
# include "../bashtypes.h"
# if defined (HAVE_SYS_FILE_H)
# include <sys/file.h>
# endif
#endif
#include "posixstat.h"
@ -1127,6 +1129,9 @@ write_file_headers (structfile, externfile)
fprintf (structfile, "#include \"%s\"\n",
extern_filename ? extern_filename : "builtext.h");
fprintf (structfile, "#include \"bashintl.h\"\n");
fprintf (structfile, "\nstruct builtin static_shell_builtins[] = {\n");
}
@ -1367,8 +1372,9 @@ write_documentation (stream, documentation, indentation, flags)
continue;
}
/* prefix with N_( for gettext */
if (string_array)
fprintf (stream, " \"");
fprintf (stream, " N_(\"");
if (indentation)
for (j = 0; j < indentation; j++)
@ -1390,7 +1396,8 @@ write_documentation (stream, documentation, indentation, flags)
}
}
fprintf (stream, "\",\n");
/* closing right paren for gettext */
fprintf (stream, "\"),\n");
}
else if (texinfo)
{