[Forensics-changes] [yara] 148/192: Add comment to misspelled define directive

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.6.0
in repository yara.

commit dac45955053e3650f9407e4bc50482bf025fb15e
Author: Victor Manuel Alvarez <vmalvarez at vmalvarez-macbookpro.roam.corp.google.com>
Date:   Tue Apr 25 08:57:03 2017 +0200

    Add comment to misspelled define directive
---
 libyara/include/yara/error.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libyara/include/yara/error.h b/libyara/include/yara/error.h
index a07c777..744bc37 100644
--- a/libyara/include/yara/error.h
+++ b/libyara/include/yara/error.h
@@ -40,8 +40,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define ERROR_SUCCESS                           0
 #endif
 
-#define ERROR_INSUFFICIENT_MEMORY               1
+// ERROR_INSUFICIENT_MEMORY is misspelled but it's kept for backward
+// compatibility, as some other programs can be using it in this form.
 #define ERROR_INSUFICIENT_MEMORY                1
+
+#define ERROR_INSUFFICIENT_MEMORY               1
 #define ERROR_COULD_NOT_ATTACH_TO_PROCESS       2
 #define ERROR_COULD_NOT_OPEN_FILE               3
 #define ERROR_COULD_NOT_MAP_FILE                4

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list