* fork.cc (frok::parent): Improve error message.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2006-03-14  Christopher Faylor  <cgf@timesys.com> | ||||||
|  |  | ||||||
|  | 	* fork.cc (frok::parent): Improve error message. | ||||||
|  |  | ||||||
| 2006-03-14  Christopher Faylor  <cgf@timesys.com> | 2006-03-14  Christopher Faylor  <cgf@timesys.com> | ||||||
|  |  | ||||||
| 	* dcrt0.cc (main_environ): Initialize to &__cygwin_environment. | 	* dcrt0.cc (main_environ): Initialize to &__cygwin_environment. | ||||||
|   | |||||||
| @@ -333,7 +333,13 @@ frok::parent (void *stack_here) | |||||||
| 	      continue; | 	      continue; | ||||||
| 	    } | 	    } | ||||||
| 	  this_errno = EAGAIN; | 	  this_errno = EAGAIN; | ||||||
| 	  error = "died waiting for longjmp before initialization"; | 	  /* Not thread safe, but do we care? */ | ||||||
|  | 	  static char buf[sizeof("died waiting for longjmp before " | ||||||
|  | 				 "initialization, retry 4294967295, " | ||||||
|  | 				 "exit code 0xfffffffff")]; | ||||||
|  | 	  __small_sprintf (buf, "died waiting for longjmp before initialization, " | ||||||
|  | 			   "retry %d, exit code %p", ch.retry, exit_code); | ||||||
|  | 	  error = buf; | ||||||
| 	  goto cleanup; | 	  goto cleanup; | ||||||
| 	} | 	} | ||||||
|       break; |       break; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user