Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
083c0aac
Commit
083c0aac
authored
Feb 12, 2013
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean trailing whitespaces in Makefile.pre.in and grpmodule.c.
parent
aa1e1a27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Makefile.pre.in
Makefile.pre.in
+3
-3
Modules/grpmodule.c
Modules/grpmodule.c
+3
-3
No files found.
Makefile.pre.in
View file @
083c0aac
...
...
@@ -475,7 +475,7 @@ libpython$(VERSION).so: $(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)
;
\
libpython$(VERSION).sl
:
$(LIBRARY_OBJS)
$(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/StdSuites
\
plat-mac/lib-scriptpackages/SystemEvents
\
plat-mac/lib-scriptpackages/Terminal
plat-mac/lib-scriptpackages/Terminal
PLATMACPATH
=
:plat-mac:plat-mac/lib-scriptpackages
LIBSUBDIRS
=
lib-tk lib-tk/test lib-tk/test/test_tkinter
\
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
:
frameworkinstall frameworkinstallframework frameworkinstallstructure
.PHONY
:
frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
.PHONY
:
frameworkaltinstallunixtools recheck autoconf clean clobber distclean
.PHONY
:
frameworkaltinstallunixtools recheck autoconf clean clobber distclean
.PHONY
:
smelly funny patchcheck altmaninstall
.PHONY
:
gdbhooks
...
...
Modules/grpmodule.c
View file @
083c0aac
...
...
@@ -10,8 +10,8 @@
static
PyStructSequence_Field
struct_group_type_fields
[]
=
{
{
"gr_name"
,
"group name"
},
{
"gr_passwd"
,
"password"
},
{
"gr_gid"
,
"group id"
},
{
"gr_mem"
,
"group memebers"
},
{
"gr_gid"
,
"group id"
},
{
"gr_mem"
,
"group memebers"
},
{
0
}
};
...
...
@@ -113,7 +113,7 @@ grp_getgrnam(PyObject *self, PyObject *pyo_name)
if
(
!
py_str_name
)
return
NULL
;
name
=
PyString_AS_STRING
(
py_str_name
);
if
((
p
=
getgrnam
(
name
))
==
NULL
)
{
PyErr_Format
(
PyExc_KeyError
,
"getgrnam(): name not found: %s"
,
name
);
Py_DECREF
(
py_str_name
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment