diff options
Diffstat (limited to 'lib/libcurses/tinfo')
-rw-r--r-- | lib/libcurses/tinfo/write_entry.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libcurses/tinfo/write_entry.c b/lib/libcurses/tinfo/write_entry.c index 9ca111ce5c2..e4dea953ffb 100644 --- a/lib/libcurses/tinfo/write_entry.c +++ b/lib/libcurses/tinfo/write_entry.c @@ -1,4 +1,4 @@ -/* $OpenBSD: write_entry.c,v 1.3 1999/03/11 21:03:57 millert Exp $ */ +/* $OpenBSD: write_entry.c,v 1.4 1999/07/11 14:10:11 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -56,7 +56,7 @@ #define TRACE_OUT(p) /*nothing*/ #endif -MODULE_ID("$From: write_entry.c,v 1.46 1999/03/06 22:48:21 tom Exp $") +MODULE_ID("$From: write_entry.c,v 1.47 1999/07/10 20:29:22 tom Exp $") static int total_written; @@ -128,12 +128,10 @@ void _nc_set_writedir(char *dir) char *home = _nc_home_terminfo(); if (home != 0) { - + destination = home; if (make_directory(destination) < 0) _nc_err_abort("%s: permission denied (errno %d)", destination, errno); - - destination = home; } } |