Skip to content

Commit

Permalink
Merge pull request #3463 from SSPkrolik/patch-1
Browse files Browse the repository at this point in the history
Issue #6050 fix
  • Loading branch information
WalterBright committed Apr 18, 2014
2 parents 49e855f + 1356ea3 commit 02eeed0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libelf.c
@@ -1,4 +1,3 @@

// Compiler implementation of the D programming language
// Copyright (c) 1999-2013 by Digital Mars
// All Rights Reserved
Expand Down Expand Up @@ -214,6 +213,8 @@ void OmToHeader(Header *h, ObjModule *om)
assert(len <= 6);
memset(h->user_id + len, ' ', 6 - len);

if (om->group_id > 999999)
om->group_id = 0;
len = sprintf(h->group_id, "%u", om->group_id);
assert(len <= 6);
memset(h->group_id + len, ' ', 6 - len);
Expand Down

0 comments on commit 02eeed0

Please sign in to comment.