Mukund Sivaraman
fc7415a5b0
Include debugging functions only when debug mode is used
2009-09-27 08:09:22 +05:30
Mukund Sivaraman
7b9234f394
Indent code to Tinyproxy coding style
...
The modified files were indented with GNU indent using the
following command:
indent -npro -kr -i8 -ts8 -sob -l80 -ss -cs -cp1 -bs -nlps -nprs -pcs \
-saf -sai -saw -sc -cdw -ce -nut -il0
No other changes of any sort were made.
2009-09-15 01:11:25 +05:30
Michael Adam
6a35704cdb
heap: make a const string const in malloc_shared_memory().
...
Michael
2009-08-07 09:17:49 +02:00
Michael Adam
8f50875740
heap: fix an implicit cast warning.
...
Michael
2009-08-07 09:17:12 +02:00
Mukund Sivaraman
a21cd7e3ed
Rename tinyproxy.[ch] to main.[ch]
2009-08-07 03:42:53 +05:30
Mukund Sivaraman
024b317de0
Convert tabs to spaces
2008-12-08 13:39:44 +00:00
Mukund Sivaraman
a257703e59
Reformat code to GNU coding style
...
This is a commit which simply ran all C source code files
through GNU indent. No other modifications were made.
2008-12-01 15:01:11 +00:00
Mukund Sivaraman
fadb98ee55
Add more calls to umask() before mkstemp()
2008-08-24 11:47:50 +05:30
Mukund Sivaraman
249d4b7f33
Updated copyright, license notices in source code
...
The notices have been changed to a more GNU look. Documentation
comments have been separated from the copyright header. I've tried to
keep all copyright notices intact. Some author contact details have
been updated.
2008-05-24 13:35:49 +05:30
Mukund Sivaraman
b11c74637f
Fixed format string warnings
2008-03-13 15:09:30 -07:00
Robert James Kaes
c0299e1868
* [Indent] Ran Source Through indent
...
I re-indented the source code using indent with the following options:
indent -kr -bad -bap -nut -i8 -l80 -psl -sob -ss -ncs
There are now _no_ tabs in the source files, and all indentation is
eight spaces. Lines are 80 characters long, and the procedure type is
on it's own line. Read the indent manual for more information about
what each option means.
2005-08-15 03:54:31 +00:00
Robert James Kaes
a59117c7ca
* Updated Copyright Email Addresses
...
Updated the copyright email addresses for Robert James Kaes. The
users.sourceforge.net address should always exist.
2005-07-12 17:39:44 +00:00
Robert James Kaes
aee5a63849
Removed unnecessary casts (mostly dealing with memory allocation.) I
...
should never have added them in the first place. They don't really
buy anything, and they can hide bugs.
2004-02-13 21:27:42 +00:00
Robert James Kaes
bc77dfb492
(debugging_realloc): Removed the assert for the NULL pointer, since
...
realloc() can take a NULL pointer, as defined by the realloc() man
page.
Fixed the cast in both safefree() macros to compile cleaning using a
C++ compiler.
2003-07-31 23:42:51 +00:00
Robert James Kaes
2736a19518
(debugging_free): Rather than assert on a NULL pointer, log the NULL
...
pointer and return.
2003-06-26 18:14:13 +00:00
Robert James Kaes
4932b87fc9
(malloc_shared_memory): Changed the static character array to include the ".XXXXXX" string already. This saves one system call when creating a temporary file name.
2002-07-09 18:52:32 +00:00
Robert James Kaes
89dee022e5
(malloc_shared_memory): Removed the assert() call for shared_file since it's now a static variable.
2002-06-05 17:01:09 +00:00
Robert James Kaes
12fc92828c
(malloc_shared_memory): Removed the MMAP_ANON and open("/dev/zero") since they are not portable across a while enough spectrum of machines. Right now tinyproxy is using a "classic" temporary file method of sharing memory. This will likely be improved in the future.
2002-05-29 20:51:35 +00:00
Robert James Kaes
2e6ab58f37
Added the malloc_shared_memory() and calloc_shared_memory() function to
...
allow the use of shared memory between all the children.
2002-05-26 18:56:06 +00:00
Robert James Kaes
c667952861
Initial addition to CVS. Moved all the debugging heap related functions.
2002-05-23 04:41:10 +00:00