- the archivers expect mode to be a mode_t, so do not trip signed/unsigned conversion purposefully

This commit is contained in:
Bernhard Reutner-Fischer
2007-01-22 17:48:08 +00:00
parent 620e57b421
commit 835f575b61
2 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ static const char type_chars[16] = "?pc?d?b?-?l?s???";
/* 0123456789abcdef */
static const char mode_chars[7] = "rwxSTst";
const char *bb_mode_string(int mode)
const char *bb_mode_string(mode_t mode)
{
static char buf[12];
char *p = buf;
@@ -91,7 +91,7 @@ static const char type_chars[16] = "?pc?d?b?-?l?s???";
/* 0123456789abcdef */
static const char mode_chars[7] = "rwxSTst";
const char *bb_mode_string(int mode)
const char *bb_mode_string(mode_t mode)
{
static char buf[12];
char *p = buf;