[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memmem issues
From: |
Bruno Haible |
Subject: |
Re: memmem issues |
Date: |
Wed, 26 Dec 2007 16:05:25 +0100 |
User-agent: |
KMail/1.9.1 |
Eric Blake wrote:
> + * tests/test-memmem.c: Rewrite, borrowing ideas from
> + test-mbsstr1.c; the old version wouldn't even compile!
After the rewrite, there's no code left from the original test. I committed
this, to correct the attribution:
2007-12-23 Bruno Haible <address@hidden>
* tests/test-memmem.c: Include <string.h> first.
*** tests/test-memmem.c.orig 2007-12-23 11:24:15.000000000 +0100
--- tests/test-memmem.c 2007-12-23 11:21:20.000000000 +0100
***************
*** 1,6 ****
/*
* Copyright (C) 2004, 2007 Free Software Foundation
! * Written by Simon Josefsson
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- 1,6 ----
/*
* Copyright (C) 2004, 2007 Free Software Foundation
! * Written by Bruno Haible and Eric Blake
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
***************
*** 17,24 ****
#include <config.h>
- #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define ASSERT(expr) \
--- 17,25 ----
#include <config.h>
#include <string.h>
+
+ #include <stdio.h>
#include <stdlib.h>
#define ASSERT(expr) \
- Re: memmem issues, (continued)
Re: memmem issues,
Bruno Haible <=
Re: memmem issues, Bruno Haible, 2007/12/26
Re: memmem issues, Bruno Haible, 2007/12/21