mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Nuke one __FreeBSD__ left out
Reviewed by: Submitted by: Obtained from:
This commit is contained in:
parent
d880a8a822
commit
d2245bac95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9885
@ -4,12 +4,12 @@
|
||||
* <Copyright.MIT>.
|
||||
*
|
||||
* from: kdb_destroy.c,v 4.0 89/01/24 21:49:02 jtkohl Exp $
|
||||
* $Id: kdb_destroy.c,v 1.2 1995/01/25 19:57:27 ache Exp $
|
||||
* $Id: kdb_destroy.c,v 1.3 1995/08/02 23:08:14 pst Exp $
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] =
|
||||
"$Id: kdb_destroy.c,v 1.2 1995/01/25 19:57:27 ache Exp $";
|
||||
"$Id: kdb_destroy.c,v 1.3 1995/08/02 23:08:14 pst Exp $";
|
||||
#endif lint
|
||||
|
||||
#include <strings.h>
|
||||
@ -33,7 +33,7 @@ main()
|
||||
#endif
|
||||
|
||||
strcpy(dbm, DBM_FILE);
|
||||
#ifdef __FreeBSD__
|
||||
#ifdef DB
|
||||
file = strcat(dbm, ".db");
|
||||
#else
|
||||
strcpy(dbm1, DBM_FILE);
|
||||
|
@ -4,12 +4,12 @@
|
||||
* <Copyright.MIT>.
|
||||
*
|
||||
* from: kdb_destroy.c,v 4.0 89/01/24 21:49:02 jtkohl Exp $
|
||||
* $Id: kdb_destroy.c,v 1.2 1995/01/25 19:57:27 ache Exp $
|
||||
* $Id: kdb_destroy.c,v 1.3 1995/08/02 23:08:14 pst Exp $
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] =
|
||||
"$Id: kdb_destroy.c,v 1.2 1995/01/25 19:57:27 ache Exp $";
|
||||
"$Id: kdb_destroy.c,v 1.3 1995/08/02 23:08:14 pst Exp $";
|
||||
#endif lint
|
||||
|
||||
#include <strings.h>
|
||||
@ -33,7 +33,7 @@ main()
|
||||
#endif
|
||||
|
||||
strcpy(dbm, DBM_FILE);
|
||||
#ifdef __FreeBSD__
|
||||
#ifdef DB
|
||||
file = strcat(dbm, ".db");
|
||||
#else
|
||||
strcpy(dbm1, DBM_FILE);
|
||||
|
Loading…
Reference in New Issue
Block a user