Fix a const-char vs char issue.
This commit is contained in:
parent
900d70a0c0
commit
9e5ff032b5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95646
@ -73,6 +73,8 @@ static const char rcsid[] =
|
|||||||
|
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
|
|
||||||
|
static char _path_words[] = _PATH_WORDS;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FOLD and DICT convert characters to a normal form for comparison,
|
* FOLD and DICT convert characters to a normal form for comparison,
|
||||||
* according to the user specified flags.
|
* according to the user specified flags.
|
||||||
@ -110,7 +112,7 @@ main(argc, argv)
|
|||||||
|
|
||||||
(void) setlocale(LC_CTYPE, "");
|
(void) setlocale(LC_CTYPE, "");
|
||||||
|
|
||||||
file = _PATH_WORDS;
|
file = _path_words;
|
||||||
termchar = '\0';
|
termchar = '\0';
|
||||||
while ((ch = getopt(argc, argv, "dft:")) != -1)
|
while ((ch = getopt(argc, argv, "dft:")) != -1)
|
||||||
switch(ch) {
|
switch(ch) {
|
||||||
|
Loading…
Reference in New Issue
Block a user