Changeset 810a36f in mainline for uspace/lib/c/generic
- Timestamp:
- 2017-10-24T05:29:08Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b1eb7ef
- Parents:
- c8fbbe7 (diff), 673ea28 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/c/generic
- Files:
-
- 5 edited
-
double_to_str.c (modified) (1 diff)
-
gsort.c (modified) (1 diff)
-
inet/addr.c (modified) (1 diff)
-
io/printf_core.c (modified) (4 diffs)
-
str.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/double_to_str.c
rc8fbbe7 r810a36f 32 32 #include <ieee_double.h> 33 33 34 #include <limits.h> 34 35 #include <stdint.h> 35 36 #include <stdbool.h> -
uspace/lib/c/generic/gsort.c
rc8fbbe7 r810a36f 41 41 42 42 #include <gsort.h> 43 #include <inttypes.h> 43 44 #include <mem.h> 44 45 #include <malloc.h> -
uspace/lib/c/generic/inet/addr.c
rc8fbbe7 r810a36f 41 41 #include <malloc.h> 42 42 #include <bitops.h> 43 #include <inttypes.h> 43 44 44 45 #define INET_PREFIXSTRSIZE 5 -
uspace/lib/c/generic/io/printf_core.c
rc8fbbe7 r810a36f 46 46 #include <assert.h> 47 47 #include <macros.h> 48 #include <wchar.h> 48 49 49 50 … … 114 115 PrintfQualifierLongLong, 115 116 PrintfQualifierPointer, 116 PrintfQualifierSize 117 PrintfQualifierSize, 118 PrintfQualifierMax 117 119 } qualifier_t; 118 120 … … 1484 1486 uc = str_decode(fmt, &nxt, STR_NO_LIMIT); 1485 1487 break; 1488 case 'j': 1489 qualifier = PrintfQualifierMax; 1490 i = nxt; 1491 uc = str_decode(fmt, &nxt, STR_NO_LIMIT); 1492 break; 1486 1493 default: 1487 1494 /* Default type */ … … 1629 1636 number = (uint64_t) va_arg(ap, size_t); 1630 1637 break; 1638 case PrintfQualifierMax: 1639 size = sizeof(uintmax_t); 1640 number = (uint64_t) va_arg(ap, uintmax_t); 1641 break; 1631 1642 default: 1632 1643 /* Unknown qualifier */ -
uspace/lib/c/generic/str.c
rc8fbbe7 r810a36f 46 46 #include <align.h> 47 47 #include <mem.h> 48 #include <limits.h> 48 49 49 50 /** Check the condition if wchar_t is signed */ 50 #ifdef WCHAR_IS_UNSIGNED51 #ifdef __WCHAR_UNSIGNED__ 51 52 #define WCHAR_SIGNED_CHECK(cond) (true) 52 53 #else
Note:
See TracChangeset
for help on using the changeset viewer.
