Hi. This (old) patch fixes a typo in an error message in gentls_offsets.
Igor
==============================================================================
2004-07-06 Igor Peshansky <[EMAIL PROTECTED]>
* gentls_offsets: Fix typo in error message.
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"Index: winsup/cygwin/gentls_offsets
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/gentls_offsets,v
retrieving revision 1.6
diff -u -p -r1.6 gentls_offsets
--- winsup/cygwin/gentls_offsets 25 Feb 2004 04:08:00 -0000 1.6
+++ winsup/cygwin/gentls_offsets 6 Jul 2004 16:43:21 -0000
@@ -74,7 +74,7 @@ system @ARGV, '-o', "/tmp/$$-1.cc", '-E'
system 'g++', '-o', "/tmp/$$.a.out", "/tmp/$$-1.cc" and
($? == 127 && system 'c++', '-o', "/tmp/$$.a.out", "/tmp/$$-1.cc") and
die "$0: couldn't generate executable for offset calculation \"/tmp/$$.a.out\"
- $!\n";
-open(TLS_OUT, '>', $tls_out) or die "$0: couldn't open tls index file
\"tls_out\" - $!\n";
+open(TLS_OUT, '>', $tls_out) or die "$0: couldn't open tls index file
\"$tls_out\" - $!\n";
open(OFFS, "/tmp/$$.a.out|") or die "$0: couldn't run \"/tmp/$$.a.out\" -
$!\n";
print TLS_OUT <OFFS>;
close OFFS;