Skip to content

Commit dd5f5be

Browse files
author
Philipp Möller
committed
Merge branch 'master' of git://github.com/woodruffw/ddate into woodruffw-master
Conflicts: ddate.c
2 parents ee648b9 + 4fbccdf commit dd5f5be

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

ddate.c

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,13 @@
3737
2000-03-17 Burt Holzman <holzman+ddate@gmail.com>
3838
- added range checks for dates
3939
40+
2014-06-07 William Woodruff <william@tuffbizz.com>
41+
- removed gettext dependent locale code
42+
4043
15th of Confusion, 3180:
4144
- call out adherents of the wrong fruit
45+
46+
FIVE TONS OF FLAX
4247
*/
4348

4449
/* configuration options VVVVV READ THIS!!! */
@@ -70,12 +75,6 @@
7075
#include <time.h>
7176
#include <stdio.h>
7277

73-
// work around includes and defines from formerly nls.h
74-
#include <locale.h>
75-
#include <libintl.h>
76-
77-
#define LOCALEDIR "/usr/share/locale"
78-
7978

8079
// work around includes and defines from formerly c.h
8180
#ifndef ARRAY_SIZE
@@ -196,10 +195,6 @@ main (int argc, char *argv[]) {
196195
if ((p = strrchr(progname, '/')) != NULL)
197196
progname = p+1;
198197

199-
setlocale(LC_ALL, "");
200-
bindtextdomain(PACKAGE, LOCALEDIR);
201-
textdomain(PACKAGE);
202-
203198
srandom(time(NULL));
204199
/* do args here */
205200
for(pi=1; pi<argc; pi++) {

0 commit comments

Comments
 (0)