summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/ruserpass.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-01 19:08:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-02 08:02:28 +0100
commit50aba30aee11d4fa51948c6ba258ec0bbdbae8c0 (patch)
tree84cdec45cf2982a4e3778bc391dcdcae14bd78d0 /libc/inet/rpc/ruserpass.c
parented10e944ac7f9b4d55dc130987274a2799a115b1 (diff)
remove libintl stub and libintl.h header
As __UCLIBC_HAS_GETTEXT_AWARENESS__ is never defined, this is mostly dead code. It is planned to integrate libiconv-tiny and gettext-tiny into uClibc-ng after the next release, so that more software packages can be used without modification. Remove any _/_N macro usage.
Diffstat (limited to 'libc/inet/rpc/ruserpass.c')
-rw-r--r--libc/inet/rpc/ruserpass.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c
index 9197763a3..4f3060b22 100644
--- a/libc/inet/rpc/ruserpass.c
+++ b/libc/inet/rpc/ruserpass.c
@@ -41,7 +41,6 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <libintl.h>
/* #include "ftp_var.h" */
@@ -163,7 +162,7 @@ next:
newp = malloc((unsigned) strlen(tokval) + 1);
if (newp == NULL)
{
- printf(_("out of memory"));
+ printf("out of memory");
goto bad;
}
*aname = strcpy(newp, tokval);
@@ -177,8 +176,8 @@ next:
if (strcmp(*aname, "anonymous") &&
fstat(fileno(cfile), &stb) >= 0 &&
(stb.st_mode & 077) != 0) {
- printf(_("Error: .netrc file is readable by others."));
- printf(_("Remove password or make file unreadable by others."));
+ printf("Error: .netrc file is readable by others.");
+ printf("Remove password or make file unreadable by others.");
goto bad;
}
if (token() && *apass == 0) {
@@ -186,7 +185,7 @@ next:
newp = malloc((unsigned) strlen(tokval) + 1);
if (newp == NULL)
{
- printf(_("out of memory"));
+ printf("out of memory");
goto bad;
}
*apass = strcpy(newp, tokval);
@@ -270,7 +269,7 @@ next:
#endif
break;
default:
- printf(_("Unknown .netrc keyword %s"), tokval);
+ printf("Unknown .netrc keyword %s", tokval);
break;
}
goto done;