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.26.9000-1192-gf8bee46


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  f8bee46cc209ee968c1a34a4b46be91ce691dfc6 (commit)
       via  844bf92148eee21805b9248264b6c2c557529cc5 (commit)
      from  19fd8d0d3ebcf84e0e380902e0e2fe720d377f0f (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=f8bee46cc209ee968c1a34a4b46be91ce691dfc6

commit f8bee46cc209ee968c1a34a4b46be91ce691dfc6
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jan 28 16:23:59 2018 +0100

    hurd: Fix warnings
    
    	* hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
    	__hurd_file_name_split, hurd_file_name_split,
    	__hurd_directory_name_split, hurd_directory_name_split,
    	__hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
    	hurd_file_name_path_lookup): Make lookup function parameter take a
    	const char *name instead of char *name.
    	* hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
    	__hurd_directory_name_split): Likewise.
    	* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
    	* hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 3ca2409..9a34b84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,16 @@
 	critical section to make code simpler and avoid warning.
 	* sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
 	const char * instead of char *.
+	* hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
+	__hurd_file_name_split, hurd_file_name_split,
+	__hurd_directory_name_split, hurd_directory_name_split,
+	__hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
+	hurd_file_name_path_lookup): Make lookup function parameter take a
+	const char *name instead of char *name.
+	* hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
+	__hurd_directory_name_split): Likewise.
+	* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
+	* hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
 
 2018-01-27  James Clarke  <jrtc27@jrtc27.com>
 
diff --git a/hurd/hurd/lookup.h b/hurd/hurd/lookup.h
index 29ca3de..d84fef5 100644
--- a/hurd/hurd/lookup.h
+++ b/hurd/hurd/lookup.h
@@ -48,7 +48,7 @@ error_t __hurd_file_name_lookup (error_t (*use_init_port)
 				    error_t (*operate) (mach_port_t)),
 				 file_t (*get_dtable_port) (int fd),
 				 error_t (*lookup)
-				   (file_t dir, char *name, int flags, mode_t mode,
+				   (file_t dir, const char *name, int flags, mode_t mode,
 				    retry_type *do_retry, string_t retry_name,
 				    mach_port_t *result),
 				 const char *file_name,
@@ -59,7 +59,7 @@ error_t hurd_file_name_lookup (error_t (*use_init_port)
 				  error_t (*operate) (mach_port_t)),
 			       file_t (*get_dtable_port) (int fd),
 			       error_t (*lookup)
-				 (file_t dir, char *name, int flags, mode_t mode,
+				 (file_t dir, const char *name, int flags, mode_t mode,
 				  retry_type *do_retry, string_t retry_name,
 				  mach_port_t *result),
 			       const char *file_name,
@@ -75,7 +75,7 @@ error_t __hurd_file_name_split (error_t (*use_init_port)
 				  (int which,
 				   error_t (*operate) (mach_port_t)),
 				file_t (*get_dtable_port) (int fd),
-				error_t (*lookup) (file_t dir, char *name,
+				error_t (*lookup) (file_t dir, const char *name,
 						   int flags, mode_t mode,
 				   retry_type *do_retry, string_t retry_name,
 				   mach_port_t *result),
@@ -85,7 +85,7 @@ error_t hurd_file_name_split (error_t (*use_init_port)
 			        (int which,
 				 error_t (*operate) (mach_port_t)),
 			      file_t (*get_dtable_port) (int fd),
-			      error_t (*lookup) (file_t dir, char *name,
+			      error_t (*lookup) (file_t dir, const char *name,
 						 int flags, mode_t mode,
 				 retry_type *do_retry, string_t retry_name,
 				 mach_port_t *result),
@@ -99,7 +99,7 @@ error_t __hurd_directory_name_split (error_t (*use_init_port)
 				  (int which,
 				   error_t (*operate) (mach_port_t)),
 				file_t (*get_dtable_port) (int fd),
-				error_t (*lookup) (file_t dir, char *name,
+				error_t (*lookup) (file_t dir, const char *name,
 						   int flags, mode_t mode,
 				   retry_type *do_retry, string_t retry_name,
 				   mach_port_t *result),
@@ -109,7 +109,7 @@ error_t hurd_directory_name_split (error_t (*use_init_port)
 				   (int which,
 				    error_t (*operate) (mach_port_t)),
 				   file_t (*get_dtable_port) (int fd),
-				   error_t (*lookup) (file_t dir, char *name,
+				   error_t (*lookup) (file_t dir, const char *name,
 						      int flags, mode_t mode,
 				    retry_type *do_retry, string_t retry_name,
 				    mach_port_t *result),
@@ -128,7 +128,7 @@ error_t __hurd_file_name_lookup_retry (error_t (*use_init_port)
 					  error_t (*operate) (mach_port_t)),
 				       file_t (*get_dtable_port) (int fd),
 				       error_t (*lookup)
-				         (file_t dir, char *name,
+				         (file_t dir, const char *name,
 					  int flags, mode_t mode,
 					  retry_type *do_retry,
 					  string_t retry_name,
@@ -142,7 +142,7 @@ error_t hurd_file_name_lookup_retry (error_t (*use_init_port)
 					error_t (*operate) (mach_port_t)),
 				     file_t (*get_dtable_port) (int fd),
 				     error_t (*lookup)
-				       (file_t dir, char *name,
+				       (file_t dir, const char *name,
 					int flags, mode_t mode,
 					retry_type *do_retry,
 					string_t retry_name,
@@ -178,7 +178,7 @@ error_t hurd_file_name_path_lookup (error_t (*use_init_port)
 				     error_t (*operate) (mach_port_t)),
 				    file_t (*get_dtable_port) (int fd),
 				    error_t (*lookup)
-				      (file_t dir, char *name,
+				      (file_t dir, const char *name,
 				       int flags, mode_t mode,
 				       retry_type *do_retry,
 				       string_t retry_name,
diff --git a/hurd/hurdlookup.c b/hurd/hurdlookup.c
index f58d72b..1861d58 100644
--- a/hurd/hurdlookup.c
+++ b/hurd/hurdlookup.c
@@ -42,7 +42,7 @@ __hurd_file_name_lookup (error_t (*use_init_port)
 			   (int which, error_t (*operate) (file_t)),
 			 file_t (*get_dtable_port) (int fd),
 			 error_t (*lookup)
-			   (file_t dir, char *name, int flags, mode_t mode,
+			   (file_t dir, const char *name, int flags, mode_t mode,
 			    retry_type *do_retry, string_t retry_name,
 			    mach_port_t *result),
 			 const char *file_name, int flags, mode_t mode,
@@ -105,7 +105,7 @@ __hurd_file_name_split (error_t (*use_init_port)
 			  (int which, error_t (*operate) (file_t)),
 			file_t (*get_dtable_port) (int fd),
 			error_t (*lookup)
-			  (file_t dir, char *name, int flags, mode_t mode,
+			  (file_t dir, const char *name, int flags, mode_t mode,
 			   retry_type *do_retry, string_t retry_name,
 			   mach_port_t *result),
 			const char *file_name,
@@ -158,7 +158,7 @@ __hurd_directory_name_split (error_t (*use_init_port)
 			     (int which, error_t (*operate) (file_t)),
 			     file_t (*get_dtable_port) (int fd),
 			     error_t (*lookup)
-			     (file_t dir, char *name, int flags, mode_t mode,
+			     (file_t dir, const char *name, int flags, mode_t mode,
 			      retry_type *do_retry, string_t retry_name,
 			      mach_port_t *result),
 			     const char *file_name,
diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c
index b1fb9b6..319e9c0 100644
--- a/hurd/lookup-retry.c
+++ b/hurd/lookup-retry.c
@@ -47,7 +47,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port)
 				 (int which, error_t (*operate) (file_t)),
 			       file_t (*get_dtable_port) (int fd),
 			       error_t (*lookup)
-				 (file_t dir, char *name,
+				 (file_t dir, const char *name,
 				  int flags, mode_t mode,
 				  retry_type *do_retry, string_t retry_name,
 				  mach_port_t *result),
diff --git a/hurd/path-lookup.c b/hurd/path-lookup.c
index 3861d21..d3906e1 100644
--- a/hurd/path-lookup.c
+++ b/hurd/path-lookup.c
@@ -91,7 +91,7 @@ hurd_file_name_path_lookup (error_t (*use_init_port)
 			      (int which, error_t (*operate) (mach_port_t)),
 			    file_t (*get_dtable_port) (int fd),
 			    error_t (*lookup)
-			      (file_t dir, char *name, int flags, mode_t mode,
+			      (file_t dir, const char *name, int flags, mode_t mode,
 			       retry_type *do_retry, string_t retry_name,
 			       mach_port_t *result),
 			    const char *file_name, const char *path,

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=844bf92148eee21805b9248264b6c2c557529cc5

commit 844bf92148eee21805b9248264b6c2c557529cc5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jan 28 16:21:28 2018 +0100

    hurd: Fix warning
    
    	* sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
    	const char * instead of char *.

diff --git a/ChangeLog b/ChangeLog
index 863afe0..3ca2409 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,8 @@
 	critical section to make code simpler and avoid warning.
 	* sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
 	critical section to make code simpler and avoid warning.
+	* sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
+	const char * instead of char *.
 
 2018-01-27  James Clarke  <jrtc27@jrtc27.com>
 
diff --git a/sysdeps/mach/hurd/spawni.c b/sysdeps/mach/hurd/spawni.c
index aa3b0c4..9351c13 100644
--- a/sysdeps/mach/hurd/spawni.c
+++ b/sysdeps/mach/hurd/spawni.c
@@ -45,7 +45,8 @@ __spawni (pid_t *pid, const char *file,
 {
   pid_t new_pid;
   char *path, *p, *name;
-  char *concat_name = NULL, *relpath, *abspath;
+  char *concat_name = NULL;
+  const char *relpath, *abspath;
   int res;
   size_t len;
   size_t pathlen;

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

Summary of changes:
 ChangeLog                  |   12 ++++++++++++
 hurd/hurd/lookup.h         |   18 +++++++++---------
 hurd/hurdlookup.c          |    6 +++---
 hurd/lookup-retry.c        |    2 +-
 hurd/path-lookup.c         |    2 +-
 sysdeps/mach/hurd/spawni.c |    3 ++-
 6 files changed, 28 insertions(+), 15 deletions(-)


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]