Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/libbb/mode_string.c
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/libbb/mode_string.c
r1765 r2725 5 5 * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> 6 6 * 7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 8 */ 9 9 … … 49 49 * and 'B' types don't appear to be available on linux. So I removed them. */ 50 50 static const char type_chars[16] ALIGN1 = "?pc?d?b?-?l?s???"; 51 /* 51 /***************************************** 0123456789abcdef */ 52 52 static const char mode_chars[7] ALIGN1 = "rwxSTst"; 53 53 54 const char *bb_mode_string(mode_t mode)54 const char* FAST_FUNC bb_mode_string(mode_t mode) 55 55 { 56 56 static char buf[12]; … … 89 89 * and 'B' types don't appear to be available on linux. So I removed them. */ 90 90 static const char type_chars[16] = "?pc?d?b?-?l?s???"; 91 /* 91 /********************************** 0123456789abcdef */ 92 92 static const char mode_chars[7] = "rwxSTst"; 93 93 94 const char *bb_mode_string(mode_t mode)94 const char* FAST_FUNC bb_mode_string(mode_t mode) 95 95 { 96 96 static char buf[12];
Note:
See TracChangeset
for help on using the changeset viewer.