addes osinfo_* modules

This commit is contained in:
rumpf_a@web.de 2010-03-07 23:40:59 +01:00
commit a2d78c562c
5 changed files with 437 additions and 9 deletions

View file

@ -444,8 +444,7 @@ proc addf(s: var string, formatstr: string, a: openarray[string]) =
case formatstr[i+1] # again we use the fact that strings
# are zero-terminated here
of '#':
if not isNil(a[num]):
add s, a[num]
add s, a[num]
inc i, 2
inc num
of '$':