1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00

Localize diff

This commit is contained in:
Andrey A. Chernov 1997-10-29 17:17:32 +00:00
parent 53d4d0e441
commit bb3e4497dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30845

View File

@ -24,7 +24,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "diff.h"
#include <signal.h>
#include "getopt.h"
#ifdef __FreeBSD__
#include <locale.h>
#include <fnmatch.h>
#else
#include "fnmatch.h"
#endif
#ifndef DEFAULT_WIDTH
#define DEFAULT_WIDTH 130
@ -235,6 +240,9 @@ main (argc, argv)
int width = DEFAULT_WIDTH;
int show_c_function = 0;
#ifdef __FreeBSD__
setlocale(LC_ALL, "");
#endif
/* Do our initializations. */
initialize_main (&argc, &argv);
program_name = argv[0];