* added skipping of '0'-modified supported by glibc (formats are padded
with zeros anyway) this fixes creation of unique file names in Beam under haiku git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28170 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -176,6 +176,9 @@ label:
|
|||||||
case '\0':
|
case '\0':
|
||||||
--format;
|
--format;
|
||||||
break;
|
break;
|
||||||
|
case '0':
|
||||||
|
// ignore '0'-modifier supported by glibc for compatibility
|
||||||
|
goto label;
|
||||||
case 'A':
|
case 'A':
|
||||||
pt = _add((t->tm_wday < 0 ||
|
pt = _add((t->tm_wday < 0 ||
|
||||||
t->tm_wday >= DAYSPERWEEK) ?
|
t->tm_wday >= DAYSPERWEEK) ?
|
||||||
|
|||||||
Reference in New Issue
Block a user