Changeset 1770 in MondoRescue for branches/stable/mindi-busybox/libbb/mode_string.c
- Timestamp:
- Nov 6, 2007, 11:01:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi-busybox/libbb/mode_string.c
r821 r1770 6 6 * 7 7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 8 *9 8 */ 10 9 … … 49 48 /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C', 50 49 * and 'B' types don't appear to be available on linux. So I removed them. */ 51 static const char type_chars[16] = "?pc?d?b?-?l?s???";50 static const char type_chars[16] ALIGN1 = "?pc?d?b?-?l?s???"; 52 51 /* 0123456789abcdef */ 53 static const char mode_chars[7] = "rwxSTst";52 static const char mode_chars[7] ALIGN1 = "rwxSTst"; 54 53 55 const char *bb_mode_string( int mode)54 const char *bb_mode_string(mode_t mode) 56 55 { 57 56 static char buf[12]; … … 93 92 static const char mode_chars[7] = "rwxSTst"; 94 93 95 const char *bb_mode_string( int mode)94 const char *bb_mode_string(mode_t mode) 96 95 { 97 96 static char buf[12];
Note:
See TracChangeset
for help on using the changeset viewer.