diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2008-04-15 01:02:20 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2008-04-15 01:02:20 +0000 |
commit | 851b613b5b3b927708729dcbbb59f7d89b4f5c65 (patch) | |
tree | a7d767890e62664470e58992ff722d6505e000c5 /databases/sharedance/files/patch-src-sharedanced.c | |
parent | - G2One, Inc. and the Groovy development team have released Groovy 1.5.5, (diff) |
Sharedance is a high-performance server that centralize ephemeral
key/data pairs on remote hosts, without the overhead and the
complexity of an SQL database.
WWW: http://sharedance.pureftpd.org/project/sharedance
PR: ports/122722
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes:
svn path=/head/; revision=211271
Diffstat (limited to 'databases/sharedance/files/patch-src-sharedanced.c')
-rw-r--r-- | databases/sharedance/files/patch-src-sharedanced.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/databases/sharedance/files/patch-src-sharedanced.c b/databases/sharedance/files/patch-src-sharedanced.c new file mode 100644 index 000000000000..69d7a6195f97 --- /dev/null +++ b/databases/sharedance/files/patch-src-sharedanced.c @@ -0,0 +1,30 @@ +--- src/sharedanced.c.orig 2008-04-15 00:45:17.000000000 +0800 ++++ src/sharedanced.c 2008-04-15 00:45:25.000000000 +0800 +@@ -99,27 +99,6 @@ + #endif + } + +-static void setprogname(const char * const title) +-{ +-#ifndef NO_PROCNAME_CHANGE +-# ifdef HAVE_SETPROCTITLE +- setproctitle("-%s", title); +-# elif defined(__linux__) +- if (argv0 != NULL) { +- memset(argv0[0], 0, argv_lth); +- strncpy(argv0[0], title, argv_lth - 2); +- argv0[1] = NULL; +- } +-# elif defined(__hpux__) +- union pstun pst; +- +- pst.pst_command = title; +- pstat(PSTAT_SETCMD, pst, strlen(title), 0, 0); +-# endif +-#endif +- (void) title; +-} +- + static void usage(void) + { + puts("\n" PACKAGE_STRING " - " __DATE__ "\n"); |