|
From: | Markus Elfring |
Subject: | [bug-recutils] [bug #35742] Unsafe include guards |
Date: | Wed, 07 Mar 2012 14:50:32 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 |
URL: <http://savannah.gnu.org/bugs/?35742> Summary: Unsafe include guards Project: GNU recutils Submitted by: elfring Submitted on: Mi 07 Mär 2012 14:50:31 GMT Category: librec Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: I find your include guards "REC_H <http://git.savannah.gnu.org/cgit/recutils.git/tree/src/rec.h?id=fee10df9c7bb1ced38e93782a6391117d58f90a3#n26>" and REC_UTILS_H <http://git.savannah.gnu.org/cgit/recutils.git/tree/src/rec-utils.h?id=cb96f46a764a7f648a151ca623ddbff3247baf48#n26> too short. How do you think about to add an UUID <http://en.wikipedia.org/wiki/Universally_unique_identifier> to them so that the reuse of the header files will become safer <http://en.wikipedia.org/wiki/Include_guard#Difficulties>? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35742> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |