~hpcstack/hpcstack-conman/master

Viewing all changes in revision 502.

  • Committer: Chris Dunlap
  • Author(s): Mark Salyzyn
  • Date: 2013-01-03 22:35:19 UTC
  • Revision ID: git-v1:858ecb47c558ee4f81af91c06eaa5d514e5ea1a2
allow for strftime() %Z timezone to be >4 chars

In create_long_time_string(), the strftime() buffer reserves 4 bytes
for the %Z timezone abbreviation.  This limit is insufficient for some
locales (eg, "GMT-1").  The zoneinfo database shows some as long as
8 characters.

This increases the strftime() buffer to 32 bytes which reserves 11
bytes for the %Z timezone.

Fixes issue 16.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: