Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | replace: fix typo in variable name | David Disseldorp | 2013-11-28 | 1 | -1/+1 |
| | | | | | | | | | | | 13550a2b5eed57084a5d9671d9493a9a2e08d7e3 added a typo causing compilation failure. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Thu Nov 28 18:16:27 CET 2013 on sn-devel-104 | ||||
* | replace: Don't run over dst in strlcat | Volker Lendecke | 2013-11-28 | 1 | -1/+1 |
| | | | | | | | | | If "d" is not 0-terminated, the pure strlen will read beyond the end of the given bufsize. strlcat in libbsd deliberately avoids this, so we should do the same. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> | ||||
* | heimdal_build: Try again to sort out the strerror_r mess | Andrew Bartlett | 2013-01-19 | 1 | -1/+1 |
| | | | | Reviewed-by: Stefan Metzmacher <metze@samba.org> | ||||
* | replace: Fix compilation of rep_mkstemp | Jesper Larsen | 2013-01-09 | 1 | -1/+1 |
| | | | | | | | | | | Commit 1fbc185 removed the variable 'p'. Use the equivalent variable 'template' instead. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jan 9 07:18:33 CET 2013 on sn-devel-104 | ||||
* | lib/replace: Do not use STRERROR_R_PROTO_COMPATIBLE as only roken.h sets this | Andrew Bartlett | 2012-11-22 | 1 | -1/+1 |
| | | | | | | | | Currently, we put strerror_r into libreplace even on systems with strerror_r. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | lib/replace: replace all *printf function if we replace snprintf (bug #9390) | Stefan Metzmacher | 2012-11-14 | 1 | -2/+2 |
| | | | | | | | | | | This fixes segfaults in log level = 10 on Solaris. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Björn Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Nov 14 19:41:14 CET 2012 on sn-devel-104 | ||||
* | replace: Avoid returning value in void setproctitle() replacement. | Jelmer Vernooij | 2012-09-25 | 1 | -1/+0 |
| | | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Tue Sep 25 06:38:40 CEST 2012 on sn-devel-104 | ||||
* | replace: Support setproctitle(). | Jelmer Vernooij | 2012-09-24 | 1 | -0/+7 |
| | | | | | This uses the setproctitle() from libc, libsetproctitle or libbsd. If none is available it provides a dummy implementation. | ||||
* | lib/replace: Remove unused nap and therefore the SCO define | Andrew Bartlett | 2012-09-23 | 1 | -10/+0 |
| | | | | | | In any case, the Samba Team stopped supporting SCO systems a long time ago. Andrew Bartlett | ||||
* | replace: Fix use of mktemp | Simo Sorce | 2012-04-26 | 1 | -2/+2 |
| | | | | | | | | mktemp always returns the template, so checking for NULL doesn't cactch any error. Errors are reported by turning the template into an empty string. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 26 16:14:24 CEST 2012 on sn-devel-104 | ||||
* | replace: Avoid DEBUG(), which is not available in libreplace. | Jelmer Vernooij | 2012-03-25 | 1 | -1/+1 |
| | | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 25 00:13:59 CET 2012 on sn-devel-104 | ||||
* | libreplace: Add usleep implementation. | Jelmer Vernooij | 2012-03-24 | 1 | -0/+14 |
| | |||||
* | replace: Work around socket wrapper. | Jelmer Vernooij | 2012-03-24 | 1 | -0/+1 |
| | | | | It's fine to ignore socket wrapper here, as it doesn't deal with unix domain sockets. | ||||
* | replace: Add system/network.h for ucred struct. | Jelmer Vernooij | 2012-03-24 | 1 | -0/+1 |
| | |||||
* | libreplace: Add getpeereid implementation. | Jelmer Vernooij | 2012-03-24 | 1 | -0/+28 |
| | |||||
* | replace: Move memalign() from lib/util/system.c to libreplace. | Jelmer Vernooij | 2012-03-24 | 1 | -0/+32 |
| | |||||
* | lib/replace: fix rep_strtoull() prototype | Stefan Metzmacher | 2010-10-23 | 1 | -1/+1 |
| | | | | metze | ||||
* | replace: use a wrapper around strtoll if it didn't behave as expected | Matthieu Patou | 2010-10-22 | 1 | -2/+48 |
| | |||||
* | libreplace: clock_gettime sets errno | Björn Jacke | 2010-09-10 | 1 | -1/+2 |
| | |||||
* | libreplace: add clock_gettime replacement function for systems that don't ↵ | Björn Jacke | 2010-08-31 | 1 | -0/+21 |
| | | | | have it | ||||
* | s4-waf: use the libreplace strerror_r if needed | Andrew Tridgell | 2010-03-29 | 1 | -4/+9 |
| | |||||
* | libreplace: strerror_r() is needed by heimdal on solaris8 | Andrew Tridgell | 2010-03-26 | 1 | -0/+8 |
| | |||||
* | libreplace: fixed declaration of dprintf() on FreeBSD | Andrew Tridgell | 2010-03-24 | 1 | -2/+2 |
| | |||||
* | replace: added get_current_dir_name() | Andrew Tridgell | 2010-03-05 | 1 | -0/+12 |
| | |||||
* | Spelling fixes for libreplace. | Brad Hards | 2010-02-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | ||||
* | libreplace: added replacements for dprintf() and vdprintf() | Andrew Tridgell | 2010-02-11 | 1 | -0/+31 |
| | | | | | | these are very useful for writing files with formatted writes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | libreplace: Fix a C++ warning | Volker Lendecke | 2010-01-23 | 1 | -2/+2 |
| | |||||
* | libreplace: some systems don't have memmem() | Andrew Tridgell | 2010-01-02 | 1 | -0/+23 |
| | | | | added rep_memmem() and a testsuite | ||||
* | Error out at runtime when seteuid/setresuid or setegid/setresgid are not | Jelmer Vernooij | 2009-04-20 | 1 | -2/+4 |
| | | | | | | available. This means it's possible to compile libreplace when these functions are not available and use it, as long as this particular function is not used. | ||||
* | Only define waitpid replacement if wait4 is available. (It isn't on | Jelmer Vernooij | 2009-04-20 | 1 | -1/+1 |
| | | | | Windows.) | ||||
* | Cope with the fact that only _mkdir() exists on Windows and that it | Jelmer Vernooij | 2009-04-20 | 1 | -0/+4 |
| | | | | doesn't take a mode argument. | ||||
* | Merge branch 'master' of /home/jelmer/samba3 | Jelmer Vernooij | 2008-11-01 | 1 | -0/+52 |
|\ | | | | | | | | | | | | | | | | | Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c | ||||
| * | Remove sys_chroot() - libreplace already provides an alternative. | Jelmer Vernooij | 2008-11-01 | 1 | -2/+0 |
| | | |||||
| * | Move sys_realpath() to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+11 |
| | | |||||
| * | Move sys_lchown() to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+8 |
| | | |||||
| * | Move sys_symlink() to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+8 |
| | | |||||
| * | Move sys_readlink() to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+7 |
| | | |||||
| * | Move sys_link to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+8 |
| | | |||||
| * | Move sys_chown() to rep_chown(). | Jelmer Vernooij | 2008-11-01 | 1 | -0/+13 |
| | | |||||
* | | Use dup2() replacement from libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+9 |
|/ | |||||
* | Move common libraries from root to lib/. | Jelmer Vernooij | 2008-09-17 | 1 | -0/+616 |