This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.17-610-g8fb16a0


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  8fb16a04e6be250fdae2ce85354aae3702151140 (commit)
      from  b99b892f6854b98bac5a581cbd20a6a7ed2e2470 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8fb16a04e6be250fdae2ce85354aae3702151140

commit 8fb16a04e6be250fdae2ce85354aae3702151140
Author: Roland McGrath <roland@hack.frob.com>
Date:   Mon May 6 15:10:09 2013 -0700

    Move getlogin, getlogin_r, setlogin to login/ subdir.

diff --git a/ChangeLog b/ChangeLog
index 6da92f3..c5ec238 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2013-05-06  Roland McGrath  <roland@hack.frob.com>
 
+	* posix/getlogin.c: Moved to ...
+	* login/getlogin.c: ... here.
+	* posix/getlogin_r.c: Moved to ...
+	* login/getlogin_r.c: ... here.
+	* posix/getlogin_r.c: Moved to ...
+	* login/getlogin_r.c: ... here.
+	* posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
+	* login/Makefile (routines): ... here.
+	* posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
+	* login/Versions (libc: GLIBC_2.0): ... here.
+
 	* resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
 	(setrlimit): Define as weak alias.
 
diff --git a/login/Makefile b/login/Makefile
index fa113fb..4b057ec 100644
--- a/login/Makefile
+++ b/login/Makefile
@@ -23,7 +23,8 @@ subdir	:= login
 
 headers	:= utmp.h bits/utmp.h lastlog.h pty.h
 
-routines := getutent getutent_r getutid getutline getutid_r getutline_r \
+routines := getlogin getlogin_r setlogin \
+	    getutent getutent_r getutid getutline getutid_r getutline_r \
 	    utmp_file utmpname updwtmp getpt grantpt unlockpt ptsname
 
 CFLAGS-grantpt.c = -DLIBEXECDIR='"$(libexecdir)"'
diff --git a/login/Versions b/login/Versions
index 401fc0e..0c9e75a 100644
--- a/login/Versions
+++ b/login/Versions
@@ -11,6 +11,7 @@ libc {
     pututline;
 
     # s*
+    setlogin;
     setutent;
 
     # u*
diff --git a/posix/getlogin.c b/login/getlogin.c
similarity index 100%
rename from posix/getlogin.c
rename to login/getlogin.c
diff --git a/posix/getlogin_r.c b/login/getlogin_r.c
similarity index 100%
rename from posix/getlogin_r.c
rename to login/getlogin_r.c
diff --git a/posix/setlogin.c b/login/setlogin.c
similarity index 100%
rename from posix/setlogin.c
rename to login/setlogin.c
diff --git a/posix/Makefile b/posix/Makefile
index a728630..8265e76 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -40,7 +40,6 @@ routines :=								      \
 	getuid geteuid getgid getegid getgroups setuid setgid group_member    \
 	getpgid setpgid getpgrp bsd-getpgrp setpgrp getsid setsid	      \
 	getresuid getresgid setresuid setresgid				      \
-	getlogin getlogin_r setlogin					      \
 	pathconf sysconf fpathconf					      \
 	glob glob64 fnmatch regex					      \
 	confstr								      \
diff --git a/posix/Versions b/posix/Versions
index 1bc235a..68df3a9 100644
--- a/posix/Versions
+++ b/posix/Versions
@@ -52,7 +52,7 @@ libc {
     # s*
     sched_get_priority_max; sched_get_priority_min; sched_getparam;
     sched_getscheduler; sched_rr_get_interval; sched_setparam;
-    sched_setscheduler; sched_yield; setegid; seteuid; setgid; setlogin;
+    sched_setscheduler; sched_yield; setegid; seteuid; setgid;
     setpgid; setpgrp; setsid; setuid; sleep; sysconf;
 
     # t*

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                     |   11 +++++++++++
 login/Makefile                |    3 ++-
 login/Versions                |    1 +
 {posix => login}/getlogin.c   |    0
 {posix => login}/getlogin_r.c |    0
 {posix => login}/setlogin.c   |    0
 posix/Makefile                |    1 -
 posix/Versions                |    2 +-
 8 files changed, 15 insertions(+), 3 deletions(-)
 rename {posix => login}/getlogin.c (100%)
 rename {posix => login}/getlogin_r.c (100%)
 rename {posix => login}/setlogin.c (100%)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]