diff options
| author | Richard Lowe <richlowe@richlowe.net> | 2014-03-12 18:56:10 +0000 |
|---|---|---|
| committer | Richard Lowe <richlowe@richlowe.net> | 2016-02-06 18:53:01 -0500 |
| commit | aeac2d873b68a43f6650e0d0f021c02f5a653a21 (patch) | |
| tree | aa69df8fa41abb9c0d64cf0853f3c4936a3dc215 /usr/src | |
| parent | f3b6506e5de00944c5a877f02a83b5e850f37ef5 (diff) | |
| download | illumos-joyent-aeac2d873b68a43f6650e0d0f021c02f5a653a21.tar.gz | |
6606 pysolaris has no translations but pretends otherwise
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/lib/Makefile | 1 | ||||
| -rw-r--r-- | usr/src/lib/pysolaris/Makefile | 11 | ||||
| -rw-r--r-- | usr/src/lib/pysolaris/common/misc.c | 9 |
3 files changed, 1 insertions, 20 deletions
diff --git a/usr/src/lib/Makefile b/usr/src/lib/Makefile index 7c6c561ea2..5af6a5dbf3 100644 --- a/usr/src/lib/Makefile +++ b/usr/src/lib/Makefile @@ -352,7 +352,6 @@ MSGSUBDIRS= \ madv \ mpss \ pam_modules \ - pysolaris \ pyzfs \ rpcsec_gss \ $($(MACH)_MSGSUBDIRS) diff --git a/usr/src/lib/pysolaris/Makefile b/usr/src/lib/pysolaris/Makefile index 7c018260b7..df3d21faa4 100644 --- a/usr/src/lib/pysolaris/Makefile +++ b/usr/src/lib/pysolaris/Makefile @@ -26,8 +26,6 @@ include ../Makefile.lib SUBDIRS= $(MACH) -XGETTEXT= $(GNUXGETTEXT) -XGETFLAGS= $(GNUXGETFLAGS) all := TARGET= all install := TARGET= install @@ -35,21 +33,14 @@ clean := TARGET= clean clobber := TARGET= clobber lint := TARGET= lint -MSGFIND = $(FIND) . -name '*.py' -o -name '*.c' -MSGFILES = $(MSGFIND:sh) PYCFIND = $(FIND) . -name '*.pyc' PYCFILES = $(PYCFIND:sh) -POFILE = pysolaris.po .KEEP_STATE: all install clean lint: $(SUBDIRS) clobber: $(SUBDIRS) - $(RM) $(POFILE) $(PYCFILES) - -$(POFILE): pofile_MSGFILES - -_msg: $(MSGDOMAINPOFILE) + $(RM) $(PYCFILES) $(SUBDIRS): FRC @cd $@; pwd; $(MAKE) $(TARGET) diff --git a/usr/src/lib/pysolaris/common/misc.c b/usr/src/lib/pysolaris/common/misc.c index da7bb0075f..13280d461f 100644 --- a/usr/src/lib/pysolaris/common/misc.c +++ b/usr/src/lib/pysolaris/common/misc.c @@ -29,12 +29,6 @@ #include <idmap.h> #include <directory.h> -#ifdef __lint -#define dgettext(x, y) y -#endif - -#define _(s) dgettext(TEXT_DOMAIN, s) - extern int sid_to_id(char *sid, boolean_t user, uid_t *id); static PyObject * @@ -130,8 +124,5 @@ static PyMethodDef solarismethods[] = { void initmisc(void) { - char *noop; - - noop = _("noop"); PyObject *solaris_misc = Py_InitModule("solaris.misc", solarismethods); } |
