mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Clean trailing whitespaces in Makefile.pre.in and grpmodule.c.
This commit is contained in:
parent
aa1e1a2755
commit
083c0aac32
2 changed files with 6 additions and 6 deletions
|
@ -475,7 +475,7 @@ libpython$(VERSION).so: $(LIBRARY_OBJS)
|
||||||
|
|
||||||
libpython$(VERSION).dylib: $(LIBRARY_OBJS)
|
libpython$(VERSION).dylib: $(LIBRARY_OBJS)
|
||||||
$(CC) -dynamiclib -Wl,-single_module $(LDFLAGS) -undefined dynamic_lookup -Wl,-install_name,$(prefix)/lib/libpython$(VERSION).dylib -Wl,-compatibility_version,$(VERSION) -Wl,-current_version,$(VERSION) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
|
$(CC) -dynamiclib -Wl,-single_module $(LDFLAGS) -undefined dynamic_lookup -Wl,-install_name,$(prefix)/lib/libpython$(VERSION).dylib -Wl,-compatibility_version,$(VERSION) -Wl,-current_version,$(VERSION) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
|
||||||
|
|
||||||
|
|
||||||
libpython$(VERSION).sl: $(LIBRARY_OBJS)
|
libpython$(VERSION).sl: $(LIBRARY_OBJS)
|
||||||
$(LDSHARED) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST)
|
$(LDSHARED) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST)
|
||||||
|
@ -911,7 +911,7 @@ PLATMACDIRS= plat-mac plat-mac/Carbon plat-mac/lib-scriptpackages \
|
||||||
plat-mac/lib-scriptpackages/Netscape \
|
plat-mac/lib-scriptpackages/Netscape \
|
||||||
plat-mac/lib-scriptpackages/StdSuites \
|
plat-mac/lib-scriptpackages/StdSuites \
|
||||||
plat-mac/lib-scriptpackages/SystemEvents \
|
plat-mac/lib-scriptpackages/SystemEvents \
|
||||||
plat-mac/lib-scriptpackages/Terminal
|
plat-mac/lib-scriptpackages/Terminal
|
||||||
PLATMACPATH=:plat-mac:plat-mac/lib-scriptpackages
|
PLATMACPATH=:plat-mac:plat-mac/lib-scriptpackages
|
||||||
LIBSUBDIRS= lib-tk lib-tk/test lib-tk/test/test_tkinter \
|
LIBSUBDIRS= lib-tk lib-tk/test lib-tk/test/test_tkinter \
|
||||||
lib-tk/test/test_ttk site-packages test test/data \
|
lib-tk/test/test_ttk site-packages test test/data \
|
||||||
|
@ -1333,7 +1333,7 @@ Python/thread.o: @THREADHEADERS@
|
||||||
.PHONY: maninstall libinstall inclinstall libainstall sharedinstall
|
.PHONY: maninstall libinstall inclinstall libainstall sharedinstall
|
||||||
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
|
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
|
||||||
.PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
|
.PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
|
||||||
.PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
|
.PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
|
||||||
.PHONY: smelly funny patchcheck altmaninstall
|
.PHONY: smelly funny patchcheck altmaninstall
|
||||||
.PHONY: gdbhooks
|
.PHONY: gdbhooks
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
static PyStructSequence_Field struct_group_type_fields[] = {
|
static PyStructSequence_Field struct_group_type_fields[] = {
|
||||||
{"gr_name", "group name"},
|
{"gr_name", "group name"},
|
||||||
{"gr_passwd", "password"},
|
{"gr_passwd", "password"},
|
||||||
{"gr_gid", "group id"},
|
{"gr_gid", "group id"},
|
||||||
{"gr_mem", "group memebers"},
|
{"gr_mem", "group memebers"},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ grp_getgrnam(PyObject *self, PyObject *pyo_name)
|
||||||
if (!py_str_name)
|
if (!py_str_name)
|
||||||
return NULL;
|
return NULL;
|
||||||
name = PyString_AS_STRING(py_str_name);
|
name = PyString_AS_STRING(py_str_name);
|
||||||
|
|
||||||
if ((p = getgrnam(name)) == NULL) {
|
if ((p = getgrnam(name)) == NULL) {
|
||||||
PyErr_Format(PyExc_KeyError, "getgrnam(): name not found: %s", name);
|
PyErr_Format(PyExc_KeyError, "getgrnam(): name not found: %s", name);
|
||||||
Py_DECREF(py_str_name);
|
Py_DECREF(py_str_name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue