Author: jelmer Date: 2006-06-12 02:23:57 +0000 (Mon, 12 Jun 2006) New Revision: 16146
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16146 Log: Fix build for some platforms. Modified: trunk/source/torture/pdbtest.c Changeset: Modified: trunk/source/torture/pdbtest.c =================================================================== --- trunk/source/torture/pdbtest.c 2006-06-12 00:33:15 UTC (rev 16145) +++ trunk/source/torture/pdbtest.c 2006-06-12 02:23:57 UTC (rev 16146) @@ -236,7 +236,8 @@ uint32 expire, min_age, history; struct pdb_methods *pdb; poptContext pc; - const char *backend = NULL, *unix_user = "nobody"; + static char *backend = NULL; + static char *unix_user = "nobody"; struct poptOption long_options[] = { {"username", 'u', POPT_ARG_STRING, &unix_user, 0, "Unix user to use for testing", "USERNAME" }, {"backend", 'b', POPT_ARG_STRING, &backend, 0, "Backend to use if not default", "BACKEND[:SETTINGS]" },
