X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Fdb_iterator.c;h=94a4082047b3d4978afda6ed7617f7315c308328;hp=a14fb2161e01ac18efd26b5658d473eb38d87541;hb=4aaab5e7c855d212deaa53608a08de5648fd86f6;hpb=cc387b11f421650091d84640e05825ea5161ac66 diff --git a/ncurses/tinfo/db_iterator.c b/ncurses/tinfo/db_iterator.c index a14fb216..94a40820 100644 --- a/ncurses/tinfo/db_iterator.c +++ b/ncurses/tinfo/db_iterator.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2006-2012,2013 Free Software Foundation, Inc. * + * Copyright (c) 2006-2013,2014 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -43,7 +43,7 @@ #include #endif -MODULE_ID("$Id: db_iterator.c,v 1.38 2013/12/14 21:23:20 tom Exp $") +MODULE_ID("$Id: db_iterator.c,v 1.39 2014/11/01 14:47:00 tom Exp $") #define HaveTicDirectory _nc_globals.have_tic_directory #define KeepTicDirectory _nc_globals.keep_tic_directory @@ -187,7 +187,7 @@ _nc_tic_dir(const char *path) HaveTicDirectory = TRUE; } else if (HaveTicDirectory == 0) { if (use_terminfo_vars()) { - char *envp; + const char *envp; if ((envp = getenv("TERMINFO")) != 0) return _nc_tic_dir(envp); }