* 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:
Oliver Tappe
2008-10-16 13:51:45 +00:00
parent 85649f93c7
commit e1e083d584
+3
View File
@@ -176,6 +176,9 @@ label:
case '\0':
--format;
break;
case '0':
// ignore '0'-modifier supported by glibc for compatibility
goto label;
case 'A':
pt = _add((t->tm_wday < 0 ||
t->tm_wday >= DAYSPERWEEK) ?