<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dss/error.h, branch master</title>
<subtitle>DSS - dyadic snapshot scheduler</subtitle>
<id>https://git.tue.mpg.de/cgit/dss/atom?h=master</id>
<link rel='self' href='https://git.tue.mpg.de/cgit/dss/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/'/>
<updated>2012-08-15T09:41:32Z</updated>
<entry>
<title>Rename source files which also exist as system headers.</title>
<updated>2012-08-15T09:41:32Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2012-08-11T18:32:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73'/>
<id>urn:sha1:46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73</id>
<content type='text'>
As pointed out by Daniel Richard G. some of the dss header files
are named the same as system header files.

This patch renames these headers as well as their corresponding .c
files. Specifically, error.h, fd.h, signal.h, string.h and time.h
become err.h, file.h, sig.h, str.h and tv.h.
</content>
</entry>
<entry>
<title>Merge branch 't/cleanups'</title>
<updated>2012-08-15T09:32:10Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2012-08-15T09:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=42451d3bbe741ebae3c8ad49aa104ae53efdbcdb'/>
<id>urn:sha1:42451d3bbe741ebae3c8ad49aa104ae53efdbcdb</id>
<content type='text'>
The changes in this branch are an attempt to make dss compile cleanly
with the more strict compiler flags (GCC 4.6 on Linux).

    -pedantic -fno-common -W -Wall -Wcast-align -Wformat=2
    -Wpointer-arith -Wundef -Waggregate-return -Wcast-qual
    -Wmissing-declarations -Wnested-externs -Wstrict-prototypes

This is only a first step that addresses the easier warnings. Some,
like the ones stemming from the variadic macros, have yet to be fixed.

	* 9e6c2f Remove some debug messages.
	* 899f88 string.c: Fix a statement-before-declaration issue.
	* 83ebb4 Remove trailing commas.
	* 2ed0d7 snap.h: Fix HSA_ITEM.
	* 508350 Fix "comma after last element" warning.
	* 97fbf4 compare_snapshots(): Add const keyword.
	* b28495 Avoid per-element initializers.
	* 9528cf dss.c: Fix initialization of argv[].
	* 4526f9 dss.c: Remove redundant const.
	* 2183c6 Makefile: Split CPPFLAGS.

Conflicts:
	error.h
</content>
</entry>
<entry>
<title>Merge branch 't/ipc'</title>
<updated>2012-08-10T11:49:54Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2012-08-10T11:49:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=79489a96d14274b78a654bbcf60d8eb8289cae50'/>
<id>urn:sha1:79489a96d14274b78a654bbcf60d8eb8289cae50</id>
<content type='text'>
	4d9f41 mutex_get(): Change parameter from key_t to int.
	55c90e Implement --reload.
	492928 Add the --kill subcommand.
	dd42f7 Use semaphore locking to avoid starting dss multiple times.
	17eea8 Introduce get_config_file_name().

That topic was cooking in next for a quite some time now.
</content>
</entry>
<entry>
<title>Fix "comma after last element" warning.</title>
<updated>2012-08-04T11:34:54Z</updated>
<author>
<name>Daniel Richard G</name>
<email>skunk@iSKUNK.ORG</email>
</author>
<published>2012-08-02T17:53:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=5083502f5fbe2d2b427451aff54c0cdc1831d7c0'/>
<id>urn:sha1:5083502f5fbe2d2b427451aff54c0cdc1831d7c0</id>
<content type='text'>
This changes the definition of DSS_ERRORS so that it includes the commas,
and removes the comma from both definitions of DSS_ERROR. This
avoids "comma after last element" warnings, which on some compilers
produces an error.
</content>
</entry>
<entry>
<title>error.h: Remove is_errno().</title>
<updated>2012-08-03T08:25:11Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2012-08-03T08:25:11Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=2b4f4c85be13bb26a230df6669a7138d123c1a7d'/>
<id>urn:sha1:2b4f4c85be13bb26a230df6669a7138d123c1a7d</id>
<content type='text'>
This inline function is unused.
</content>
</entry>
<entry>
<title>Add the --kill subcommand.</title>
<updated>2012-06-01T15:31:36Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2010-11-13T19:51:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=492928ebe8b83c31aeca4866fef37ab07174ed9c'/>
<id>urn:sha1:492928ebe8b83c31aeca4866fef37ab07174ed9c</id>
<content type='text'>
It works as follows: Whenever a semaphore operation is performed, the
PID of the process is stored in the sempid field of the semaphore.
This PID can be obtained from a different process by calling semctl
with the GETPID command.

com_kill() first tries to acquire the lock by calling the new
mutex_try_lock() function of ipc.c. In contrast to mutex_lock(),
mutex_try_lock() only operates on the first semaphore in the semaphore
set, leaving the sempid field of the second semaphore unchanged. If
mutex_try_lock() succeeds, no running dss process is holding the lock
and the kill command fails. Otherwise, some dss process is running
whose PID can be obtained by calling semctl() on the second semaphore.
</content>
</entry>
<entry>
<title>Change copyright year from 2009 to 2010.</title>
<updated>2010-11-06T14:14:35Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2010-11-06T14:14:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=00c1e3fbafc6310a32bf39bbd8c36a7acee275f9'/>
<id>urn:sha1:00c1e3fbafc6310a32bf39bbd8c36a7acee275f9</id>
<content type='text'>
Better late than never..
</content>
</entry>
<entry>
<title>Change copyright year from 2008 to 2009.</title>
<updated>2009-07-03T15:03:39Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-07-03T15:03:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=2be48c0ac582aca639003528eeae2250af42471b'/>
<id>urn:sha1:2be48c0ac582aca639003528eeae2250af42471b</id>
<content type='text'>
A bit late, but better late than never.
</content>
</entry>
<entry>
<title>Implement exit-hooks.</title>
<updated>2008-05-12T18:29:34Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2008-05-12T18:29:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=a6727ed6659f287eb2a4f68ac5fbf3178f40498f'/>
<id>urn:sha1:a6727ed6659f287eb2a4f68ac5fbf3178f40498f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add GPL headers and COPYING file.</title>
<updated>2008-05-12T08:56:35Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2008-05-12T08:56:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=00e72666c12061e55c020a706448fac5497ce940'/>
<id>urn:sha1:00e72666c12061e55c020a706448fac5497ce940</id>
<content type='text'>
</content>
</entry>
</feed>
