Re: popen() fails while system() works

2005-01-09 Thread Rainer Hochreiter
On Wed, 05 Jan 2005 10:02:04 -0500, Jason Tishler wrote:
> IMO, rebasing individual DLLs is not be very useful, unless you know
> where all of the other DLLs are based.

thanks, rebaseall makes it working - for a while ;-)

after reviewing my code i found a real big memory allocation:

char* line = new char[std::string().max_size()];

which allocates 1073741820 in my case! well this is really much more
memory that i need for a single line read from another process using
popen()! changing this to a more reasonable size makes everything work,
even without rebaseall!

but what's the real reason why popen() results in the address
conflict and system() does not?!

-- 
Rainer Hochreiter
Research & Development
TOPCALL Internation AG
A-1230 Vienna, Talpagasse 1
Phone: +43 1 86353 198 Fax: +43 1 86353 8198
Email: [EMAIL PROTECTED]
WWW: http://www.topcall.com



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Obscene content in cygwin file.

2005-01-09 Thread Andrew DeFaria
Gary R. Van Sickle wrote:
-Original Message-
From: Daniel Reed
Sent: Sunday, January 09, 2005 12:51 PM
To: Gary R. Van Sickle
Subject: RE: Obscene content in cygwin file.
On 2005-01-08T17:57-0600, Gary R. Van Sickle wrote:
) - The limericks in question are of interest only to 
junior-highschool-age
) sysadmins and lawyers.

I find them humorous.
So are you a lawyer, or a junior-high-school-age sysadmin?
Isn't that your still unproven assertion? Stop engaging in strawmen.
) - Redacting the limericks in question from Cygwin will eliminate 
the risk
) they cause.

You are not a lawyer,
Says who?
Well you could easily clear that up. Are you a lawyer? Obviously not 
since by your very own assertion you are not interested in these 
limericks! (See what happens when you use silly arguments - you trip 
yourself up in them).

Please do not try to express a false legal opinion to justify a 
faulty personal one.
I am expressing no legal opinion. I am merely stating the obvious: if 
there's no potty-mouth there to offend, nobody can be offended by the 
potty-mouth. Do you disagree with this axiom?
We have not established that either. Again it is your assertion.
--
Why do people ask "Can I ask you a question?" Didn't really give me 
a choice there, did ya sunshine?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


FW: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
I wrote:
> Test it with Windows telnet:
>
>C:\Documents and Settings\dpchrist>telnet cloud.he.net 25
>Connecting To cloud.he.net...Could not open connection to the host, on port
25: Connect failed
>
> So, Cygwin exim and Windows telnet both can't connect to cloud.he.net on port
> 25, yet Outlook sends mail via that host... (?)

Googling on "Could not open connection to the host, on port 25: Connect failed"
provided the hint:

http://forums.msexchange.org/ultimatebb.cgi?ubb=get_topic;f=2;t=006596


I have McAfee VirusScan Enterprise 8.0i -- it's Access Protection (firewall)
blocks outgoing connections on port 25 except for Outlook, etc..  Here's some
log entries related to my Cygwin frustrations:

11/22/2004  9:00:33 PM  Blocked by port blocking rule  telnet.exe  P
revent mass mailing worms from sending mail  127.0.0.1

1/9/2005  9:52:52 PM  Blocked by port blocking rule  exim-4.43-1.exe
  Prevent mass mailing worms from sending mail  65.19.145.2


Adding "telnet.exe" and "exim-4.43-1.exe" to the list of excluded processes
allows them to get out.  :-)


The last step to get Cygwin cron to send messages is to adjust /etc/aliases:

[EMAIL PROTECTED]:~$ vi /etc/aliases
[EMAIL PROTECTED]:~$ cat /etc/aliases
dpchrist: [EMAIL PROTECTED]
postmaster: dpchrist
root: dpchrist
[EMAIL PROTECTED]:~$ cygrunsrv --stop exim
[EMAIL PROTECTED]:~$ cygrunsrv --start exim
[EMAIL PROTECTED]:~$ runq


David


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
Ross Boulet wrote:
> Make sure when you run rebaseall that you first stop any
> cygwin processes that are running(sshd for example),
> otherwise, rebaseall can't get to the dll's.

D'oh!  Stopping and removing all Cygwin services, moving away C:\cygwin, and
doing a fresh install, it now works:

[EMAIL PROTECTED]:~$ rebaseall
[EMAIL PROTECTED]:~$


Thanks!


David


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: ***[Possible UCE]*** RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
Pierre A. Humblet wrote:
> Regarding telnet on port 25, that must be a local issue.  Until you
> can get {Windows,Cygwin} telnet ... 25 to connect, there is little
> sense trying a mailer.

I agree.


I also realized that port 25 on the Windows Firewall exception for port 25
should be irrelevant to this issue -- Windows Firewall is only supposed to
filter incoming connections, not ongoing connections. (Right?)


Pierre A. Humblet wrote:
> ssmtp is available from the Cygwin setup.exe, in the mail category.

Harig, Mark wrote:
> You should be able to find the 'ssmtp' package using setup.exe.
> It is in the Mail category.

Both my setup.exe and package lists are stale.  So, it's time for a wipe/ fresh
install cycle.  Maybe that will fix things.


David


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
Pierre A. Humblet wrote:
> By the way, from my home with Cygwin telnet:
> ~: telnet cloud.he.net 25
> Trying 65.19.145.2...
> Connected to cloud.he.net.
> Escape character is '^]'.
> 220 cloud.he.net ESMTP Ready

Thanks for the sanity check.  :-)


David


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Fortune potty-mouth and those who demand it

2005-01-09 Thread Gary R. Van Sickle
Guys:

Don't email me privately on this matter.  It makes no sense to discuss this
"community" issue privately, even assuming I wished to do so, which I do
not.  This issue is only an issue at all because of the public nature of
Cygwin, so any discussions on the matter must also be of a public nature.

In that spirit, I will assume any private emails I receive on the matter
were intended to go to the list and accidentally went to me due to the
"Reply != Reply To List" issue we're still having to put up with even though
it's the 21st century, and I will send any replies of my own to the list.

Thank you for your understanding in this trying time of potty-mouth
oppression and the subsequent fall of Western Civilization.

-- 
Gary R. Van Sickle
Brewer.  Patriot.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Obscene content in cygwin file.

2005-01-09 Thread Gary R. Van Sickle
> -Original Message-
> From: Daniel Reed
> Sent: Sunday, January 09, 2005 12:51 PM
> To: Gary R. Van Sickle
> Subject: RE: Obscene content in cygwin file.
> 
> On 2005-01-08T17:57-0600, Gary R. Van Sickle wrote:
> ) - The limericks in question are of interest only to 
> junior-highschool-age
> ) sysadmins and lawyers.
> 
> I find them humorous.
> 

So are you a lawyer, or a junior-high-school-age sysadmin?

> 
> ) - Redacting the limericks in question from Cygwin will 
> eliminate the risk
> ) they cause.
> 
> You are not a lawyer,

Says who?

> and you misused the verb "to redact". 

Mmm, no, I don't think I did, but let's let Merriam J. Webster be the judge:

http://www.merriam-webster.com/cgi-bin/dictionary?book=Dictionary&va=redact&;
x=22&y=21
"Main Entry: re.dact 
Pronunciation: ri-'dakt
Function: transitive verb
Etymology: Middle English, from Latin redactus, past participle of redigere
1 : to put in writing : FRAME
2 : to select or adapt for publication : EDIT" 

Choosing of course the second definition:

http://www.merriam-webster.com/cgi-bin/dictionary?book=Dictionary&va=edit
"Main Entry: 1ed.it 
Pronunciation: 'e-d&t
Function: transitive verb
Etymology: back-formation from editor
1 a : to prepare (as literary material) for publication or public
presentation b : to assemble (as a moving picture or tape recording) by
cutting and rearranging c : to alter, adapt, or refine especially to bring
about conformity to a standard or to suit a particular purpose 
2 : to direct the publication of 
3 : DELETE -- usually used with out
- ed.it.able  /'e-d&-t&-b&l/ adjective" 

So to complete the pedagogy, To redact the potty-mouth in question, one
would "3 : DELETE" the offensive material.

> Please do not try to express a false legal opinion to justify 
> a faulty personal one.

I am expressing no legal opinion.  I am merely stating the obvious: if
there's no potty-mouth there to offend, nobody can be offended by the
potty-mouth.  Do you disagree with this axiom?

-- 
Gary R. Van Sickle
 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: New version of fortune - questions

2005-01-09 Thread Gary R. Van Sickle
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Volker Bandke
> Sent: Sunday, January 09, 2005 1:15 PM
> To: Cygwin
> Subject: New version of fortune - questions
> 
>  
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> 
> > Anything about sex is offensive.  Welcome to 
> America.  *sigh*
>

Live Free Or Sigh!
   
> ??? I am not in America. Can we have a European version as well?  
>   

You can have anything you want, my Deutchlander friend.  Unfortunately for
you, that's orthogonal to the question of whether an organization is
obligated to give you whatever you want.

>   
> > Limericks are offensive even if they aren't.
> 
> The Sickle Principle ?  :)
> 
> 

Um, that's "Van Sickle" thank you very much.  Dutchland uber alles! ;-)
 
> >> Tastelessness is offensive (q.v. "The Snack").
> 
> De gustibus non est disputandem.
> 

"Don't dispute what your gut tells you".  Sound advice in any language, live
or dead.

> BTW, what is "The Snack" ?

Apparently an offensive limerick, and therefore by some people's warped
estimation if Cygwin doesn't covertly force it upon its users, Cygwin is
"censoring" and "banning" "free speech", which will result in the rise of a
Fourth Reich, and government of the people, by the people, for the people
shall perish from the earth.
 
-- 
Gary R. Van Sickle 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread Ross Boulet
[snip]
> 
> I dunno either, but gave it a try anyway:
>
> [EMAIL PROTECTED]:~$ rebaseall
> ReBaseImage (/usr/bin/cygcrypt-0.dll) failed with last
error = 6
> [EMAIL PROTECTED]:~$ rebaseall
> ReBaseImage (/usr/bin/cygcrypt-0.dll) failed with last
error = 6
>
>
[snip]

Make sure when you run rebaseall that you first stop any
cygwin processes that are running(sshd for example),
otherwise, rebaseall can't get to the dll's.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: perl 5.8.6

2005-01-09 Thread Yitzchak Scott-Thoennes
On Mon, Jan 10, 2005 at 12:30:41AM +0100, Gerrit P. Haase wrote:
> Yitzchak Scott-Thoennes wrote:
> >On Sun, Jan 09, 2005 at 06:11:42PM +0100, Gerrit P. Haase wrote:
> >>Hmmm, getting this error:
> >>
> >> Skipping lib/auto/Win32CORE/Win32CORE.a (directory does not exist)
> >
> >
> >Can I have a little more context?  If this is during the make, this
> >is what I see:
> 
> I got it, the problem was that I use -Dmksymlinks to build and the
> Win32CORE files are not in MANIFEST which is used to create the
> symlinks.

Oops, sorry.  I usually use mksymlinks too, but didn't this time.

> >chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a
> >make[1]: Leaving directory 
> >`/home/sthoenna/dl/tmp/perl-5.8.6/ext/DynaLoader'
> >
> >Making Win32CORE (static_pic)
> >Processing hints file hints/cygwin.pl
> 
> Yep, this works for me too now;)

Elsewhere in this thread, Reini Urban posted his updated sources
for the libwin32 package.  I had meant to check if there were
changes to Win32CORE, but haven't got around to it.  I'll try
to do that really soon.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: perl 5.8.6

2005-01-09 Thread Gerrit P. Haase
Yitzchak Scott-Thoennes wrote:
On Sun, Jan 09, 2005 at 06:11:42PM +0100, Gerrit P. Haase wrote:
Hmmm, getting this error:
 Skipping lib/auto/Win32CORE/Win32CORE.a (directory does not exist)

Can I have a little more context?  If this is during the make, this
is what I see:
I got it, the problem was that I use -Dmksymlinks to build and the
Win32CORE files are not in MANIFEST which is used to create the
symlinks.

chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a
make[1]: Leaving directory `/home/sthoenna/dl/tmp/perl-5.8.6/ext/DynaLoader'
Making Win32CORE (static_pic)
Processing hints file hints/cygwin.pl
Yep, this works for me too now;)
Gerrit
--
=^..^=
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: perl 5.8.6

2005-01-09 Thread Yitzchak Scott-Thoennes
On Sun, Jan 09, 2005 at 06:11:42PM +0100, Gerrit P. Haase wrote:
> Yitzchak Scott-Thoennes wrote:
> 
> >On Wed, Dec 08, 2004 at 11:30:53AM -0800, Yitzchak Scott-Thoennes wrote:
> >
> >>Gerrit, I've hoped to have some time to work on Win32:: stuff on the
> >>perl side, but haven't gotten around to it.  For 5.8.6, could you give
> >>a try to including the Win32CORE module from the perl-libwin32 package
> >>as a static extension and the Win32 module as a dynamic extension (and
> >>bootstrap Win32CORE in cygwin.c)?  If it works, that would make cygwin
> >>have equivalent to what's in win32 perl.
> >
> >
> >Here's the Win32CORE part.  I'd really like to see the builtin Win32::
> >functions be available in the cygwin perl, and this seems the easiest
> >way to do it for just a cygwin release, but in the longer term I'm
> >really hoping to get the equivalent (only newer now) code in from the
> >regular win32 perl build shared between win32 and cygwin by the time
> >5.8.7 is ready.  AIUI cutoff for that will be February 1st.

Unfortunately, this is looking unlikely at this point.  I've been
working on getting a regular win32 build to work under cygwin so
I can do testing, but haven't had enough time to get very far
with actually making the code shared.

> >This patch should apply to the perl-5.8.6 source, and the tarball has
> >the new files for the Win32CORE extension.  Those are taken verbatim
> >from the perl-libwin32 package, except that I added a "no warnings
> >"redefine"' to the Win32CORE.pm so those who use it don't get warnings.
> >I didn't make it just a no-op in case there are people sharing modules
> >between different versions of perl.
> 
> Hmmm, getting this error:
> 
>   Skipping lib/auto/Win32CORE/Win32CORE.a (directory does not exist)

Can I have a little more context?  If this is during the make, this
is what I see:

chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a
make[1]: Leaving directory `/home/sthoenna/dl/tmp/perl-5.8.6/ext/DynaLoader'

Making Win32CORE (static_pic)
Processing hints file hints/cygwin.pl
Writing Makefile for Win32CORE
make[1]: Entering directory `/home/sthoenna/dl/tmp/perl-5.8.6/ext/Win32CORE'
make[1]: Leaving directory `/home/sthoenna/dl/tmp/perl-5.8.6/ext/Win32CORE'
make[1]: Entering directory `/home/sthoenna/dl/tmp/perl-5.8.6/ext/Win32CORE'
cp Win32CORE.pm ../../lib/Win32CORE.pm
gcc -c   -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe  -pipe  
-DUSEIMPORTLIB -g   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"  "-I../.."  
-DMODULE -DBACKPORT Win32CORE.c
rm -rf ../../lib/auto/Win32CORE/Win32CORE.a
/usr/bin/ar cr ../../lib/auto/Win32CORE/Win32CORE.a Win32CORE.o  && : 
../../lib/auto/Win32CORE/Win32CORE.a
chmod 755 ../../lib/auto/Win32CORE/Win32CORE.a
make[1]: Leaving directory `/home/sthoenna/dl/tmp/perl-5.8.6/ext/Win32CORE'

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread Harig, Mark
> 
> > ssmtp is less likely to suffer rebase issue. Use ssmtp-config. 
> 
> I don't seem to have it:
> 
> [EMAIL PROTECTED]:~$ updatedb
> [EMAIL PROTECTED]:~$ locate smtp-config
> [EMAIL PROTECTED]:~$ smtp
> smtpapi.dll   smtpcons.mfl  smtpctrs.dll  smtpctrs.ini
> smtpcons.dll  smtpcons.mof  smtpctrs.h
> 
> 
> Any suggestions?
> 

You should be able to find the 'ssmtp' package using setup.exe.
It is in the Mail category.

---

P.S.,

  Please do not reply to me.  Use the mailing list.
  Please do not include my address in any replies.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Memory for large arrays in cygwin/g77

2005-01-09 Thread Mark Hadfield
Dante R. Chialvo wrote:
Thanks for the suggestions
Bottom line both ideas work fine in my case:
1) Install the g95 compiler, 
or
2) Use g77 using the Wl option, ie,

 g77 -O2 -o mybigprogram -Wl,--stack,1  mybigprogram.f 

So thanks a lot,  
That's odd. Increasing the stack size definitely does not work for me. 
It just causes the program to terminate silently, with no output.

My test script is below. with comments describing the results on my 
system. Would anyone care to try it out and compare?

I have an up-to-date Cygwin system on Windows 2000. Very ordinary and 
uncustomised except for heap_chunk_in_mb set to 1024. G77 version is...

hadfield $ g77 -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs
Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr 
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib 
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-languages=c,ada,c++,d,f77,java,objc,pascal --enable-nls 
--without-included-gettext --enable-libgcj --with-system-zlib 
--enable-interpreter --enable-threads=posix --enable-java-gc=boehm 
--enable-sjlj-exceptions --disable-version-specific-runtime-libs 
--disable-win32-registry
Thread model: posix
gcc version 3.3.3 (cygwin special)

Test script:
-
#! /bin/bash
# Investigate g77/Cygwin memory limits
set -e
srcfile=/tmp/g77test.f
exefile=/tmp/g77test.exe
# With g77 -mno-cygwin, the program works for n of at least
# 25000. With this value the program requires 954 MiB and
# takes 10-20 s to execute, so I haven't pushed it any further.
# With default g77 command, producing a Cygwin executable, the
# maximum value of n supported is 40876200 (corresponding to an
# array size of 156 MiB). Beyond that it produces the error:
#   D:\Temp\g77test.exe (1788): *** MapViewOfFileEx(0x224, in_h 0x224)
#   failed, Win32 error 6
# I can increase the stack size with -Wl,--stack=s. However if I
# set s much above (what I believe to be) the default of 2 MiB
# (s=2097162) then no output is produced. The maximum value of
# s for which output is produced with n=40876200 is 2162688, and
# there seems to be no value of s which allows n to be increased
# above 40876200.
cat > $srcfile << EOF
  program main
  integer n
  parameter (n=40876200)
  real a(n)
  integer i
  do i=1,n
a(i) = i
  end do
  write (unit=*, fmt=*) a(1), a(n)
  end
EOF
g77 -Wl,--stack=2097152 $srcfile -o $exefile
$exefile
-
--
Mark Hadfield"Ka puwaha te tai nei, Hoea tatou"
[EMAIL PROTECTED]
National Institute for Water and Atmospheric Research (NIWA)
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


FW: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
>> Is Cygwin cron supposed to send e-mail reports?

Pierre A. Humblet wrote:
> Yes.

Thanks for the response.  :-)


> According to your logs below, you seem to have two problems: 
> 1) queue runner fork problems, probably due to a rebase issue.
>   (I am not an expert, not having been a victim)

I dunno either, but gave it a try anyway:

[EMAIL PROTECTED]:~$ rebaseall
ReBaseImage (/usr/bin/cygcrypt-0.dll) failed with last error = 6
[EMAIL PROTECTED]:~$ rebaseall
ReBaseImage (/usr/bin/cygcrypt-0.dll) failed with last error = 6


> 2) a mail delivery issue:
>> 2005-01-09 09:18:21 IA282L-00030G-88 <= [EMAIL PROTECTED] U=dp
christ P=local S=716
>> 2005-01-09 09:18:21 IA282L-00030G-88 cloud.he.net [65.19.145.
2]: Software caused connection abort
>> 2005-01-09 09:18:21 IA282L-00030G-88 == [EMAIL PROTECTED]
.com R=dnslookup T=remote_smtp defer (113): Software caused connection a
bort
>  This shows that a mail was generated locally (from cron, I assume).

The log messages were generated by "email -s test [EMAIL PROTECTED]".


> The delivery failed, apparently because of an issue at the remote
> end, but perhaps with a local root cause (rebase?).
> (I grep'ed "Software caused" in the exim source and didn't find it.)

Google gave me some hits, but I don't know what I'm looking for...


> You could try to find details by running
> "exim -d [EMAIL PROTECTED]" from the command line (type CR +
> a few words + CR when exim seems to wait for input).

[EMAIL PROTECTED]:~$ exim -d [EMAIL PROTECTED]
Exim version 4.43 uid=1003 gid=513 pid=1976 D=fbb95cfd
Probably GDBM (native mode)
Support for: iconv() PAM OpenSSL
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz dnsdb dsearch ldap
 ldapdn ldapm passwd
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp
changed uid/gid: forcing real = effective
  uid=1003 gid=513 pid=1976
  auxiliary group list: 0 513 544 545 1005
configuration file is /etc/exim.conf
log selectors = 0ffc 00010400
trusted user
admin user
changed uid/gid: privilege not needed
  uid=1003 gid=513 pid=1976
  auxiliary group list: 0 513 544 545 1005
user name "U-P42800E\dpchrist" extracted from gecos field "U-P42800E\dpchrist,S-
[editorial delete]"
originator: uid=1003 gid=513 login=dpchrist name="U-P42800E\dpchrist"
sender address = [EMAIL PROTECTED]
set_process_info:  1976 accepting a local non-SMTP message from <[EMAIL 
PROTECTED]
e>
Sender: [EMAIL PROTECTED]
Recipients:
  [EMAIL PROTECTED]
search_tidyup called
test of Cygwin exim invoked as exim -d [EMAIL PROTECTED]
.
>>Headers received:

rewrite_one_header: type=F:
  From: "U-P42800E\dpchrist" <[EMAIL PROTECTED]>
search_tidyup called
>>Headers after rewriting and local additions:
I Message-Id: <[EMAIL PROTECTED]>
F From: "U-P42800E\dpchrist" <[EMAIL PROTECTED]>
  Date: Sun, 09 Jan 2005 12:17:56 -0800

Data file written for message IA2GCI-0001IW-L9
>>Generated Received: header line
P Received: from dpchrist by p42800e with local (Exim 4.43)
id IA2GCI-0001IW-L9
for [EMAIL PROTECTED]; Sun, 09 Jan 2005 12:17:56 -0800
calling local_scan(); timeout=300
local_scan() returned 0 NULL
Writing spool header file
Size of headers = 267
LOG: MAIN
  <= [EMAIL PROTECTED] U=dpchrist P=local S=335
search_tidyup called
 Exim pid=1976 terminating with rc=0 
set_process_info:  2516 delivering IA2GCI-0001IW-L9
reading spool file IA2GCI-0001IW-L9-H
user=dpchrist uid=1003 gid=513 [EMAIL PROTECTED]
sender_local=1 ident=dpchrist
Non-recipients:
Empty Tree
 End of tree 
recipients_count=1
body_linecount=1 message_linecount=6
Delivery address list:
  [EMAIL PROTECTED]
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
opened hints database /var/spool/exim/db/retry: flags=0

Considering: [EMAIL PROTECTED]
unique = [EMAIL PROTECTED]
dbfn_read: key=R:holgerdanske.com
dbfn_read: key=R:[EMAIL PROTECTED]
no domain retry record
no address retry record
[EMAIL PROTECTED]: queued for routing
>>>
routing [EMAIL PROTECTED]
> dnslookup router <
local_part=dpchrist domain=holgerdanske.com
checking domains
holgerdanske.com in "@"? no (end of list)
holgerdanske.com in "! +local_domains"? yes (end of list)
calling dnslookup router
dnslookup router called for [EMAIL PROTECTED]
  domain = holgerdanske.com
DNS lookup of holgerdanske.com (MX) succeeded
65.19.145.2 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
fully qualified name = holgerdanske.com
host_find_bydns yield = HOST_FOUND (2); returned hosts:
  cloud.he.net 65.19.145.2 MX=1
set transport remote_smtp
queued for remote_smtp transport: local_part = dpchrist
domain = holgerdanske.com
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by dnslookup router
  envelope to: [EMAIL PROTECTED]

New version of fortune - questions

2005-01-09 Thread Volker Bandke
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


> Anything about sex is offensive.  Welcome to America.  *sigh*
  
??? I am not in America. Can we have a European version as well?  
  
  
> Limericks are offensive even if they aren't.

The Sickle Principle ?  :)


>> Tastelessness is offensive (q.v. "The Snack").

De gustibus non est disputandem.

BTW, what is "The Snack" ?
  
  
  
  


 With kind Regards|\  _,,,---,,_
ZZZzz /,`.-'`'-.  ;-;;, 
 Volker Bandke   |,4-  ) )-,_. ,\ (  `'-'   
  (BSP GmbH)'---''(_/--'  `-'\_)

  Mathematicians do it to the limits
  
(Another Wisdom from my fortune cookie jar) 

-BEGIN PGP SIGNATURE-
Version: PGP Personal Security 7.0.3

iQA/AwUBQeGCwB5trGyhAF0wEQJ3lQCffxRmzN6fb0132QBYaHqXOlpHY14An3j8
3i4Kek3JJ6G02EgatnYX1xYk
=+nMD
-END PGP SIGNATURE-



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread Pierre A. Humblet
On Sun, Jan 09, 2005 at 09:32:08AM -0800, David Christensen wrote:
> Cygwin:
> 
> I have a Debian box and several Cygwin boxes that back themselves up
> every night and rsync the tarballs to a central Cygwin/XP backup server.
> It all works, with the exception that I can't figure out how to get the
> Cygwin boxes to send me e-mail reports (the Debian box does this, and
> it's very useful).  I've downloaded, installed, and configured Cygwin
> exim (and opened up the Windows Firewall SMTP port) expecting that cron
> would send messages via the /usr/sbin/sendmail symbolic link, but that
> didn't seem to do the trick.  I downloaded, installed, and fumbled
> around with everything else available under the Cygwin Setup "Mail"
> category, plus some manual command-line tests, looking at logs, etc.,
> but couldn't figure it out.  I searched the Cygwin FAQ, User's Guide,
> and mailing list, and searched Google for permutations on "Cygwin cron
> mail", but I didn't find anything that looked like it addressed this
> specific issue.
> 
> 
> Is Cygwin cron supposed to send e-mail reports?  

Yes.

According to your logs below, you seem to have two problems: 
1) queue runner fork problems, probably due to a rebase issue.
   (I am not an expert, not having been a victim)
2) a mail delivery issue:
> 2005-01-09 09:18:21 IA282L-00030G-88 <= [EMAIL PROTECTED] U=dpchr
> ist P=local S=716
> 2005-01-09 09:18:21 IA282L-00030G-88 cloud.he.net [65.19.145.2]:
>  Software caused connection abort
> 2005-01-09 09:18:21 IA282L-00030G-88 == [EMAIL PROTECTED]
> m R=dnslookup T=remote_smtp defer (113): Software caused connection abort
  This shows that a mail was generated locally (from cron, I assume).
  The delivery failed, apparently because of an issue at the remote end,
  but perhaps with a local root cause (rebase?).
  (I grep'ed "Software caused" in the exim source and didn't find it.)
  You could try to find details by running "exim -d [EMAIL PROTECTED]"
  from the command line (type CR + a few words + CR when exim seems to wait for
  input).
  ssmtp is less likely to suffer rebase issue. Use ssmtp-config. 

 Pierre

> 
> 
> p.s.  Here is a command line test of Debian mail:
> 
>   [EMAIL PROTECTED]:~$ mail -s test [EMAIL PROTECTED]
>   This is a test of Debian mail invoked as follows:
>   mail -s test [EMAIL PROTECTED]
>   .
>   Cc:
>   [EMAIL PROTECTED]:~$
> 
> It worked -- e.g. the Debian box sent it via SMTP to the recipient.
> 
> 
> p.p.s.  Here is a command line test using Cygwin email:
> 
>   [EMAIL PROTECTED]:~$ email -s test [EMAIL PROTECTED]
>   Sending  "test"  |  \ 
>  96% of 569 Bytes
>   E-Mail Sent
> 
> It didn't work.  Looking at the logs:
> 
> [EMAIL PROTECTED]:~$ tail -n 6 /var/log/exim/exim_main.log
> 2005-01-09 08:45:41 daemon: fork of queue-runner process failed:
>  Resource temporarily unavailable
> 2005-01-09 09:00:41 daemon: fork of queue-runner process failed:
>  Resource temporarily unavailable
> 2005-01-09 09:15:41 daemon: fork of queue-runner process failed:
>  Resource temporarily unavailable
> 2005-01-09 09:18:21 IA282L-00030G-88 <= [EMAIL PROTECTED] U=dpchr
> ist P=local S=716
> 2005-01-09 09:18:21 IA282L-00030G-88 cloud.he.net [65.19.145.2]:
>  Software caused connection abort
> 2005-01-09 09:18:21 IA282L-00030G-88 == [EMAIL PROTECTED]
> m R=dnslookup T=remote_smtp defer (113): Software caused connection abor
> t
> 
> [EMAIL PROTECTED]:~$ tail -n 3 /var/log/exim/exim_panic.log
> 2005-01-09 08:45:41 daemon: fork of queue-runner process failed:
>  Resource temporarily unavailable
> 2005-01-09 09:00:41 daemon: fork of queue-runner process failed:
>  Resource temporarily unavailable
> 2005-01-09 09:15:41 daemon: fork of queue-runner process failed:
>  Resource temporarily unavailable
> 
> Is this the Cygwin rebase issue?  I don't see "rebase" in the
> Cygwin FAQ or User's Guide.  Is there something that explains the
> Cygwin rebase issue?


> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Obscene content in cygwin file.

2005-01-09 Thread Francis Litterio
Andrew DeFaria wrote:

> Francis Litterio wrote:
>
>> Andrew DeFaria wrote:
>>
>>> Gary R. Van Sickle wrote:
>>>
> Cygwin already provides the content.

 Accidentally, and without the knowledge or consent of the user.
>>>
>>> Bull. It is not installed by default. The user must select it, thus that's
>>> his  consent.
>>
>> The user does not know he is giving consent to installing fortune when he is
>> doing a full install of Cygwin. There are over 500 hundred packages in a full
>> Cygwin install.
>
> 1) Ignorance is no defense

That's debatable in this case.

> 2) even doing a "full Cygwin install" (whatever
>that means) fortune is not selected by default (it wasn't for me).

It was for me.  Perhaps you did not do a full install of Cygwin?
--
Francis Litterio
franl  world . std . com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Memory for large arrays in cygwin/g77

2005-01-09 Thread Dante R. Chialvo
Thanks for the suggestions
Bottom line both ideas work fine in my case:

1) Install the g95 compiler, 
or
2) Use g77 using the Wl option, ie,

 g77 -O2 -o mybigprogram -Wl,--stack,1  mybigprogram.f 

So thanks a lot,  

Dante


Dave Korn wrote:
> 
> > -Original Message-
> > From: cygwin-owner On Behalf Of Mark Hadfield
> > Sent: 06 January 2005 00:58
> 
> > Dante Chialvo wrote:
> > > I have similar problem than the one posted a while ago in
> > >
> > > http://www.cygwin.com/ml/cygwin/2003-02/msg00842.html
> > >
> > > Using cygwin/g77, in a PC with 1024 Mb of physical memory.
> > > After compiling and running the following test program
> > > the limit of 160 Mb cannot be surpassed.
> 
> > > error message after running
> > > C:\cygwin\home\dchialvo\test.exe (1972): ***
> > MapViewOfFileEx(0x71C, in_h
> > > 0x71C) failed, Win32 error 6
> 
> > Just to provide another data point, I have the same problem.
> > I have g77,
> > g95 and grfortran (gfc) installed (see below). With
> > heap_chunk_in_mb set
> > to 1024, on a machine with 1024 MiB RAM< I can run a simple Fortran
> > program with an array of up to ~ 1023 MiB. With g77 & gfc the
> > limit is
> > 156 MiB and beyond that it fails with something like
> >
> >gfctest.exe (844): *** MapViewOfFileEx(0x224, in_h 0x224)
> >failed, Win32 error 6
> 
> >  > Any suggestions will be appreciatted
> >
> > Use g95
> 
>   It may also be possible to workaround the problem by fooling around with the
> default stack allocation size; this can have knock-on effects which clear up 
> the
> reserved area of the process' memory map that error message is complaining
> about.
> 
> See
> http://www.cygwin.com/ml/cygwin/2004-10/msg01188.html
> or
> http://www.cygwin.com/ml/cygwin/2004-07/msg00646.html for the full gory 
> details,
> and look up the "-Wl,--stack=" option.  You might need to play around with
> values for the stack size until you find one that helps!
> 
> cheers,
>   DaveK
> --
> Can't think of a witty .sigline today
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/

-- 
== 
Prof. Dante R. Chialvo 
http://www.chialvo.net
-- 
Cell: 310-3824810(in USA)
+34 679949564 (in Europe)
==

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Finding descriptions of cygwin packages.

2005-01-09 Thread Buchbinder, Barry (NIH/NIAID)
Short descriptions can be seen on http://cygwin.com/packages/
Look in setup.ini for long descriptions
-Original Message-
From: TLO
Sent: Wednesday, January 05, 2005 6:30 PM
To: 
Subject: Finding descriptions of cygwin packages.

I want to reinstall the cygwin utilities on my computer, but am confused by
the list of packages.
Can I find some place which gives a good description of them?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
Cygwin:

I have a Debian box and several Cygwin boxes that back themselves up
every night and rsync the tarballs to a central Cygwin/XP backup server.
It all works, with the exception that I can't figure out how to get the
Cygwin boxes to send me e-mail reports (the Debian box does this, and
it's very useful).  I've downloaded, installed, and configured Cygwin
exim (and opened up the Windows Firewall SMTP port) expecting that cron
would send messages via the /usr/sbin/sendmail symbolic link, but that
didn't seem to do the trick.  I downloaded, installed, and fumbled
around with everything else available under the Cygwin Setup "Mail"
category, plus some manual command-line tests, looking at logs, etc.,
but couldn't figure it out.  I searched the Cygwin FAQ, User's Guide,
and mailing list, and searched Google for permutations on "Cygwin cron
mail", but I didn't find anything that looked like it addressed this
specific issue.


Is Cygwin cron supposed to send e-mail reports?  


TIA,

David


p.s.  Here is a command line test of Debian mail:

  [EMAIL PROTECTED]:~$ mail -s test [EMAIL PROTECTED]
  This is a test of Debian mail invoked as follows:
  mail -s test [EMAIL PROTECTED]
  .
  Cc:
  [EMAIL PROTECTED]:~$

It worked -- e.g. the Debian box sent it via SMTP to the recipient.


p.p.s.  Here is a command line test using Cygwin email:

  [EMAIL PROTECTED]:~$ email -s test [EMAIL PROTECTED]
  Sending  "test"  |  \ 
 96% of 569 Bytes
  E-Mail Sent

It didn't work.  Looking at the logs:

[EMAIL PROTECTED]:~$ tail -n 6 /var/log/exim/exim_main.log
2005-01-09 08:45:41 daemon: fork of queue-runner process failed:
 Resource temporarily unavailable
2005-01-09 09:00:41 daemon: fork of queue-runner process failed:
 Resource temporarily unavailable
2005-01-09 09:15:41 daemon: fork of queue-runner process failed:
 Resource temporarily unavailable
2005-01-09 09:18:21 IA282L-00030G-88 <= [EMAIL PROTECTED] U=dpchr
ist P=local S=716
2005-01-09 09:18:21 IA282L-00030G-88 cloud.he.net [65.19.145.2]:
 Software caused connection abort
2005-01-09 09:18:21 IA282L-00030G-88 == [EMAIL PROTECTED]
m R=dnslookup T=remote_smtp defer (113): Software caused connection abor
t

[EMAIL PROTECTED]:~$ tail -n 3 /var/log/exim/exim_panic.log
2005-01-09 08:45:41 daemon: fork of queue-runner process failed:
 Resource temporarily unavailable
2005-01-09 09:00:41 daemon: fork of queue-runner process failed:
 Resource temporarily unavailable
2005-01-09 09:15:41 daemon: fork of queue-runner process failed:
 Resource temporarily unavailable

Is this the Cygwin rebase issue?  I don't see "rebase" in the
Cygwin FAQ or User's Guide.  Is there something that explains the
Cygwin rebase issue?


cygcheck.out
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Problem in pthread_key_create

2005-01-09 Thread Johnny Willemsen
Hi,

Posted this last Friday but didn't got anything back. I think this is a bug
in the pthread library of Cygwin. Can someone have a look at this?

Johnny 

-Original Message-
From: Johnny Willemsen [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 7 januari 2005 14:57
To: 'cygwin@cygwin.com'
Subject: Question about pthread_key_create

Hi all,

A question, I had a look at the implementation of pthread_key_create. When
an invalid key is passed, a EBUSY is returned. This looks very strange to
me, isn't it better to return EINVAL just as the pthread_key_delete does?
Also, shouldn't be the check be 
  if (!pthread_key::is_good_object (key))
return EINVAL;

Note the !, when previously a good key was passed, we got back a EBUSY. 

Regards,

Johnny Willemsen
Remedy IT
Leeghwaterstraat 25
2811 DT Reeuwijk
The Netherlands
www.theaceorb.nl / www.remedy.nl 
 


* Thread Specific Data */
extern "C" int
pthread_key_create (pthread_key_t *key, void (*destructor) (void *))
{
  /* The opengroup docs don't define if we should check this or not,
 but creation is relatively rare.  */
  if (pthread_key::is_good_object (key))
return EBUSY;

  *key = new pthread_key (destructor);

  if (!pthread_key::is_good_object (key))
{
  delete (*key);
  *key = NULL;
  return EAGAIN;
}
  return 0;
}

extern "C" int
pthread_key_delete (pthread_key_t key)
{
  if (!pthread_key::is_good_object (&key))
return EINVAL;

  delete (key);
  return 0;
}


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Obscene content in cygwin file.

2005-01-09 Thread Andrew DeFaria
Francis Litterio wrote:
Andrew DeFaria wrote:
Gary R. Van Sickle wrote:
Cygwin already provides the content.
Accidentally, and without the knowledge or consent of the user.
Bull. It is not installed by default. The user must select it, thus 
that's his  consent.
The user does not know he is giving consent to installing fortune when 
he is doing a full install of Cygwin. There are over 500 hundred 
packages in a full Cygwin install.
1) Ignorance is no defense and 2) even doing a "full Cygwin install" 
(whatever that means) fortune is not selected by default (it wasn't for me).
--
Windows: Just another pane in the glass.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: perl 5.8.6

2005-01-09 Thread Gerrit P. Haase
Yitzchak Scott-Thoennes wrote:
On Wed, Dec 08, 2004 at 11:30:53AM -0800, Yitzchak Scott-Thoennes wrote:
Gerrit, I've hoped to have some time to work on Win32:: stuff on the
perl side, but haven't gotten around to it.  For 5.8.6, could you give
a try to including the Win32CORE module from the perl-libwin32 package
as a static extension and the Win32 module as a dynamic extension (and
bootstrap Win32CORE in cygwin.c)?  If it works, that would make cygwin
have equivalent to what's in win32 perl.

Here's the Win32CORE part.  I'd really like to see the builtin Win32::
functions be available in the cygwin perl, and this seems the easiest
way to do it for just a cygwin release, but in the longer term I'm
really hoping to get the equivalent (only newer now) code in from the
regular win32 perl build shared between win32 and cygwin by the time
5.8.7 is ready.  AIUI cutoff for that will be February 1st.
This patch should apply to the perl-5.8.6 source, and the tarball has
the new files for the Win32CORE extension.  Those are taken verbatim
from the perl-libwin32 package, except that I added a "no warnings
"redefine"' to the Win32CORE.pm so those who use it don't get warnings.
I didn't make it just a no-op in case there are people sharing modules
between different versions of perl.
Hmmm, getting this error:
  Skipping lib/auto/Win32CORE/Win32CORE.a (directory does not exist)
Gerrit
--
=^..^=
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Obscene content in cygwin file.

2005-01-09 Thread Joshua Kolden
Gary R. Van Sickle wrote:
The question stands:  What is the reason Cygwin should provide this 
obscene content?
 

This is not the question.
   

Yes, it is.
 

Arbitrary pronouncement, in light of this I see no flaw in my 
reasoning.   The content exists, it has already been provided.  "Should 
it be provided" is moot.  Support your position or yield it.

Cygwin already provides the content.  
   

Accidentally, and without the knowledge or consent of the user.
 

Bugs in software can an should be reported as such, operational failure 
of software is not uncommon and in no way need of debate.  The debate 
arises from the position you put forward that the content should not be 
there even in properly operating software.

Therefore the question is: should it be removed?
   

The answer to that is yes.  Again I ask: why should Cygwin provide this
content?
 

Again arbitrary pronouncement, without supporting argument.  Not 
compelling.  I still see now flaw in my analysis.

You argue that it should, because you asses some of the 
content as obscene, and are personally offended by it.  
   

You're late to the party Josh.  As I stated in my second post on the
subject, I am in no way personally offended by it.  I simply find it purile
and unprofessional.
 

I am not late to the debate, I simply had to assume that you were 
putting forward your own opinion.  If you are not putting forward you 
opinion then there is no debate, because there is no one who is 
offended.  Arguing someone else's potential position is meaningless.

Further you imply that removing the package from your own 
system is inadequate to address this offense. (please correct 
me if I miss state your argument)

   

<>
You have almost completely misstated my argument. Allow me to restate 
it in
convenient bullet-list form:

- The limericks in question could realistically get somebody fired or 
sued.

<>- I am realistically one of the many parties that could conceivably get
sued.
So to understand better you are not offended by the limericks your are 
concerned that you are inviting a lawsuit from someone who is offended?  
Are you denying people an opportunity to uninstall the software?  Do you 
require people to use fortune to keep their job, and fail to inform them 
of this when they began? 

Unless you force an employee to use the software and you didn't not make 
it clear they would be working with that software from the beginning you 
can not be held liable, you can be sued but they would not win the 
suite.  In fact you can be sued at any time for any reason, the question 
of liability is what determines who will win.  I, for example, work in 
the entertainment industry where such potentially offensive material is 
worked on every day, our employees are not obliged to work on offensive 
material, and/or have been informed of the content before being 
employed. So they can not succeed in any law suite against us for having 
such material online, or in an area where they may happen upon it.  If 
you do not follow the guidelines then fortune/cygwin is the least of 
your worries.

No one is being forced to read dirty limericks, and with out such force 
dirty limericks are protected by freedom of speech.  In all such cases 
it is the responsibility of the viewer to stop viewing.  I recommend 
getting a laymans book on harassment in the workplace it seems you are 
not very well informed in this area.  I recommend "Sexual Harassment 
Awareness Training: 60 Practical Activities for Trainers," however there 
are others.

- Red Hat is even more realistically one of the many parties that could
conceivably get sued.
 

This, while considerably more plausible, is still not a valid argument 
as Red Hat wave such warranty of responsibility in their license 
agreement.  And again they don't force anyone to use there software or 
to read dirty limericks.

- The limericks in question are installed without the knowledge or consent
of the installer.
 

Francis Litterio wrote:
The user does not know he is giving consent to installing fortune when
he is doing a full install of Cygwin.  There are over 500 hundred
packages in a full Cygwin install.
This, in and of it self, is not a problem.  You must first demonstrate 
that such action can cause damage.  As it is, every cygwin package can 
be selected to be installed our not.  Therefore, this is not a 
meaningfully argument regardless if it where true or not.

- The limericks in question are of interest only to junior-highschool-age
sysadmins and lawyers.
 

This is also a week argument, as it assumes we agree with your 
subjective assessment of the limericks, which we don't.  This also is 
not a meaningfully argument regardless if it is true or not.

- Redacting the limericks in question from Cygwin will eliminate the risk
they cause.
 

You have failed to demonstrate risk, and you have failed to demonstrate 
that the limericks are the only risk.  Who should be responsible for 
reviewing and judging the ris

Re: Cannot build 21.4.16 under cygwin (gcc 3.3.3)

2005-01-09 Thread Jason Tishler
Henry,

On Sun, Jan 09, 2005 at 03:28:11PM +, Henry S. Thompson wrote:
> Now I had rebased those two by hand (because for reasons I can't now
> figure out rebaseall didn't do them -- pbly because I installed GTK
> 'by hand' as it were, not via the package mechanism),

Bingo!  Use rebaseall's "-T" option to add DLLs that were not installed
by Cygwin's setup.exe.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem with rubbish in my mailbox

2005-01-09 Thread Christopher Faylor
On Sat, Jan 08, 2005 at 08:46:06AM +, Dr Christian Hicks wrote:
>I am experiencing a problem with my mailbox. Each day I am
>getting 25-30 messages entitled "Obscene content in cygwin file".
>I have had a look at a few of them and they appear to contain
>junk. I am wondering how the problem can be rectified.

http://cygwin.com/lists.html#subscribe-unsubscribe

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cannot build 21.4.16 under cygwin (gcc 3.3.3)

2005-01-09 Thread Henry S. Thompson
Vin Shelton writes:

> [EMAIL PROTECTED] (Henry S. Thompson) writes:
>
>>
>> But of course then I'm stuck with other code that won't run because of
>> the two-different-bases problem.
>>
>> Anyway, thanks _very_ much for your help, it sounds like the xemacs
>> folks are really where this needs to be solved.  Point is, this is a
>> regression -- xemacs-21.4.15 works OK (mind you, I haven't tried
>> recompiling it with gcc-3.3.3).
>
> Henry,
>
> AFAIK, we didn't make any changes in 21.4.16 that would account for
> this.  As an experiment, can you try to build 21.4.15 with gcc-3.3.3?
> I would be surprised if that worked.

OK, victory at last.  It _is_ a rebase problem, but not with xemacs as
such, rather GTK.  The clue was that 2.4.15 _did_ rebuild OK when all
I did was 'make clean && make', so I looked at the differences between
the two src directories with a microscope, and noticed that 2.4.16 was
using libtiff3.dll and jpeg62.dll from GTK and (because I had built it
before I installed GTK) 2.4.15 was not.

Now I had rebased those two by hand (because for reasons I can't now
figure out rebaseall didn't do them -- pbly because I installed GTK
'by hand' as it were, not via the package mechanism), but I had _not_
checked _their_ dependencies, and sure enough:

  1) libtiff3 uses GTK's zlib1.dll
  2) rebasing zlib1.dll solves the problem.

Phew!

So let's hope this thread will help anyone with the same problem. 

Thanks again for patient suggestions which eventually led to the
solution.

ht
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
 Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED]
   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Obscene content in cygwin file.

2005-01-09 Thread Francis Litterio
Andrew DeFaria wrote:

> Gary R. Van Sickle wrote:
>
>>> Cygwin already provides the content.
>>
>> Accidentally, and without the knowledge or consent of the user.
>
> Bull. It is not installed by default. The user must select it, thus that's his
> consent.

The user does not know he is giving consent to installing fortune when
he is doing a full install of Cygwin.  There are over 500 hundred
packages in a full Cygwin install.
--
Francis Litterio
franl  world . std . com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Compiling SRecord fails on Cygwin; succeeds on Linux/FreeBSD.

2005-01-09 Thread E. Weddington
On 8 Jan 2005 at 13:21, Gerrit P. Haase wrote:

> 
> > - Could this be a problem with the Cygwin port of GCC? Is it a known 
> > issue? Is there a workaround?
> 
> 1. I don't know.
> 2. No.
> 3.
> 
> > - Should I go ahead an open up a GCC bug report? (and move this 
> > discussion to GCC).
> 
> Please ask some gcc / g++ / C++ specialists if there are known issues
> before filing a bug report.
> 
> 

Thanks for yor time in looking at this!

Eric

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: New setup.exe snapshot - please test

2005-01-09 Thread bruno patin
I test this snapshot and the different problems linked to the thread 
under disappeared

http://cygwin.com/ml/cygwin-xfree/2004-11/msg00192.html
Thanks for your work
B.Patin

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: execv and then socket: "operation not permitted"

2005-01-09 Thread Corinna Vinschen
On Jan  8 21:58, Eric Hoffman wrote:
> Hi,
> 
> I am in the process of porting an application from Solaris/HP/Linux to Cygwin.
> I manage to compile the whole lot. However, I encounter a problem at 
> execution.
> 
> There is a first program (pserver) forking and launching an other one
> (readhandler) through a call to "execv". However, within the second
> one (readhandler), I get an error message on the first call to
> "socket": "Operation not permitted".
> When I launch the second one stand-alone with exactly the same command
> line arguments it works OK.
> 
> So I suspect something with the permission - user associated with the
> execv call. Note that within the fork, just prior to execv, the socket
> allocation is working.
> 
> Any idea?

Could you please prepare a short testcase, only containing the
necessary lines to reproduce the problem?


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Obscene content in cygwin file.

2005-01-09 Thread Yitzchak Scott-Thoennes
On Sat, Jan 08, 2005 at 06:20:45PM +0100, Volker Bandke wrote:
> BTW, my computer randomly selected the tagline below.  Is it
> obscene?  Should I burn my Laptop (she wouldn't like that, I am
> sure)

> Sex without love is an empty experience, but, as empty experiences
> go, it's one of the best. -- Woody Allen

I'm sure some will be delighted to hear that particular one will be in
the offensive "sex" file in the new version I'm working on.

>From Amy Lewis's notes on her 1995 rewrite of fortune:
> An attempt has been made to restructure the fortune database.  This has
> included, of necessity, a concatenation and redivision of the offensive
> and inoffensive fortunes.  In the process, some fortunes may have gotten
> lost, and others may have moved from one category to another (or from
> both categories to one or the other, more commonly).
> 
> The following were the criteria I used to make the division:
> Anything about sex is offensive.  Welcome to America.  *sigh*
> Insults based on religion or ethnicity are offensive.
> Generally, any criticism of anybody's religion is offensive.
> "He really said that?" quotes from politicians are offensive.
> Political bias is offensive.
> Limericks are offensive even if they aren't.
> Tastelessness is offensive (q.v. "The Snack").
> Misogyny and misandry for the sake of themselves are offensive.
> Vulgarity is offensive.
> Violence for the sake of humor is offensive.
> 
> Surprisingly, given this rather broad definition, there are still more
> inoffensive quotations, quips, and quozzits than offensive ones.  A
> peculiar, back-handed compliment to human nature (it surprised me).

I would highly recommend *not* persuing that (q.v. "The Snack").

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/