gnu: make-bootstrap: Adapt glibc-bootstrap-system.patch for glibc-2.27.
* gnu/packages/patches/glibc-bootstrap-system.patch: Adapt for glibc-2.27.
This commit is contained in:
		
							parent
							
								
									0bc7c2e43d
								
							
						
					
					
						commit
						06b1d6954a
					
				
					 1 changed files with 7 additions and 7 deletions
				
			
		|  | @ -15,16 +15,16 @@ instead uses the hard-coded absolute file name of `bash'. | ||||||
|      } |      } | ||||||
|    else if (pid < (pid_t) 0) |    else if (pid < (pid_t) 0) | ||||||
| 
 | 
 | ||||||
| --- b/libio/iopopen.c	2012-06-30 21:12:34.000000000 +0200
 | --- a/libio/iopopen.c
 | ||||||
| +++ b/libio/iopopen.c	2012-12-19 12:52:29.000000000 +0100
 | +++ b/libio/iopopen.c
 | ||||||
| @@ -226,7 +226,7 @@ _IO_new_proc_open (fp, command, mode)
 | @@ -145,7 +145,7 @@ _IO_new_proc_open (fp, command, mode)
 | ||||||
|  	    _IO_close (fd); |  	    __close_nocancel (fd); | ||||||
|  	} |  	} | ||||||
|   |   | ||||||
| -      _IO_execl ("/bin/sh", "sh", "-c", command, (char *) 0);
 | -      execl ("/bin/sh", "sh", "-c", command, (char *) 0);
 | ||||||
| +      execlp ("sh", "sh", "-c", command, (char *) 0);
 | +      execlp ("sh", "sh", "-c", command, (char *) 0);
 | ||||||
|        _IO__exit (127); |        _exit (127); | ||||||
|      } |      } | ||||||
|    _IO_close (child_end); |    __close_nocancel (child_end); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Reference in a new issue