<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/replace/test, branch talloc-2.1.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>replace: Remove unused item returned by FAILED()</title>
<updated>2014-08-20T14:54:31+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2014-07-31T01:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=47e7440be9ab422b3b2544c0b071fb8717a7a915'/>
<id>47e7440be9ab422b3b2544c0b071fb8717a7a915</id>
<content type='text'>
The (return) value of FAILED() is a constant 1.  However, it is never
used, so the compiler complains when run with -Wall:

  lib/replace/test/os2_delete.c: In function ‘cleanup’:
  lib/replace/test/os2_delete.c:39:163: warning: right-hand operand of comma expression has no effect [-Wunused-value]
   FAILED("system");

So just get remove the ", 1" since it is the bit that does nothing and
is never used.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;

Autobuild-User(master): Amitay Isaacs &lt;amitay@samba.org&gt;
Autobuild-Date(master): Wed Aug 20 16:54:31 CEST 2014 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The (return) value of FAILED() is a constant 1.  However, it is never
used, so the compiler complains when run with -Wall:

  lib/replace/test/os2_delete.c: In function ‘cleanup’:
  lib/replace/test/os2_delete.c:39:163: warning: right-hand operand of comma expression has no effect [-Wunused-value]
   FAILED("system");

So just get remove the ", 1" since it is the bit that does nothing and
is never used.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;

Autobuild-User(master): Amitay Isaacs &lt;amitay@samba.org&gt;
Autobuild-Date(master): Wed Aug 20 16:54:31 CEST 2014 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 8997: change libreplace GPL source to LGPL</title>
<updated>2013-06-03T16:06:18+00:00</updated>
<author>
<name>David Disseldorp</name>
<email>ddiss@samba.org</email>
</author>
<published>2013-06-03T11:00:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8a6743e4edcdff1c7860d150720483f19f3b33bb'/>
<id>8a6743e4edcdff1c7860d150720483f19f3b33bb</id>
<content type='text'>
libreplace currently includes socket.c and getifaddrs.c both of which
are GPL licensed.
Although not required, talloc and tdb build alongside this source,
leading to some ambiguity regarding their LGPL licences.

The following copyright holders have agreed to the GPL-&gt;LGPL change:
lib/replace/getifaddrs.c
   Copyright (C) Andrew Tridgell 1998
   Copyright (C) Jeremy Allison 2007
   Copyright (C) Jelmer Vernooij &lt;jelmer@samba.org&gt; 2007

lib/replace/test/getifaddrs.c
lib/replace/socket.c
 * Copyright (C) Michael Adam &lt;obnox@samba.org&gt; 2008

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Mon Jun  3 18:06:18 CEST 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libreplace currently includes socket.c and getifaddrs.c both of which
are GPL licensed.
Although not required, talloc and tdb build alongside this source,
leading to some ambiguity regarding their LGPL licences.

The following copyright holders have agreed to the GPL-&gt;LGPL change:
lib/replace/getifaddrs.c
   Copyright (C) Andrew Tridgell 1998
   Copyright (C) Jeremy Allison 2007
   Copyright (C) Jelmer Vernooij &lt;jelmer@samba.org&gt; 2007

lib/replace/test/getifaddrs.c
lib/replace/socket.c
 * Copyright (C) Michael Adam &lt;obnox@samba.org&gt; 2008

Signed-off-by: David Disseldorp &lt;ddiss@samba.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Mon Jun  3 18:06:18 CEST 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>replace: Remove deprecated getpass() support.</title>
<updated>2012-12-03T13:35:10+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2012-11-23T13:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=532350877322cd3446cfa65459e82a45d5cef76c'/>
<id>532350877322cd3446cfa65459e82a45d5cef76c</id>
<content type='text'>
Reviewed-by: Jelmer Vernooij &lt;jelmer@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Jelmer Vernooij &lt;jelmer@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/replace: Try to fix build on HP-UX for os2_delete test</title>
<updated>2012-09-23T04:31:01+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-09-23T03:39:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=502135df9f0d839e75907260f5dcdab4052d995e'/>
<id>502135df9f0d839e75907260f5dcdab4052d995e</id>
<content type='text'>
The issue is that this file is both used in an autoconf test, and
later in a smbtorture test.  Because os2_delete.c does not include
replace.h, bool may not be defined.

So, instead we shift the need for bool to a different header.

(The readdir tests in repdir.m4 are not yet in the waf configure).

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The issue is that this file is both used in an autoconf test, and
later in a smbtorture test.  Because os2_delete.c does not include
replace.h, bool may not be defined.

So, instead we shift the need for bool to a different header.

(The readdir tests in repdir.m4 are not yet in the waf configure).

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/replace: test for incoherent mmap.</title>
<updated>2012-03-22T00:57:37+00:00</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2012-03-22T00:17:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=584b996a1a27870dad30eb422d375bb08b57c64c'/>
<id>584b996a1a27870dad30eb422d375bb08b57c64c</id>
<content type='text'>
We test for other mmap features here, and both tdb1 and tdb2 want this check.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We test for other mmap features here, and both tdb1 and tdb2 want this check.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>replace: Check if we have mremap() available</title>
<updated>2011-08-14T23:51:45+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>idra@samba.org</email>
</author>
<published>2011-08-14T22:05:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a171938408adde0d787b9ff40a4cebeee66d747a'/>
<id>a171938408adde0d787b9ff40a4cebeee66d747a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/replace/test: Add missing include for prototype.</title>
<updated>2011-03-19T15:45:56+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2011-03-19T14:54:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a8eea9e946042fa6f75ffa37059e72a447f532ed'/>
<id>a8eea9e946042fa6f75ffa37059e72a447f532ed</id>
<content type='text'>
Autobuild-User: Jelmer Vernooij &lt;jelmer@samba.org&gt;
Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autobuild-User: Jelmer Vernooij &lt;jelmer@samba.org&gt;
Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>libreplace: Fix prototypes for all functions.</title>
<updated>2011-03-19T02:20:05+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2011-03-18T23:44:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f70a658b8273a5e06a11e2184a4e420fdbcd5744'/>
<id>f70a658b8273a5e06a11e2184a4e420fdbcd5744</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/replace/testsuite.c - fix test output</title>
<updated>2010-12-23T11:42:37+00:00</updated>
<author>
<name>Matthias Dieter Wallnöfer</name>
<email>mdw@samba.org</email>
</author>
<published>2010-12-23T11:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=da78e24ca201dcdac8a498a5d0da8c30154d4d9a'/>
<id>da78e24ca201dcdac8a498a5d0da8c30154d4d9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/replace: use snprintf() in test code to avoid warnings in the IBM-Checker</title>
<updated>2010-10-23T06:49:29+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2010-10-22T12:41:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=96601cab1cb0bd47051cd9fb30f0464c0734cb8a'/>
<id>96601cab1cb0bd47051cd9fb30f0464c0734cb8a</id>
<content type='text'>
metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
metze
</pre>
</div>
</content>
</entry>
</feed>
