diff --git a/qse/cmd/awk/awk.c b/qse/cmd/awk/awk.c index 94f169fc..0ebecb98 100644 --- a/qse/cmd/awk/awk.c +++ b/qse/cmd/awk/awk.c @@ -1,7 +1,7 @@ /* * $Id: awk.c 549 2011-08-14 09:07:31Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/cmd/cut/cut.c b/qse/cmd/cut/cut.c index d8a5c509..0b90c747 100644 --- a/qse/cmd/cut/cut.c +++ b/qse/cmd/cut/cut.c @@ -1,7 +1,7 @@ /** * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/cmd/sed/sed.c b/qse/cmd/sed/sed.c index b50d48a2..1776fafe 100644 --- a/qse/cmd/sed/sed.c +++ b/qse/cmd/sed/sed.c @@ -1,7 +1,7 @@ /** * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/Types.hpp b/qse/include/qse/Types.hpp index 0d66d4d6..f7063669 100644 --- a/qse/include/qse/Types.hpp +++ b/qse/include/qse/Types.hpp @@ -1,7 +1,7 @@ /* * $Id: Sed.hpp 127 2009-05-07 13:15:04Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/awk/Awk.hpp b/qse/include/qse/awk/Awk.hpp index fef9d2bc..0d207bdc 100644 --- a/qse/include/qse/awk/Awk.hpp +++ b/qse/include/qse/awk/Awk.hpp @@ -1,7 +1,7 @@ /* * $Id: Awk.hpp 570 2011-09-20 04:40:45Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/awk/StdAwk.hpp b/qse/include/qse/awk/StdAwk.hpp index 7729b688..15411ef0 100644 --- a/qse/include/qse/awk/StdAwk.hpp +++ b/qse/include/qse/awk/StdAwk.hpp @@ -1,7 +1,7 @@ /* * $Id: StdAwk.hpp 516 2011-07-23 09:03:48Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/awk/awk.h b/qse/include/qse/awk/awk.h index cb68e265..c8638393 100644 --- a/qse/include/qse/awk/awk.h +++ b/qse/include/qse/awk/awk.h @@ -1,7 +1,7 @@ /* * $Id: awk.h 570 2011-09-20 04:40:45Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/awk/std.h b/qse/include/qse/awk/std.h index fe9995ed..958619d3 100644 --- a/qse/include/qse/awk/std.h +++ b/qse/include/qse/awk/std.h @@ -1,7 +1,7 @@ /* * $Id: std.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/Mmged.hpp b/qse/include/qse/cmn/Mmged.hpp index 23465a88..d6621cd3 100644 --- a/qse/include/qse/cmn/Mmged.hpp +++ b/qse/include/qse/cmn/Mmged.hpp @@ -1,7 +1,7 @@ /* * $Id: Sed.hpp 127 2009-05-07 13:15:04Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/Mmgr.hpp b/qse/include/qse/cmn/Mmgr.hpp index ab762b1e..9f39f8ce 100644 --- a/qse/include/qse/cmn/Mmgr.hpp +++ b/qse/include/qse/cmn/Mmgr.hpp @@ -1,7 +1,7 @@ /* * $Id: Sed.hpp 127 2009-05-07 13:15:04Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/StdMmgr.hpp b/qse/include/qse/cmn/StdMmgr.hpp index c26951c7..6e0dc090 100644 --- a/qse/include/qse/cmn/StdMmgr.hpp +++ b/qse/include/qse/cmn/StdMmgr.hpp @@ -1,7 +1,7 @@ /* * $Id: Sed.hpp 127 2009-05-07 13:15:04Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/alg.h b/qse/include/qse/cmn/alg.h index d3dbc865..524f5736 100644 --- a/qse/include/qse/cmn/alg.h +++ b/qse/include/qse/cmn/alg.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/chr.h b/qse/include/qse/cmn/chr.h index a1b1fd76..daf01079 100644 --- a/qse/include/qse/cmn/chr.h +++ b/qse/include/qse/cmn/chr.h @@ -1,7 +1,7 @@ /* * $Id: chr.h 555 2011-08-24 06:54:19Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/cp949.h b/qse/include/qse/cmn/cp949.h index fa22f252..39a5c8a4 100644 --- a/qse/include/qse/cmn/cp949.h +++ b/qse/include/qse/cmn/cp949.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/cp950.h b/qse/include/qse/cmn/cp950.h index 075049c9..4a2f41da 100644 --- a/qse/include/qse/cmn/cp950.h +++ b/qse/include/qse/cmn/cp950.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/dll.h b/qse/include/qse/cmn/dll.h index 44413688..1416ac9c 100644 --- a/qse/include/qse/cmn/dll.h +++ b/qse/include/qse/cmn/dll.h @@ -1,7 +1,7 @@ /* * $Id: dll.h 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/env.h b/qse/include/qse/cmn/env.h index c2160373..496f2544 100644 --- a/qse/include/qse/cmn/env.h +++ b/qse/include/qse/cmn/env.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/fio.h b/qse/include/qse/cmn/fio.h index 8921b166..ef40e5dc 100644 --- a/qse/include/qse/cmn/fio.h +++ b/qse/include/qse/cmn/fio.h @@ -1,7 +1,7 @@ /* * $Id: fio.h 569 2011-09-19 06:51:02Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/fma.h b/qse/include/qse/cmn/fma.h index 19b6a239..eb95caa1 100644 --- a/qse/include/qse/cmn/fma.h +++ b/qse/include/qse/cmn/fma.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/fmt.h b/qse/include/qse/cmn/fmt.h index 5f089305..a8e445b3 100644 --- a/qse/include/qse/cmn/fmt.h +++ b/qse/include/qse/cmn/fmt.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/fs.h b/qse/include/qse/cmn/fs.h index 4ac66479..2fd8e517 100644 --- a/qse/include/qse/cmn/fs.h +++ b/qse/include/qse/cmn/fs.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/gdl.h b/qse/include/qse/cmn/gdl.h index b5c1f3b3..eccc0d62 100644 --- a/qse/include/qse/cmn/gdl.h +++ b/qse/include/qse/cmn/gdl.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/htb.h b/qse/include/qse/cmn/htb.h index 3047b02d..a0dcae18 100644 --- a/qse/include/qse/cmn/htb.h +++ b/qse/include/qse/cmn/htb.h @@ -1,7 +1,7 @@ /* * $Id: htb.h 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/hton.h b/qse/include/qse/cmn/hton.h index 46db5a90..5f86d4bc 100644 --- a/qse/include/qse/cmn/hton.h +++ b/qse/include/qse/cmn/hton.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/ipad.h b/qse/include/qse/cmn/ipad.h index 1eee5462..ed8297f8 100644 --- a/qse/include/qse/cmn/ipad.h +++ b/qse/include/qse/cmn/ipad.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/lda.h b/qse/include/qse/cmn/lda.h index 9de8325b..fcd6a7da 100644 --- a/qse/include/qse/cmn/lda.h +++ b/qse/include/qse/cmn/lda.h @@ -1,7 +1,7 @@ /* * $Id: lda.h 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/main.h b/qse/include/qse/cmn/main.h index 37900611..b38e1af4 100644 --- a/qse/include/qse/cmn/main.h +++ b/qse/include/qse/cmn/main.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/map.h b/qse/include/qse/cmn/map.h index a03ec6ee..ac1e545f 100644 --- a/qse/include/qse/cmn/map.h +++ b/qse/include/qse/cmn/map.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/mbwc.h b/qse/include/qse/cmn/mbwc.h index cda0d9e1..0f3e153e 100644 --- a/qse/include/qse/cmn/mbwc.h +++ b/qse/include/qse/cmn/mbwc.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/mem.h b/qse/include/qse/cmn/mem.h index 4052eb9d..44417179 100644 --- a/qse/include/qse/cmn/mem.h +++ b/qse/include/qse/cmn/mem.h @@ -1,7 +1,7 @@ /* * $Id: mem.h 549 2011-08-14 09:07:31Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/nwad.h b/qse/include/qse/cmn/nwad.h index 06b3212d..1ed77cfe 100644 --- a/qse/include/qse/cmn/nwad.h +++ b/qse/include/qse/cmn/nwad.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/nwio.h b/qse/include/qse/cmn/nwio.h index c296b526..31776a2f 100644 --- a/qse/include/qse/cmn/nwio.h +++ b/qse/include/qse/cmn/nwio.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/oht.h b/qse/include/qse/cmn/oht.h index bf1be50e..cf5985df 100644 --- a/qse/include/qse/cmn/oht.h +++ b/qse/include/qse/cmn/oht.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/opt.h b/qse/include/qse/cmn/opt.h index 997a9b5e..92c0e9e2 100644 --- a/qse/include/qse/cmn/opt.h +++ b/qse/include/qse/cmn/opt.h @@ -1,7 +1,7 @@ /* * $Id: opt.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/path.h b/qse/include/qse/cmn/path.h index e78cf747..706852f8 100644 --- a/qse/include/qse/cmn/path.h +++ b/qse/include/qse/cmn/path.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/pio.h b/qse/include/qse/cmn/pio.h index 5b51912d..aad4990a 100644 --- a/qse/include/qse/cmn/pio.h +++ b/qse/include/qse/cmn/pio.h @@ -1,7 +1,7 @@ /* * $Id: pio.h 565 2011-09-11 02:48:21Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/pma.h b/qse/include/qse/cmn/pma.h index 683c84cd..e38382b9 100644 --- a/qse/include/qse/cmn/pma.h +++ b/qse/include/qse/cmn/pma.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify @@ -47,7 +47,10 @@ struct qse_pma_blk_t }; /** - * The qse_pma_t type defines a pool-base block allocator. + * The qse_pma_t type defines a pool-based block allocator. You can allocate + * blocks of memories but you can't resize or free individual blocks allocated. + * Instead, you can destroy the whole pool once you're done with all the + * blocks allocated. */ typedef struct qse_pma_t qse_pma_t; @@ -69,42 +72,71 @@ extern "C" { QSE_DEFINE_COMMON_FUNCTIONS (pma) +/** + * The qse_pma_open() function creates a pool-based memory allocator. + */ qse_pma_t* qse_pma_open ( qse_mmgr_t* mmgr, /**< memory manager */ qse_size_t xtnsize /**< extension size in bytes */ ); +/** + * The qse_pma_close() function destroys a pool-based memory allocator. + */ void qse_pma_close ( qse_pma_t* pma /**< memory allocator */ ); int qse_pma_init ( - qse_pma_t* pma, /**< memory allocator */ - qse_mmgr_t* mmgr /**< memory manager */ + qse_pma_t* pma, /**< memory allocator */ + qse_mmgr_t* mmgr /**< memory manager */ ); void qse_pma_fini ( qse_pma_t* pma /**< memory allocator */ ); +/** + * The qse_pma_clear() function frees all the allocated memory blocks + * by freeing the entire memory pool. + */ +void qse_pma_clear ( + qse_pma_t* pma /**< memory allocator */ +); +/** + * The qse_pma_alloc() function allocates a memory block of the @a size bytes. + * @return pointer to a allocated block on success, #QSE_NULL on failure. + */ void* qse_pma_alloc ( - qse_pma_t* pma, - qse_size_t size + qse_pma_t* pma, /**< memory allocator */ + qse_size_t size /**< block size */ ); +/** + * The qse_pma_alloc() function allocates a memory block of the @a size bytes + * and initializes the whole block with 0. + * @return pointer to a allocated block on success, #QSE_NULL on failure. + */ void* qse_pma_calloc ( - qse_pma_t* pma, - qse_size_t size + qse_pma_t* pma, /**< memory allocator */ + qse_size_t size /**< block size */ ); - +/** + * The qse_pma_free() function is provided for completeness, and doesn't + * resize an individual block @a blk. + */ void* qse_pma_realloc ( qse_pma_t* pma, /**< memory allocator */ void* blk, /**< memory block */ qse_size_t size /**< new size in bytes */ ); +/** + * The qse_pma_free() function is provided for completeness, and doesn't + * free an individual block @a blk. + */ void qse_pma_free ( qse_pma_t* pma, /**< memory allocator */ void* blk /**< memory block */ diff --git a/qse/include/qse/cmn/rbt.h b/qse/include/qse/cmn/rbt.h index e7aebe58..da055152 100644 --- a/qse/include/qse/cmn/rbt.h +++ b/qse/include/qse/cmn/rbt.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/rex.h b/qse/include/qse/cmn/rex.h index ef400d52..8dbfee65 100644 --- a/qse/include/qse/cmn/rex.h +++ b/qse/include/qse/cmn/rex.h @@ -1,7 +1,7 @@ /* * $Id: rex.h 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/sio.h b/qse/include/qse/cmn/sio.h index 893159e1..5f64babb 100644 --- a/qse/include/qse/cmn/sio.h +++ b/qse/include/qse/cmn/sio.h @@ -1,7 +1,7 @@ /* * $Id: sio.h 569 2011-09-19 06:51:02Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/sll.h b/qse/include/qse/cmn/sll.h index c5fbf61c..651ed6dd 100644 --- a/qse/include/qse/cmn/sll.h +++ b/qse/include/qse/cmn/sll.h @@ -1,7 +1,7 @@ /* * $Id: sll.h 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/slmb.h b/qse/include/qse/cmn/slmb.h index aeecc92b..a6dce50c 100644 --- a/qse/include/qse/cmn/slmb.h +++ b/qse/include/qse/cmn/slmb.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/stdio.h b/qse/include/qse/cmn/stdio.h index d40690eb..934d7fa5 100644 --- a/qse/include/qse/cmn/stdio.h +++ b/qse/include/qse/cmn/stdio.h @@ -1,7 +1,7 @@ /* * $Id: stdio.h 419 2008-10-13 11:32:58Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/str.h b/qse/include/qse/cmn/str.h index dc95be47..6ad89eb5 100644 --- a/qse/include/qse/cmn/str.h +++ b/qse/include/qse/cmn/str.h @@ -1,7 +1,7 @@ /* * $Id: str.h 576 2011-09-23 14:52:22Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/time.h b/qse/include/qse/cmn/time.h index 8c359a96..85a87594 100644 --- a/qse/include/qse/cmn/time.h +++ b/qse/include/qse/cmn/time.h @@ -1,7 +1,7 @@ /* * $Id: time.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/tio.h b/qse/include/qse/cmn/tio.h index db00e89a..a1ab2f33 100644 --- a/qse/include/qse/cmn/tio.h +++ b/qse/include/qse/cmn/tio.h @@ -1,7 +1,7 @@ /* * $Id: tio.h 565 2011-09-11 02:48:21Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/tre.h b/qse/include/qse/cmn/tre.h index 9657ab5e..4630bff3 100644 --- a/qse/include/qse/cmn/tre.h +++ b/qse/include/qse/cmn/tre.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/utf8.h b/qse/include/qse/cmn/utf8.h index 19bf55c7..1476383a 100644 --- a/qse/include/qse/cmn/utf8.h +++ b/qse/include/qse/cmn/utf8.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cmn/xma.h b/qse/include/qse/cmn/xma.h index d404a58d..d0dc5793 100644 --- a/qse/include/qse/cmn/xma.h +++ b/qse/include/qse/cmn/xma.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/conf_dos.h b/qse/include/qse/conf_dos.h index 9042b25b..14acd4d7 100644 --- a/qse/include/qse/conf_dos.h +++ b/qse/include/qse/conf_dos.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/conf_msw.h b/qse/include/qse/conf_msw.h index 71279ea1..d4b6edde 100644 --- a/qse/include/qse/conf_msw.h +++ b/qse/include/qse/conf_msw.h @@ -1,7 +1,7 @@ /* * $Id: conf_msw.h 561 2011-09-07 07:17:05Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/conf_os2.h b/qse/include/qse/conf_os2.h index 36c3d0bf..d52e2883 100644 --- a/qse/include/qse/conf_os2.h +++ b/qse/include/qse/conf_os2.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/conf_vms.h b/qse/include/qse/conf_vms.h index a8c4d73e..0337f564 100644 --- a/qse/include/qse/conf_vms.h +++ b/qse/include/qse/conf_vms.h @@ -1,7 +1,7 @@ /* * $Id: conf_vms.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cut/Cut.hpp b/qse/include/qse/cut/Cut.hpp index 9417f3e4..a258aa26 100644 --- a/qse/include/qse/cut/Cut.hpp +++ b/qse/include/qse/cut/Cut.hpp @@ -1,7 +1,7 @@ /* * $Id: Cut.hpp 319 2009-12-19 03:06:28Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cut/StdCut.hpp b/qse/include/qse/cut/StdCut.hpp index 7198b4b8..c7be2bc8 100644 --- a/qse/include/qse/cut/StdCut.hpp +++ b/qse/include/qse/cut/StdCut.hpp @@ -1,7 +1,7 @@ /* * $Id: StdCut.hpp 319 2009-12-19 03:06:28Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cut/cut.h b/qse/include/qse/cut/cut.h index 0ef9eb2b..6d01caf3 100644 --- a/qse/include/qse/cut/cut.h +++ b/qse/include/qse/cut/cut.h @@ -1,7 +1,7 @@ /* * $Id: cut.h 287 2009-09-15 10:01:02Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/cut/std.h b/qse/include/qse/cut/std.h index cf7eeee0..a0408a52 100644 --- a/qse/include/qse/cut/std.h +++ b/qse/include/qse/cut/std.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/macros.h b/qse/include/qse/macros.h index 96ad180b..4479faeb 100644 --- a/qse/include/qse/macros.h +++ b/qse/include/qse/macros.h @@ -1,7 +1,7 @@ /* * $Id: macros.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/net/htrd.h b/qse/include/qse/net/htrd.h index 48f11ea4..74e6128f 100644 --- a/qse/include/qse/net/htrd.h +++ b/qse/include/qse/net/htrd.h @@ -1,7 +1,7 @@ /* * $Id: htrd.h 223 2008-06-26 06:44:41Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/net/htre.h b/qse/include/qse/net/htre.h index 89e3c3c9..f44b3725 100644 --- a/qse/include/qse/net/htre.h +++ b/qse/include/qse/net/htre.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/net/http.h b/qse/include/qse/net/http.h index a3c13daa..2719c159 100644 --- a/qse/include/qse/net/http.h +++ b/qse/include/qse/net/http.h @@ -1,7 +1,7 @@ /* * $Id: http.h 223 2008-06-26 06:44:41Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/net/httpd.h b/qse/include/qse/net/httpd.h index aaad49ac..c332ae04 100644 --- a/qse/include/qse/net/httpd.h +++ b/qse/include/qse/net/httpd.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/net/upxd.h b/qse/include/qse/net/upxd.h index 9732b200..e690b276 100644 --- a/qse/include/qse/net/upxd.h +++ b/qse/include/qse/net/upxd.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/pack1.h b/qse/include/qse/pack1.h index 0f8668a4..3babb98c 100644 --- a/qse/include/qse/pack1.h +++ b/qse/include/qse/pack1.h @@ -1,7 +1,7 @@ /* * $Id: pack1.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/pack2.h b/qse/include/qse/pack2.h index 5f6ca8ef..5722a399 100644 --- a/qse/include/qse/pack2.h +++ b/qse/include/qse/pack2.h @@ -1,7 +1,7 @@ /* * $Id: pack2.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/sed/Sed.hpp b/qse/include/qse/sed/Sed.hpp index f1f48d25..541f2e1c 100644 --- a/qse/include/qse/sed/Sed.hpp +++ b/qse/include/qse/sed/Sed.hpp @@ -1,7 +1,7 @@ /* * $Id: Sed.hpp 571 2011-09-20 14:04:48Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/sed/StdSed.hpp b/qse/include/qse/sed/StdSed.hpp index 75907ee2..7bde8985 100644 --- a/qse/include/qse/sed/StdSed.hpp +++ b/qse/include/qse/sed/StdSed.hpp @@ -1,7 +1,7 @@ /* * $Id: StdSed.hpp 507 2011-07-15 15:53:49Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/sed/sed.h b/qse/include/qse/sed/sed.h index 3f468eb9..50de43c9 100644 --- a/qse/include/qse/sed/sed.h +++ b/qse/include/qse/sed/sed.h @@ -1,7 +1,7 @@ /* * $Id: sed.h 576 2011-09-23 14:52:22Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/sed/std.h b/qse/include/qse/sed/std.h index d8cefce1..9235cb97 100644 --- a/qse/include/qse/sed/std.h +++ b/qse/include/qse/sed/std.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/stx/stx.h b/qse/include/qse/stx/stx.h index 752d8278..a77202a1 100644 --- a/qse/include/qse/stx/stx.h +++ b/qse/include/qse/stx/stx.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/types.h b/qse/include/qse/types.h index 144262e6..4f291b3a 100644 --- a/qse/include/qse/types.h +++ b/qse/include/qse/types.h @@ -1,7 +1,7 @@ /* * $Id: types.h 560 2011-09-06 14:18:36Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/include/qse/unpack.h b/qse/include/qse/unpack.h index 85b5ccac..7d0e14ff 100644 --- a/qse/include/qse/unpack.h +++ b/qse/include/qse/unpack.h @@ -1,7 +1,7 @@ /* * $Id: unpack.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/Awk.cpp b/qse/lib/awk/Awk.cpp index 45047494..26974ee1 100644 --- a/qse/lib/awk/Awk.cpp +++ b/qse/lib/awk/Awk.cpp @@ -1,7 +1,7 @@ /* * $Id: Awk.cpp 570 2011-09-20 04:40:45Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/StdAwk.cpp b/qse/lib/awk/StdAwk.cpp index 9c2fd112..dd6efd5c 100644 --- a/qse/lib/awk/StdAwk.cpp +++ b/qse/lib/awk/StdAwk.cpp @@ -1,7 +1,7 @@ /* * $Id: StdAwk.cpp 538 2011-08-09 16:08:26Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/awk.c b/qse/lib/awk/awk.c index bba5e005..13ad6855 100644 --- a/qse/lib/awk/awk.c +++ b/qse/lib/awk/awk.c @@ -1,7 +1,7 @@ /* * $Id: awk.c 474 2011-05-23 16:52:37Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/awk.h b/qse/lib/awk/awk.h index 1bef86c3..42a0547e 100644 --- a/qse/lib/awk/awk.h +++ b/qse/lib/awk/awk.h @@ -1,7 +1,7 @@ /* * $Id: awk.h 483 2011-05-25 15:25:51Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/err.c b/qse/lib/awk/err.c index e7bee65c..71c46a1f 100644 --- a/qse/lib/awk/err.c +++ b/qse/lib/awk/err.c @@ -1,7 +1,7 @@ /* * $Id: err.c 568 2011-09-17 15:41:26Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/err.h b/qse/lib/awk/err.h index 50422e77..dd610c30 100644 --- a/qse/lib/awk/err.h +++ b/qse/lib/awk/err.h @@ -1,7 +1,7 @@ /* * $Id: misc.h 135 2009-05-15 13:31:43Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/fnc.c b/qse/lib/awk/fnc.c index 641c6f85..341c2b70 100644 --- a/qse/lib/awk/fnc.c +++ b/qse/lib/awk/fnc.c @@ -1,7 +1,7 @@ /* * $Id: fnc.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/fnc.h b/qse/lib/awk/fnc.h index a7a3d04f..04ead848 100644 --- a/qse/lib/awk/fnc.h +++ b/qse/lib/awk/fnc.h @@ -1,7 +1,7 @@ /* * $Id: fnc.h 473 2011-05-23 03:38:03Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/misc.c b/qse/lib/awk/misc.c index cf6032f7..d95a76d0 100644 --- a/qse/lib/awk/misc.c +++ b/qse/lib/awk/misc.c @@ -1,7 +1,7 @@ /* * $Id: misc.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/misc.h b/qse/lib/awk/misc.h index d149e25c..81ccc7c6 100644 --- a/qse/lib/awk/misc.h +++ b/qse/lib/awk/misc.h @@ -1,7 +1,7 @@ /* * $Id: misc.h 515 2011-07-22 15:43:03Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/parse.c b/qse/lib/awk/parse.c index 1945ed07..11ed35d0 100644 --- a/qse/lib/awk/parse.c +++ b/qse/lib/awk/parse.c @@ -1,7 +1,7 @@ /* * $Id: parse.c 554 2011-08-22 05:26:26Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/parse.h b/qse/lib/awk/parse.h index 9fd13764..5a6e63b7 100644 --- a/qse/lib/awk/parse.h +++ b/qse/lib/awk/parse.h @@ -1,7 +1,7 @@ /* * $Id: parse.h 474 2011-05-23 16:52:37Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/rec.c b/qse/lib/awk/rec.c index 5b86ec39..24b62d5b 100644 --- a/qse/lib/awk/rec.c +++ b/qse/lib/awk/rec.c @@ -1,7 +1,7 @@ /* * $Id: rec.c 480 2011-05-25 14:00:19Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/rio.c b/qse/lib/awk/rio.c index a4bffda7..d20e0e25 100644 --- a/qse/lib/awk/rio.c +++ b/qse/lib/awk/rio.c @@ -1,7 +1,7 @@ /* * $Id: rio.c 480 2011-05-25 14:00:19Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/rio.h b/qse/lib/awk/rio.h index f97b3c32..df453c47 100644 --- a/qse/lib/awk/rio.h +++ b/qse/lib/awk/rio.h @@ -1,7 +1,7 @@ /* * $Id: rio.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/run.c b/qse/lib/awk/run.c index 76dc9a4b..e9527d34 100644 --- a/qse/lib/awk/run.c +++ b/qse/lib/awk/run.c @@ -1,7 +1,7 @@ /* * $Id: run.c 570 2011-09-20 04:40:45Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/run.h b/qse/lib/awk/run.h index d6e79ccd..8269856b 100644 --- a/qse/lib/awk/run.h +++ b/qse/lib/awk/run.h @@ -1,7 +1,7 @@ /* * $Id: run.h 551 2011-08-15 13:52:48Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/std.c b/qse/lib/awk/std.c index 9585e1b3..fcd3dc7f 100644 --- a/qse/lib/awk/std.c +++ b/qse/lib/awk/std.c @@ -1,7 +1,7 @@ /* * $Id: std.c 538 2011-08-09 16:08:26Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/tree.c b/qse/lib/awk/tree.c index 8893a1fd..6a4b0508 100644 --- a/qse/lib/awk/tree.c +++ b/qse/lib/awk/tree.c @@ -1,7 +1,7 @@ /* * $Id: tree.c 514 2011-07-22 15:37:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/tree.h b/qse/lib/awk/tree.h index 8a441fde..325d3be5 100644 --- a/qse/lib/awk/tree.h +++ b/qse/lib/awk/tree.h @@ -1,7 +1,7 @@ /* * $Id: tree.h 485 2011-05-29 15:15:52Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/val.c b/qse/lib/awk/val.c index 4cf58f0b..ae013d07 100644 --- a/qse/lib/awk/val.c +++ b/qse/lib/awk/val.c @@ -1,7 +1,7 @@ /* * $Id: val.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/awk/val.h b/qse/lib/awk/val.h index 8b5ffedc..46d119e7 100644 --- a/qse/lib/awk/val.h +++ b/qse/lib/awk/val.h @@ -1,7 +1,7 @@ /* * $Id: val.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/Mmgr.cpp b/qse/lib/cmn/Mmgr.cpp index d4d2a45f..f01d86f1 100644 --- a/qse/lib/cmn/Mmgr.cpp +++ b/qse/lib/cmn/Mmgr.cpp @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/StdMmgr.cpp b/qse/lib/cmn/StdMmgr.cpp index fa0a38be..d291324c 100644 --- a/qse/lib/cmn/StdMmgr.cpp +++ b/qse/lib/cmn/StdMmgr.cpp @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/alg-rand.c b/qse/lib/cmn/alg-rand.c index 709e090f..60f4f05c 100644 --- a/qse/lib/cmn/alg-rand.c +++ b/qse/lib/cmn/alg-rand.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/alg-search.c b/qse/lib/cmn/alg-search.c index 02c4419b..0bec1c87 100644 --- a/qse/lib/cmn/alg-search.c +++ b/qse/lib/cmn/alg-search.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/alg-sort.c b/qse/lib/cmn/alg-sort.c index f5962c60..85cad674 100644 --- a/qse/lib/cmn/alg-sort.c +++ b/qse/lib/cmn/alg-sort.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/assert.c b/qse/lib/cmn/assert.c index f8f3806e..7338ec01 100644 --- a/qse/lib/cmn/assert.c +++ b/qse/lib/cmn/assert.c @@ -1,7 +1,7 @@ /* * $Id: assert.c 223 2008-06-26 06:44:41Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/chr.c b/qse/lib/cmn/chr.c index 1c6c86af..49b3757f 100644 --- a/qse/lib/cmn/chr.c +++ b/qse/lib/cmn/chr.c @@ -1,7 +1,7 @@ /* * $Id: chr.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/cp949.c b/qse/lib/cmn/cp949.c index 3691e7a1..a5537c56 100644 --- a/qse/lib/cmn/cp949.c +++ b/qse/lib/cmn/cp949.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/cp950.c b/qse/lib/cmn/cp950.c index fcef205f..7e1e9c48 100644 --- a/qse/lib/cmn/cp950.c +++ b/qse/lib/cmn/cp950.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/dll.c b/qse/lib/cmn/dll.c index 5993a7f9..9319ceeb 100644 --- a/qse/lib/cmn/dll.c +++ b/qse/lib/cmn/dll.c @@ -1,7 +1,7 @@ /* * $Id: dll.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/env.c b/qse/lib/cmn/env.c index e0c9bfe4..19b9ab1a 100644 --- a/qse/lib/cmn/env.c +++ b/qse/lib/cmn/env.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/fio.c b/qse/lib/cmn/fio.c index 01760a3e..a30ea760 100644 --- a/qse/lib/cmn/fio.c +++ b/qse/lib/cmn/fio.c @@ -1,7 +1,7 @@ /* * $Id: fio.c 569 2011-09-19 06:51:02Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/fma.c b/qse/lib/cmn/fma.c index 5c75287a..27da0b08 100644 --- a/qse/lib/cmn/fma.c +++ b/qse/lib/cmn/fma.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/fmt.c b/qse/lib/cmn/fmt.c index 593242f1..17b15388 100644 --- a/qse/lib/cmn/fmt.c +++ b/qse/lib/cmn/fmt.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/fs-err.c b/qse/lib/cmn/fs-err.c index 189ab221..8e892e0a 100644 --- a/qse/lib/cmn/fs-err.c +++ b/qse/lib/cmn/fs-err.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/fs-move.c b/qse/lib/cmn/fs-move.c index e30a7be9..ab771fa7 100644 --- a/qse/lib/cmn/fs-move.c +++ b/qse/lib/cmn/fs-move.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/fs.c b/qse/lib/cmn/fs.c index 31706655..7d27a78e 100644 --- a/qse/lib/cmn/fs.c +++ b/qse/lib/cmn/fs.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/fs.h b/qse/lib/cmn/fs.h index 7c01bf8d..7ffd6151 100644 --- a/qse/lib/cmn/fs.h +++ b/qse/lib/cmn/fs.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/gdl.c b/qse/lib/cmn/gdl.c index ad24c8ca..43de8a6d 100644 --- a/qse/lib/cmn/gdl.c +++ b/qse/lib/cmn/gdl.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/htb.c b/qse/lib/cmn/htb.c index a5365018..520e0020 100644 --- a/qse/lib/cmn/htb.c +++ b/qse/lib/cmn/htb.c @@ -1,7 +1,7 @@ /* * $Id: htb.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/hton.c b/qse/lib/cmn/hton.c index 616b30ba..2f9d7281 100644 --- a/qse/lib/cmn/hton.c +++ b/qse/lib/cmn/hton.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/ipad.c b/qse/lib/cmn/ipad.c index 7d3ea237..41701ff8 100644 --- a/qse/lib/cmn/ipad.c +++ b/qse/lib/cmn/ipad.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/lda.c b/qse/lib/cmn/lda.c index 1379f54f..094b1feb 100644 --- a/qse/lib/cmn/lda.c +++ b/qse/lib/cmn/lda.c @@ -1,7 +1,7 @@ /* * $Id: lda.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/main.c b/qse/lib/cmn/main.c index 68d7405f..fd390c99 100644 --- a/qse/lib/cmn/main.c +++ b/qse/lib/cmn/main.c @@ -1,7 +1,7 @@ /* * $Id: main.c 463 2008-12-09 06:52:03Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/mbwc-str.c b/qse/lib/cmn/mbwc-str.c index 4611e738..23671c59 100644 --- a/qse/lib/cmn/mbwc-str.c +++ b/qse/lib/cmn/mbwc-str.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/mbwc.c b/qse/lib/cmn/mbwc.c index 21566306..4e3bdee0 100644 --- a/qse/lib/cmn/mbwc.c +++ b/qse/lib/cmn/mbwc.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/mem.c b/qse/lib/cmn/mem.c index 0f789e40..4e1ee2c8 100644 --- a/qse/lib/cmn/mem.c +++ b/qse/lib/cmn/mem.c @@ -1,7 +1,7 @@ /* * $Id: mem.c 549 2011-08-14 09:07:31Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/mem.h b/qse/lib/cmn/mem.h index 551cdcaa..c411929c 100644 --- a/qse/lib/cmn/mem.h +++ b/qse/lib/cmn/mem.h @@ -1,7 +1,7 @@ /* * $Id: mem.h 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/nwad.c b/qse/lib/cmn/nwad.c index 2ce1dacd..eecb999e 100644 --- a/qse/lib/cmn/nwad.c +++ b/qse/lib/cmn/nwad.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/nwio.c b/qse/lib/cmn/nwio.c index d5ae8bcd..b09e252c 100644 --- a/qse/lib/cmn/nwio.c +++ b/qse/lib/cmn/nwio.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/opt.c b/qse/lib/cmn/opt.c index af9307a9..3b926e86 100644 --- a/qse/lib/cmn/opt.c +++ b/qse/lib/cmn/opt.c @@ -1,7 +1,7 @@ /* * $Id: opt.c 550 2011-08-14 15:59:55Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/path-basename.c b/qse/lib/cmn/path-basename.c index c8da9093..3e3c832a 100644 --- a/qse/lib/cmn/path-basename.c +++ b/qse/lib/cmn/path-basename.c @@ -1,7 +1,7 @@ /* * $Id: misc.c 451 2011-05-03 14:00:38Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/path-canon.c b/qse/lib/cmn/path-canon.c index 7711c1b2..4610b2ff 100644 --- a/qse/lib/cmn/path-canon.c +++ b/qse/lib/cmn/path-canon.c @@ -1,7 +1,7 @@ /* * $Id * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/pio.c b/qse/lib/cmn/pio.c index 74cacce5..0d83a655 100644 --- a/qse/lib/cmn/pio.c +++ b/qse/lib/cmn/pio.c @@ -1,7 +1,7 @@ /* * $Id: pio.c 565 2011-09-11 02:48:21Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/pma.c b/qse/lib/cmn/pma.c index d2895de6..3f0fe063 100644 --- a/qse/lib/cmn/pma.c +++ b/qse/lib/cmn/pma.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify @@ -75,23 +75,30 @@ int qse_pma_init (qse_pma_t* pma, qse_mmgr_t* mmgr) { QSE_MEMSET (pma, 0, QSE_SIZEOF(*pma)); pma->mmgr = mmgr; - return 0; } /* Frees the memory allocator and all memory allocated with it. */ void qse_pma_fini (qse_pma_t* pma) { + qse_pma_clear (pma); +} + +void qse_pma_clear (qse_pma_t* pma) +{ + qse_mmgr_t* mmgr = pma->mmgr; qse_pma_blk_t* tmp, * l = pma->blocks; while (l != QSE_NULL) { tmp = l->next; - QSE_MMGR_FREE (pma->mmgr, l); + QSE_MMGR_FREE (mmgr, l); l = tmp; } + + QSE_MEMSET (pma, 0, QSE_SIZEOF(*pma)); + pma->mmgr = mmgr; } - /* Returns a new memory allocator or NULL if out of memory. */ /* Allocates a block of `size' bytes from `mem'. Returns a pointer to the diff --git a/qse/lib/cmn/rbt.c b/qse/lib/cmn/rbt.c index 241a62f0..27175484 100644 --- a/qse/lib/cmn/rbt.c +++ b/qse/lib/cmn/rbt.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/rex.c b/qse/lib/cmn/rex.c index 1fe8a13b..ac1cf003 100644 --- a/qse/lib/cmn/rex.c +++ b/qse/lib/cmn/rex.c @@ -1,7 +1,7 @@ /* * $Id: rex.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/sio.c b/qse/lib/cmn/sio.c index 6bf2565c..4f8495e7 100644 --- a/qse/lib/cmn/sio.c +++ b/qse/lib/cmn/sio.c @@ -1,7 +1,7 @@ /* * $Id: sio.c 573 2011-09-21 05:50:23Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/sll.c b/qse/lib/cmn/sll.c index f5da3e0c..1e078ff1 100644 --- a/qse/lib/cmn/sll.c +++ b/qse/lib/cmn/sll.c @@ -1,7 +1,7 @@ /* * $Id: sll.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/slmb.c b/qse/lib/cmn/slmb.c index 35ff18dc..9b63e185 100644 --- a/qse/lib/cmn/slmb.c +++ b/qse/lib/cmn/slmb.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/stdio.c b/qse/lib/cmn/stdio.c index f4737b75..4752e366 100644 --- a/qse/lib/cmn/stdio.c +++ b/qse/lib/cmn/stdio.c @@ -1,7 +1,7 @@ /* * $Id: stdio.c 463 2008-12-09 06:52:03Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-beg.c b/qse/lib/cmn/str-beg.c index 0cd4f6c1..745d8e12 100644 --- a/qse/lib/cmn/str-beg.c +++ b/qse/lib/cmn/str-beg.c @@ -1,7 +1,7 @@ /* * $Id: str-beg.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-cat.c b/qse/lib/cmn/str-cat.c index 5111e2cf..60375675 100644 --- a/qse/lib/cmn/str-cat.c +++ b/qse/lib/cmn/str-cat.c @@ -1,7 +1,7 @@ /* * $Id: str-cat.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-chr.c b/qse/lib/cmn/str-chr.c index 09b337c7..bd29dace 100644 --- a/qse/lib/cmn/str-chr.c +++ b/qse/lib/cmn/str-chr.c @@ -1,7 +1,7 @@ /* * $Id: str-chr.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-cmp.c b/qse/lib/cmn/str-cmp.c index 535c6d22..e0158c39 100644 --- a/qse/lib/cmn/str-cmp.c +++ b/qse/lib/cmn/str-cmp.c @@ -1,7 +1,7 @@ /* * $Id: str-cmp.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-cnv.c b/qse/lib/cmn/str-cnv.c index 860e9aa2..bde0353a 100644 --- a/qse/lib/cmn/str-cnv.c +++ b/qse/lib/cmn/str-cnv.c @@ -1,7 +1,7 @@ /* * $Id: str-cnv.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-cpy.c b/qse/lib/cmn/str-cpy.c index c475548d..46d0c5a3 100644 --- a/qse/lib/cmn/str-cpy.c +++ b/qse/lib/cmn/str-cpy.c @@ -1,7 +1,7 @@ /* * $Id: str-cpy.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-del.c b/qse/lib/cmn/str-del.c index 176e9373..d7eaf452 100644 --- a/qse/lib/cmn/str-del.c +++ b/qse/lib/cmn/str-del.c @@ -1,7 +1,7 @@ /* * $Id: str-del.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-dup.c b/qse/lib/cmn/str-dup.c index d2199225..4e8f4631 100644 --- a/qse/lib/cmn/str-dup.c +++ b/qse/lib/cmn/str-dup.c @@ -1,7 +1,7 @@ /* * $Id: str-dup.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-dynm.c b/qse/lib/cmn/str-dynm.c index 25df1ab1..637da3f8 100644 --- a/qse/lib/cmn/str-dynm.c +++ b/qse/lib/cmn/str-dynm.c @@ -1,7 +1,7 @@ /* * $Id: str-dynm.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-dynw.c b/qse/lib/cmn/str-dynw.c index 97e23127..33c0327a 100644 --- a/qse/lib/cmn/str-dynw.c +++ b/qse/lib/cmn/str-dynw.c @@ -1,7 +1,7 @@ /* * $Id: str-dynw.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-end.c b/qse/lib/cmn/str-end.c index ac1455d2..26d438f9 100644 --- a/qse/lib/cmn/str-end.c +++ b/qse/lib/cmn/str-end.c @@ -1,7 +1,7 @@ /* * $Id: str-end.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-excl.c b/qse/lib/cmn/str-excl.c index 5ea76e3f..6449d236 100644 --- a/qse/lib/cmn/str-excl.c +++ b/qse/lib/cmn/str-excl.c @@ -1,7 +1,7 @@ /* * $Id: str-excl.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-fcpy.c b/qse/lib/cmn/str-fcpy.c index 9b5d7913..b1e7d55b 100644 --- a/qse/lib/cmn/str-fcpy.c +++ b/qse/lib/cmn/str-fcpy.c @@ -1,7 +1,7 @@ /* * $Id: str-fcpy.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-fnmat.c b/qse/lib/cmn/str-fnmat.c index 5bc4c38c..d4980626 100644 --- a/qse/lib/cmn/str-fnmat.c +++ b/qse/lib/cmn/str-fnmat.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-incl.c b/qse/lib/cmn/str-incl.c index 16bf9c73..656e5ce8 100644 --- a/qse/lib/cmn/str-incl.c +++ b/qse/lib/cmn/str-incl.c @@ -1,7 +1,7 @@ /* * $Id: str-incl.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-len.c b/qse/lib/cmn/str-len.c index c3d078cb..a3e62118 100644 --- a/qse/lib/cmn/str-len.c +++ b/qse/lib/cmn/str-len.c @@ -1,7 +1,7 @@ /* * $Id: str-len.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-pac.c b/qse/lib/cmn/str-pac.c index 5b6a19af..ee95ec92 100644 --- a/qse/lib/cmn/str-pac.c +++ b/qse/lib/cmn/str-pac.c @@ -1,7 +1,7 @@ /* * $Id: str-pac.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-pbrk.c b/qse/lib/cmn/str-pbrk.c index a84130ed..c8e40266 100644 --- a/qse/lib/cmn/str-pbrk.c +++ b/qse/lib/cmn/str-pbrk.c @@ -1,7 +1,7 @@ /* * $Id: str-pbrk.c 576 2011-09-23 14:52:22Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-put.c b/qse/lib/cmn/str-put.c index b7090dc8..84136b88 100644 --- a/qse/lib/cmn/str-put.c +++ b/qse/lib/cmn/str-put.c @@ -1,7 +1,7 @@ /* * $Id: str-put.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-rev.c b/qse/lib/cmn/str-rev.c index 1f804ea6..d20d918b 100644 --- a/qse/lib/cmn/str-rev.c +++ b/qse/lib/cmn/str-rev.c @@ -1,7 +1,7 @@ /* * $Id: str-rev.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-rot.c b/qse/lib/cmn/str-rot.c index e6e0c27a..2302aac3 100644 --- a/qse/lib/cmn/str-rot.c +++ b/qse/lib/cmn/str-rot.c @@ -1,7 +1,7 @@ /* * $Id: str-rot.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-set.c b/qse/lib/cmn/str-set.c index 79459e6f..2722b922 100644 --- a/qse/lib/cmn/str-set.c +++ b/qse/lib/cmn/str-set.c @@ -1,7 +1,7 @@ /* * $Id: str-set.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-spl.c b/qse/lib/cmn/str-spl.c index 54bc4843..8a040808 100644 --- a/qse/lib/cmn/str-spl.c +++ b/qse/lib/cmn/str-spl.c @@ -1,7 +1,7 @@ /* * $Id: str-spl.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-spn.c b/qse/lib/cmn/str-spn.c index 46579946..dbd22ad7 100644 --- a/qse/lib/cmn/str-spn.c +++ b/qse/lib/cmn/str-spn.c @@ -1,7 +1,7 @@ /* * $Id: str-spn.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-str.c b/qse/lib/cmn/str-str.c index fcc69044..2184a255 100644 --- a/qse/lib/cmn/str-str.c +++ b/qse/lib/cmn/str-str.c @@ -1,7 +1,7 @@ /* * $Id: str-str.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-subst.c b/qse/lib/cmn/str-subst.c index 86461e51..91844f09 100644 --- a/qse/lib/cmn/str-subst.c +++ b/qse/lib/cmn/str-subst.c @@ -1,7 +1,7 @@ /* * $Id: str-subst.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-tok.c b/qse/lib/cmn/str-tok.c index 26d786e6..65dfc204 100644 --- a/qse/lib/cmn/str-tok.c +++ b/qse/lib/cmn/str-tok.c @@ -1,7 +1,7 @@ /* * $Id: str-tok.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-trm.c b/qse/lib/cmn/str-trm.c index b693cff2..96236fb3 100644 --- a/qse/lib/cmn/str-trm.c +++ b/qse/lib/cmn/str-trm.c @@ -1,7 +1,7 @@ /* * $Id: str-trm.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/str-word.c b/qse/lib/cmn/str-word.c index ecd7aa8e..f8c88447 100644 --- a/qse/lib/cmn/str-word.c +++ b/qse/lib/cmn/str-word.c @@ -1,7 +1,7 @@ /* * $Id: str-word.c 556 2011-08-31 15:43:46Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/syscall.h b/qse/lib/cmn/syscall.h index ddba3e3f..891b949d 100644 --- a/qse/lib/cmn/syscall.h +++ b/qse/lib/cmn/syscall.h @@ -1,7 +1,7 @@ /* * $Id: syscall.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/time.c b/qse/lib/cmn/time.c index 2a2d0f52..edc048bd 100644 --- a/qse/lib/cmn/time.c +++ b/qse/lib/cmn/time.c @@ -1,7 +1,7 @@ /* * $Id: time.c 478 2011-05-24 05:11:42Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tio.c b/qse/lib/cmn/tio.c index ceb9eb7d..a74c6348 100644 --- a/qse/lib/cmn/tio.c +++ b/qse/lib/cmn/tio.c @@ -1,7 +1,7 @@ /* * $Id: tio.c 565 2011-09-11 02:48:21Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-ast.c b/qse/lib/cmn/tre-ast.c index 07025b71..3b03a040 100644 --- a/qse/lib/cmn/tre-ast.c +++ b/qse/lib/cmn/tre-ast.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-ast.h b/qse/lib/cmn/tre-ast.h index b848c113..05a1143e 100644 --- a/qse/lib/cmn/tre-ast.h +++ b/qse/lib/cmn/tre-ast.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-compile.c b/qse/lib/cmn/tre-compile.c index d6af5430..849ed64b 100644 --- a/qse/lib/cmn/tre-compile.c +++ b/qse/lib/cmn/tre-compile.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-compile.h b/qse/lib/cmn/tre-compile.h index f918e422..23f1a7b0 100644 --- a/qse/lib/cmn/tre-compile.h +++ b/qse/lib/cmn/tre-compile.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-match-backtrack.c b/qse/lib/cmn/tre-match-backtrack.c index 4ac31c25..ddf55803 100644 --- a/qse/lib/cmn/tre-match-backtrack.c +++ b/qse/lib/cmn/tre-match-backtrack.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-match-parallel.c b/qse/lib/cmn/tre-match-parallel.c index 5d5ab61f..b54ab40f 100644 --- a/qse/lib/cmn/tre-match-parallel.c +++ b/qse/lib/cmn/tre-match-parallel.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify @@ -318,7 +318,7 @@ tre_tnfa_run_parallel(qse_mmgr_t* mmgr, const tre_tnfa_t *tnfa, const void *stri else { if (num_tags == 0 || reach_next_i == reach_next) - /* We have found a match. */ + /*?We have found a match. */ break; } diff --git a/qse/lib/cmn/tre-match-utils.h b/qse/lib/cmn/tre-match-utils.h index d87d5175..88a939d1 100644 --- a/qse/lib/cmn/tre-match-utils.h +++ b/qse/lib/cmn/tre-match-utils.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-parse.c b/qse/lib/cmn/tre-parse.c index e30f2fab..dbc3c54d 100644 --- a/qse/lib/cmn/tre-parse.c +++ b/qse/lib/cmn/tre-parse.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-parse.h b/qse/lib/cmn/tre-parse.h index 976950e8..00a21e9d 100644 --- a/qse/lib/cmn/tre-parse.h +++ b/qse/lib/cmn/tre-parse.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-stack.c b/qse/lib/cmn/tre-stack.c index 9f0503ee..b1146000 100644 --- a/qse/lib/cmn/tre-stack.c +++ b/qse/lib/cmn/tre-stack.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre-stack.h b/qse/lib/cmn/tre-stack.h index 301ce16e..d2481f9d 100644 --- a/qse/lib/cmn/tre-stack.h +++ b/qse/lib/cmn/tre-stack.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre.c b/qse/lib/cmn/tre.c index 84d12fef..e227641d 100644 --- a/qse/lib/cmn/tre.c +++ b/qse/lib/cmn/tre.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/tre.h b/qse/lib/cmn/tre.h index 69feadbc..cd5c1bce 100644 --- a/qse/lib/cmn/tre.h +++ b/qse/lib/cmn/tre.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/utf8.c b/qse/lib/cmn/utf8.c index 81936ac1..c96d4de4 100644 --- a/qse/lib/cmn/utf8.c +++ b/qse/lib/cmn/utf8.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cmn/xma.c b/qse/lib/cmn/xma.c index 86fb5e65..c8190a3d 100644 --- a/qse/lib/cmn/xma.c +++ b/qse/lib/cmn/xma.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cut/Cut.cpp b/qse/lib/cut/Cut.cpp index cd2918a2..1f193941 100644 --- a/qse/lib/cut/Cut.cpp +++ b/qse/lib/cut/Cut.cpp @@ -1,7 +1,7 @@ /* * $Id: Cut.cpp 319 2009-12-19 03:06:28Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cut/StdCut.cpp b/qse/lib/cut/StdCut.cpp index 1c0c3bce..d1ad4451 100644 --- a/qse/lib/cut/StdCut.cpp +++ b/qse/lib/cut/StdCut.cpp @@ -1,7 +1,7 @@ /* * $Id: StdCut.cpp 319 2009-12-19 03:06:28Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cut/cut.c b/qse/lib/cut/cut.c index ea897259..5430c093 100644 --- a/qse/lib/cut/cut.c +++ b/qse/lib/cut/cut.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cut/cut.h b/qse/lib/cut/cut.h index 5e4e7836..af6b66dd 100644 --- a/qse/lib/cut/cut.h +++ b/qse/lib/cut/cut.h @@ -1,7 +1,7 @@ /* * $Id: cut.h 287 2009-09-15 10:01:02Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cut/err.c b/qse/lib/cut/err.c index 856815ae..9fd0acb4 100644 --- a/qse/lib/cut/err.c +++ b/qse/lib/cut/err.c @@ -1,7 +1,7 @@ /* * $Id: err.c 287 2009-09-15 10:01:02Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/cut/std.c b/qse/lib/cut/std.c index 0b2e7fb4..726c5411 100644 --- a/qse/lib/cut/std.c +++ b/qse/lib/cut/std.c @@ -1,7 +1,7 @@ /* * $Id: std.c 306 2009-11-22 13:58:53Z baconevi $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/htrd.c b/qse/lib/net/htrd.c index 410e6d0f..f0f895fa 100644 --- a/qse/lib/net/htrd.c +++ b/qse/lib/net/htrd.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/htre.c b/qse/lib/net/htre.c index e338c1d9..b7728e43 100644 --- a/qse/lib/net/htre.c +++ b/qse/lib/net/htre.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/http.c b/qse/lib/net/http.c index d339b98e..436bc7c8 100644 --- a/qse/lib/net/http.c +++ b/qse/lib/net/http.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/httpd-cgi.c b/qse/lib/net/httpd-cgi.c index a5f6790e..2d2f904e 100644 --- a/qse/lib/net/httpd-cgi.c +++ b/qse/lib/net/httpd-cgi.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/httpd-proxy.c b/qse/lib/net/httpd-proxy.c index d8bae4cc..37e6fc2a 100644 --- a/qse/lib/net/httpd-proxy.c +++ b/qse/lib/net/httpd-proxy.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/httpd-resol.c b/qse/lib/net/httpd-resol.c index 1345519b..2f327350 100644 --- a/qse/lib/net/httpd-resol.c +++ b/qse/lib/net/httpd-resol.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/httpd-task.c b/qse/lib/net/httpd-task.c index af2e6784..cf4a0b38 100644 --- a/qse/lib/net/httpd-task.c +++ b/qse/lib/net/httpd-task.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/httpd.c b/qse/lib/net/httpd.c index ed3cf6c1..c3312fff 100644 --- a/qse/lib/net/httpd.c +++ b/qse/lib/net/httpd.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/httpd.h b/qse/lib/net/httpd.h index 6873ef71..9f516769 100644 --- a/qse/lib/net/httpd.h +++ b/qse/lib/net/httpd.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/upxd.c b/qse/lib/net/upxd.c index 4ecedfd2..37c594b9 100644 --- a/qse/lib/net/upxd.c +++ b/qse/lib/net/upxd.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/net/upxd.h b/qse/lib/net/upxd.h index 3422b7df..564a1663 100644 --- a/qse/lib/net/upxd.h +++ b/qse/lib/net/upxd.h @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/sed/Sed.cpp b/qse/lib/sed/Sed.cpp index 42ca2ce5..de613ef5 100644 --- a/qse/lib/sed/Sed.cpp +++ b/qse/lib/sed/Sed.cpp @@ -1,7 +1,7 @@ /* * $Id: Sed.cpp 571 2011-09-20 14:04:48Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/sed/StdSed.cpp b/qse/lib/sed/StdSed.cpp index 9fec78d8..6ffc67ae 100644 --- a/qse/lib/sed/StdSed.cpp +++ b/qse/lib/sed/StdSed.cpp @@ -1,7 +1,7 @@ /* * $Id: StdSed.cpp 569 2011-09-19 06:51:02Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/sed/err.c b/qse/lib/sed/err.c index 79e8015b..7a3b4254 100644 --- a/qse/lib/sed/err.c +++ b/qse/lib/sed/err.c @@ -1,7 +1,7 @@ /* * $Id: err.c 568 2011-09-17 15:41:26Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/sed/sed.c b/qse/lib/sed/sed.c index b18d1324..b7d6a92c 100644 --- a/qse/lib/sed/sed.c +++ b/qse/lib/sed/sed.c @@ -1,7 +1,7 @@ /* * $Id: sed.c 576 2011-09-23 14:52:22Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/sed/sed.h b/qse/lib/sed/sed.h index 4d116278..176a0cce 100644 --- a/qse/lib/sed/sed.h +++ b/qse/lib/sed/sed.h @@ -1,7 +1,7 @@ /* * $Id: sed.h 576 2011-09-23 14:52:22Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/sed/std.c b/qse/lib/sed/std.c index 55384c09..b439f643 100644 --- a/qse/lib/sed/std.c +++ b/qse/lib/sed/std.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/lib/stx/boot.c b/qse/lib/stx/boot.c index f6c68760..aa5866d9 100644 --- a/qse/lib/stx/boot.c +++ b/qse/lib/stx/boot.c @@ -534,7 +534,7 @@ static int sketch_key_objects (qse_stx_t* stx) /* Symbol */ ALLOC_WORDOBJ_TO (stx, stx->ref.class_symbol, QSE_STX_CLASS_SIZE, 0); /* Metaclass */ - ALLOC_WORDOBJ_TO (stx, stx->ref.class_metaclass, QSE_STX_CLASS_SIZE, 0); + ALLOC_WORDOBJ_TO (stx, stx->ref.class_metaclass, QSE_STX_CLASS_SIZE, 0); /* Association */ ALLOC_WORDOBJ_TO (stx, stx->ref.class_association, QSE_STX_CLASS_SIZE, 0); diff --git a/qse/lib/stx/err.c b/qse/lib/stx/err.c index eff67acc..1bc474f8 100644 --- a/qse/lib/stx/err.c +++ b/qse/lib/stx/err.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk01.c b/qse/samples/awk/awk01.c index 8af736ce..58bdbb5b 100644 --- a/qse/samples/awk/awk01.c +++ b/qse/samples/awk/awk01.c @@ -1,7 +1,7 @@ /* * $Id: awk01.c 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk02.c b/qse/samples/awk/awk02.c index 79a60f33..95f6ddb6 100644 --- a/qse/samples/awk/awk02.c +++ b/qse/samples/awk/awk02.c @@ -1,7 +1,7 @@ /* * $Id: awk02.c 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk03.c b/qse/samples/awk/awk03.c index e600cbe0..65e99505 100644 --- a/qse/samples/awk/awk03.c +++ b/qse/samples/awk/awk03.c @@ -1,7 +1,7 @@ /* * $Id: awk03.c 523 2011-07-25 15:42:35Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk04.c b/qse/samples/awk/awk04.c index 5b2b1297..da636a6b 100644 --- a/qse/samples/awk/awk04.c +++ b/qse/samples/awk/awk04.c @@ -1,7 +1,7 @@ /* * $Id: awk04.c 523 2011-07-25 15:42:35Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk05.cpp b/qse/samples/awk/awk05.cpp index 9b680365..12961ef5 100644 --- a/qse/samples/awk/awk05.cpp +++ b/qse/samples/awk/awk05.cpp @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk06.cpp b/qse/samples/awk/awk06.cpp index d33ed23a..fc271300 100644 --- a/qse/samples/awk/awk06.cpp +++ b/qse/samples/awk/awk06.cpp @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk07.cpp b/qse/samples/awk/awk07.cpp index ada3a432..df8f0017 100644 --- a/qse/samples/awk/awk07.cpp +++ b/qse/samples/awk/awk07.cpp @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk08.cpp b/qse/samples/awk/awk08.cpp index b8c76f0c..0a151b1e 100644 --- a/qse/samples/awk/awk08.cpp +++ b/qse/samples/awk/awk08.cpp @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk09.c b/qse/samples/awk/awk09.c index 074c354d..745a7850 100644 --- a/qse/samples/awk/awk09.c +++ b/qse/samples/awk/awk09.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk10.c b/qse/samples/awk/awk10.c index 89a0fbaf..9a64737b 100644 --- a/qse/samples/awk/awk10.c +++ b/qse/samples/awk/awk10.c @@ -1,7 +1,7 @@ /* * $Id: awk04.c 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk11.c b/qse/samples/awk/awk11.c index 82e8da3c..f086da24 100644 --- a/qse/samples/awk/awk11.c +++ b/qse/samples/awk/awk11.c @@ -1,7 +1,7 @@ /* * $Id: awk01.c 441 2011-04-22 14:28:43Z hyunghwan.chung $ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk12.cpp b/qse/samples/awk/awk12.cpp index 359abd09..91986abe 100644 --- a/qse/samples/awk/awk12.cpp +++ b/qse/samples/awk/awk12.cpp @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk13.cpp b/qse/samples/awk/awk13.cpp index 11b8748d..42c47ec2 100644 --- a/qse/samples/awk/awk13.cpp +++ b/qse/samples/awk/awk13.cpp @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/awk/awk14.cpp b/qse/samples/awk/awk14.cpp index e27f1a0f..723ade49 100644 --- a/qse/samples/awk/awk14.cpp +++ b/qse/samples/awk/awk14.cpp @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/cmn/pma.c b/qse/samples/cmn/pma.c index 2db7852a..c850aec6 100644 --- a/qse/samples/cmn/pma.c +++ b/qse/samples/cmn/pma.c @@ -46,8 +46,49 @@ static int test1 () return 0; } +static int test2 () +{ + int i; + int* ptr[100]; + + qse_pma_t* pma = qse_pma_open (QSE_MMGR_GETDFL(), 0); + if (pma == QSE_NULL) + { + qse_printf (QSE_T("cannot open pma\n")); + return -1; + } + + for (i = 0; i < 100; i++) + { + ptr[i] = qse_pma_alloc (pma, sizeof(int)); + if (ptr[i]) + { + qse_printf (QSE_T("%d %p\n"), i, ptr[i]); + *(ptr[i]) = i; + } + else qse_printf (QSE_T("%d FAIL\n"), i); + } + + qse_pma_clear (pma); + + for (i = 0; i < 100; i++) + { + ptr[i] = qse_pma_alloc (pma, sizeof(int)); + if (ptr[i]) + { + qse_printf (QSE_T("%d %p\n"), i, ptr[i]); + *(ptr[i]) = i; + } + else qse_printf (QSE_T("%d FAIL\n"), i); + } + + qse_pma_close (pma); + return 0; +} + int main () { R (test1); + R (test2); return 0; } diff --git a/qse/samples/cut/cut01.c b/qse/samples/cut/cut01.c index c0f0e1e1..1e2cbe74 100644 --- a/qse/samples/cut/cut01.c +++ b/qse/samples/cut/cut01.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/net/http01.c b/qse/samples/net/http01.c index 5f4fafff..3e31e473 100644 --- a/qse/samples/net/http01.c +++ b/qse/samples/net/http01.c @@ -993,6 +993,13 @@ static int client_accepted (qse_httpd_t* httpd, qse_httpd_client_t* client) { ssl = client->handle2.ptr; } + else if (!xtn->ssl_ctx) + { + /* no ssl */ +qse_printf (QSE_T("NO SSL\n")); +qse_fflush (QSE_STDOUT); + return -1; + } else { ssl = SSL_new (xtn->ssl_ctx); @@ -1005,7 +1012,7 @@ qse_fflush (QSE_STDOUT); if (SSL_set_fd (ssl, client->handle.i) == 0) { /* don't free ssl here since client_closed() - * will be closed */ + * will free it */ return -1; } } @@ -1439,9 +1446,8 @@ static void sigint (int sig) int httpd_main (int argc, qse_char_t* argv[]) { qse_httpd_t* httpd = QSE_NULL; - httpd_xtn_t* xtn; + httpd_xtn_t* xtn = QSE_NULL; int ret = -1, i; - int ssl_xtn_inited = 0; if (argc <= 1) { @@ -1457,13 +1463,8 @@ int httpd_main (int argc, qse_char_t* argv[]) } xtn = (httpd_xtn_t*)qse_httpd_getxtn (httpd); - - if (init_xtn_ssl (xtn, "http01.pem", "http01.key") <= -1) - { - qse_fprintf (QSE_STDERR, QSE_T("Cannot open httpd\n")); - goto oops; - } - ssl_xtn_inited = 1; + xtn->ssl_ctx = QSE_NULL; + init_xtn_ssl (xtn, "http01.pem", "http01.key"); for (i = 1; i < argc; i++) { @@ -1489,7 +1490,7 @@ int httpd_main (int argc, qse_char_t* argv[]) if (ret <= -1) qse_fprintf (QSE_STDERR, QSE_T("Httpd error\n")); oops: - if (ssl_xtn_inited) fini_xtn_ssl (xtn); + if (xtn && xtn->ssl_ctx) fini_xtn_ssl (xtn); if (httpd) qse_httpd_close (httpd); return ret; } diff --git a/qse/samples/sed/sed01.c b/qse/samples/sed/sed01.c index a6361cc7..87bac50b 100644 --- a/qse/samples/sed/sed01.c +++ b/qse/samples/sed/sed01.c @@ -1,7 +1,7 @@ /* * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/sed/sed02.cpp b/qse/samples/sed/sed02.cpp index 5fa6a4eb..825dc8a4 100644 --- a/qse/samples/sed/sed02.cpp +++ b/qse/samples/sed/sed02.cpp @@ -1,7 +1,7 @@ /** * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify diff --git a/qse/samples/sed/sed03.cpp b/qse/samples/sed/sed03.cpp index c2a995d2..778b6c7d 100644 --- a/qse/samples/sed/sed03.cpp +++ b/qse/samples/sed/sed03.cpp @@ -1,7 +1,7 @@ /** * $Id$ * - Copyright 2006-2011 Chung, Hyung-Hwan. + Copyright 2006-2012 Chung, Hyung-Hwan. This file is part of QSE. QSE is free software: you can redistribute it and/or modify