Permalink
Browse files

version: 1.2.10 bugfix & LGPL v3 -> LGPL v2.1

  • Loading branch information...
1 parent 5395842 commit 874bc2fb55a2998f05efbf749c6c824658d0dbb0 @HardySimpson committed Jul 13, 2013
Showing with 586 additions and 951 deletions.
  1. +497 −160 COPYING
  2. +2 −0 TODO
  3. +1 −12 src/buf.c
  4. +1 −12 src/buf.h
  5. +1 −12 src/category.c
  6. +1 −12 src/category.h
  7. +1 −12 src/category_table.c
  8. +1 −12 src/category_table.h
  9. +1 −12 src/conf.c
  10. +1 −12 src/conf.h
  11. +1 −12 src/event.c
  12. +1 −12 src/event.h
  13. +1 −12 src/format.c
  14. +1 −12 src/format.h
  15. +1 −12 src/level.c
  16. +1 −12 src/level.h
  17. +1 −12 src/level_list.c
  18. +1 −12 src/level_list.h
  19. +1 −1 src/makefile
  20. +1 −12 src/mdc.c
  21. +1 −12 src/mdc.h
  22. +1 −12 src/record.c
  23. +1 −12 src/record.h
  24. +1 −12 src/record_table.c
  25. +1 −12 src/record_table.h
  26. +1 −12 src/rotater.c
  27. +1 −12 src/rotater.h
  28. +1 −12 src/rule.c
  29. +1 −12 src/rule.h
  30. +1 −12 src/spec.c
  31. +1 −12 src/spec.h
  32. +1 −12 src/thread.c
  33. +1 −12 src/thread.h
  34. +1 −1 src/version.h
  35. +1 −12 src/zc_arraylist.c
  36. +1 −12 src/zc_arraylist.h
  37. +1 −12 src/zc_defs.h
  38. +1 −12 src/zc_hashtable.c
  39. +1 −12 src/zc_hashtable.h
  40. +1 −12 src/zc_profile.c
  41. +1 −12 src/zc_profile.h
  42. +1 −12 src/zc_util.c
  43. +1 −12 src/zc_util.h
  44. +1 −12 src/zc_xplatform.h
  45. +1 −12 src/zlog-chk-conf.c
  46. +1 −12 src/zlog.c
  47. +1 −12 src/zlog.h
  48. +2 −13 test/test_bitmap.c
  49. +2 −13 test/test_buf.c
  50. +2 −13 test/test_conf.c
  51. +2 −13 test/test_default.c
  52. +2 −13 test/test_hashtable.c
  53. +2 −13 test/test_hello.c
  54. +2 −13 test/test_hex.c
  55. +2 −13 test/test_init.c
  56. +2 −13 test/test_leak.c
  57. +2 −13 test/test_level.c
  58. +2 −13 test/test_mdc.c
  59. +2 −13 test/test_pipe.c
  60. +2 −13 test/test_press_syslog.c
  61. +2 −13 test/test_press_write.c
  62. +2 −13 test/test_press_write2.c
  63. +2 −13 test/test_press_zlog.c
  64. +2 −13 test/test_press_zlog2.c
  65. +2 −13 test/test_profile.c
  66. +2 −13 test/test_record.c
  67. +2 −13 test/test_syslog.c
  68. +2 −13 test/test_tmp.c
View
657 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
View
2 TODO
@@ -14,6 +14,8 @@
[ ] 和rsyslog对接的问题
[ ] linux fsync->fdatasync, open..
+--- 1.2.10 ---
+[o] bugfix, LGPL v3 -> LGPL v2.1
--- 1.2.8 ---
[o] gcc __attribute__宏,用于检查zlog的format输出格式
[o] 支持配置文件行中带#注释
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include <stdlib.h>
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zlog_buf_h
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include "fmacros.h"
#include <string.h>
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zlog_category_h
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include <string.h>
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zlog_category_table_h
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include "fmacros.h"
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zlog_conf_h
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include "fmacros.h"
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zlog_event_h
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include <stdio.h>
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zlog_format_h
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include <stdio.h>
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zlog_level_h
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include <stdio.h>
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zlog_level_list_h
View
@@ -1,6 +1,6 @@
# zlog makefile
# Copyright (C) 2010-2012 Hardy Simpson <HardySimpson1984@gmail.com>
-# This file is released under the LGPL license, see the COPYING file
+# This file is released under the LGPL 2.1 license, see the COPYING file
OBJ= \
buf.o \
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include <stdlib.h>
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#ifndef __zlog_mdc_h
View
@@ -3,18 +3,7 @@
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
- * The zlog Library is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * The zlog Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the LGPL v2.1, see the file COPYING in base directory.
*/
#include "errno.h"
#include "zc_defs.h"
Oops, something went wrong.

0 comments on commit 874bc2f

Please sign in to comment.