File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 3131
3232 2000-03-17 Burt Holzman <holzman+ddate@gmail.com>
3333 - added range checks for dates
34+
35+ 2014-06-07 William Woodruff <william@tuffbizz.com>
36+ - removed gettext dependent locale code
37+
38+ FIVE TONS OF FLAX
3439*/
3540
3641/* configuration options VVVVV READ THIS!!! */
6267#include <time.h>
6368#include <stdio.h>
6469
65- // work around includes and defines from formerly nls.h
66- #include <locale.h>
67- #include <libintl.h>
68-
69- #define LOCALEDIR "/usr/share/locale"
70-
7170
7271// work around includes and defines from formerly c.h
7372#ifndef ARRAY_SIZE
@@ -185,10 +184,6 @@ main (int argc, char *argv[]) {
185184 if ((p = strrchr (progname , '/' )) != NULL )
186185 progname = p + 1 ;
187186
188- setlocale (LC_ALL , "" );
189- bindtextdomain (PACKAGE , LOCALEDIR );
190- textdomain (PACKAGE );
191-
192187 srandom (time (NULL ));
193188 /* do args here */
194189 for (pi = 1 ; pi < argc ; pi ++ ) {
You can’t perform that action at this time.
0 commit comments