-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://github.com/woodruffw/ddate into woodru…
…ffw-master Conflicts: ddate.c
- Loading branch information
Showing
1 changed file
with
5 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,13 @@ | |
2000-03-17 Burt Holzman <[email protected]> | ||
- added range checks for dates | ||
2014-06-07 William Woodruff <[email protected]> | ||
- removed gettext dependent locale code | ||
15th of Confusion, 3180: | ||
- call out adherents of the wrong fruit | ||
FIVE TONS OF FLAX | ||
*/ | ||
|
||
/* configuration options VVVVV READ THIS!!! */ | ||
|
@@ -70,12 +75,6 @@ | |
#include <time.h> | ||
#include <stdio.h> | ||
|
||
// work around includes and defines from formerly nls.h | ||
#include <locale.h> | ||
#include <libintl.h> | ||
|
||
#define LOCALEDIR "/usr/share/locale" | ||
|
||
|
||
// work around includes and defines from formerly c.h | ||
#ifndef ARRAY_SIZE | ||
|
@@ -196,10 +195,6 @@ main (int argc, char *argv[]) { | |
if ((p = strrchr(progname, '/')) != NULL) | ||
progname = p+1; | ||
|
||
setlocale(LC_ALL, ""); | ||
bindtextdomain(PACKAGE, LOCALEDIR); | ||
textdomain(PACKAGE); | ||
|
||
srandom(time(NULL)); | ||
/* do args here */ | ||
for(pi=1; pi<argc; pi++) { | ||
|