Re: Problems with setup

2003-11-11 Thread Yitzchak Scott-Thoennes
On Mon, Nov 10, 2003 at 01:22:35AM -0400, Rodrigo Medina <[EMAIL PROTECTED]> wrote: > Problem 1. > I have notice that setup fails sometimes in some mirrors (I use the > downloading mode). I have found that some mirrors have the following policy: > If the connection is slow they close the connectio

Re: exit status <-> portable code

2003-11-11 Thread Yitzchak Scott-Thoennes
On Tue, Nov 11, 2003 at 05:01:16PM +0100, Hannu E K Nevalainen <[EMAIL PROTECTED]> wrote: > int main(...) { > int success=RETURN_FAIL; > > if (all_OK) > success=RETURN_OK; > > return success; > } > > Q: Is there anything within Cygwin (or Linux, Net*, U*X, whatever... that > can be tr

Re: dircmp for cygwin?

2003-11-16 Thread Yitzchak Scott-Thoennes
On Sun, Nov 16, 2003 at 08:23:26PM -0600, Bobby McNulty Junior <[EMAIL PROTECTED]> wrote: > Google it. You might find it, if it's there. > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of leo > Sent: Sunday, November 16, 2003 7:36 PM > To: [EMAIL PROTECTED] > Subject: dircmp for cy

Re: Perl CPAN module help

2003-11-18 Thread Yitzchak Scott-Thoennes
On Tue, Nov 18, 2003 at 04:29:18PM +0100, "Peter J. Acklam" <[EMAIL PROTECTED]> wrote: > "Gary Nielson" <[EMAIL PROTECTED]> wrote: > > > Thank you so much. If I wanted to start fresh with a new perl > > installation -- replacing the executables and all the modules -- > > how do you recommend I do

Re: [Module::Build] Re: Cwd::cwd() bug??? on Cygwin

2003-11-21 Thread Yitzchak Scott-Thoennes
On Fri, Nov 21, 2003 at 06:21:51AM -0500, "Randy W. Sims" <[EMAIL PROTECTED]> wrote: > >>># test.pl > >>>package MyModule; > >>>use Module; > >>>use base 'Module'; > >>>use Cwd; > > > > > >If you moved that above the use Module line then when Module.pm > >was compiled it would know Cwd::cwd was a

Re: Cygwin port of Perl broken on Win32? Or does Cygwin not run on win32?

2003-12-07 Thread Yitzchak Scott-Thoennes
On Wed, Dec 03, 2003 at 03:11:50PM -0800, Rafael Kitover <[EMAIL PROTECTED]> wrote: > If you just need to use the Win32:: Perl modules, use the ActiveState > Perl at: > > http://aspn.activestate.com/ASPN/docs/ActivePerl/install.html#installing > %20activeperl%20on%20windows%20(x86) > > If you spe

Re: LOCALE ERROR

2003-12-07 Thread Yitzchak Scott-Thoennes
On Sun, Dec 07, 2003 at 09:15:28PM -0300, Marcelo Rezende Módolo <[EMAIL PROTECTED]> wrote: > I read the man pages "man setlocale", "man strftime" and find a mistake > in str format. Did you read the part about only the minimum locale support being present? > I use ' if (!strftime((char *)str,

Re: Cygwin port of Perl broken on Win32? Or does Cygwin not run on win32?

2003-12-07 Thread Yitzchak Scott-Thoennes
On Sun, Dec 07, 2003 at 04:51:40PM -0800, Rafael Kitover <[EMAIL PROTECTED]> wrote: > Yitzchak Scott-Thoennes wrote: > > > Are whatever changes you had to make going back into the CPAN > > versions? > > Short answer: > > I will do my utmost to send the ap

Re: Forks/spawn test using ~latest~ CVS source 20031217 10:00AM (GMT+1)

2003-12-18 Thread Yitzchak Scott-Thoennes
On Thu, Dec 18, 2003 at 06:09:54PM -0500, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Fri, Dec 19, 2003 at 12:04:02AM +0100, Philippe Torche wrote: > >I've tested the CVS source 20031217 10:00AM (GMT+1) to see if fork/spawn > >works on Multi CPU (4 Xeon) with Windows 2003 Server (see old me

Re: Is perl-5.8.2 canonized for use on cygwin yet?

2003-12-23 Thread Yitzchak Scott-Thoennes
On Mon, Dec 22, 2003 at 04:04:11PM -0700, "Blair P. Houghton" <[EMAIL PROTECTED]> wrote: > In the meantime I realized that 5.8.2 is newer than I > thought it was. Maybe I *am* the first to try to build > it on cygwin. Nah. Someone out there has seen this > before. Works for me. Please give

Re: Is perl-5.8.2 canonized for use on cygwin yet?

2003-12-28 Thread Yitzchak Scott-Thoennes
On Tue, Dec 23, 2003 at 02:51:12AM -0800, Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> wrote: > On Mon, Dec 22, 2003 at 04:04:11PM -0700, "Blair P. Houghton" <[EMAIL PROTECTED]> > wrote: > > In the meantime I realized that 5.8.2 is newer than I > > though

Re: Is perl-5.8.2 canonized for use on cygwin yet?

2003-12-28 Thread Yitzchak Scott-Thoennes
On Sun, Dec 28, 2003 at 08:51:12PM -0700, "Blair P. Houghton" <[EMAIL PROTECTED]> wrote: > I think I've found the problem. > > By more careful use of the -d=flags option to make, I traced it down to the second > of two "subdirs" > targets, and then turned off the NOECHO command (by taking it out

Re: Is perl-5.8.2 canonized for use on cygwin yet?

2004-01-01 Thread Yitzchak Scott-Thoennes
On Mon, Dec 29, 2003 at 09:38:05PM +0100, "Gerrit P. Haase" <[EMAIL PROTECTED]> wrote: > > What sets LIB in the cygwin environment? It comes verbatim from the > > DOS environment list but I don't see the importation in any of the > > layered rc files (but I could've missed it). And is there a way

Re: control-spacebar

2004-01-11 Thread Yitzchak Scott-Thoennes
On Fri, Jan 09, 2004 at 01:01:17PM -0500, Christopher Faylor <[EMAIL PROTECTED]> wrote: > Now, if only I could get Windows to tell me exactly where the bug is > occurring that would be wonderful. Have you tried using SAPI? You would have to find the bug first, of course, but then having windows t

Re: cygwin/regex is non-POSIX

2004-01-17 Thread Yitzchak Scott-Thoennes
On Thu, Jan 15, 2004 at 03:14:57PM -0500, Sam Steingold <[EMAIL PROTECTED]> wrote: > the cygwin regex is not POSIX. > backrefs are not available by default (apparently you need REG_BACKR for > that), "(a|)*" cannot be compiled because of "empty (sub)expression", > &c &c. > any plans to fix this? (e

Re: [ANNOUNCEMENT] Updated: cygwin-1.5.6-1

2004-01-19 Thread Yitzchak Scott-Thoennes
On Mon, Jan 19, 2004 at 10:56:41AM -0500, Christopher Faylor wrote: > I've made a new version of the Cygwin DLL and associated utilities > available for download. As usual, a list of what has changed is below. Nice job. Thanks. > - Implement System V shm, sem, msg handling in cygserver. (Corin

Re: [ANNOUNCEMENT] Updated: cygwin-1.5.6-1

2004-01-19 Thread Yitzchak Scott-Thoennes
On Mon, Jan 19, 2004 at 04:09:41PM -0800, Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> wrote: > + Making IPC::SysV (dynamic) ... > +LD_RUN_PATH="" ld2 -L/usr/local/lib SysV.o -o ../../../lib/auto/IPC/SysV/SysV.dll > ../../../libperl.dll.a -lcygipc > +gcc -s

Re: [ANNOUNCEMENT] Updated: cygwin-1.5.6-1

2004-01-19 Thread Yitzchak Scott-Thoennes
On Mon, Jan 19, 2004 at 04:19:25PM -0800, Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> wrote: > On Mon, Jan 19, 2004 at 04:09:41PM -0800, Yitzchak Scott-Thoennes <[EMAIL > PROTECTED]> wrote: > > + Making IPC::SysV (dynamic) > ... > > +LD_RUN_PATH=&q

Re: cygwin/regex is non-POSIX

2004-01-20 Thread Yitzchak Scott-Thoennes
On Mon, Jan 19, 2004 at 04:38:40PM -0500, Sam Steingold <[EMAIL PROTECTED]> wrote: > >> Finally, a common extension appears to be the use or "?" after a > >> repetition specification to mean non-greedy matching, e.g. > >> "a+?" will match only the first "a" in "". > > You want the pcre packages

Re: Question regarding perl and perl-libwin32 using the latest cygwin ... and an anomaly

2004-01-21 Thread Yitzchak Scott-Thoennes
On Wed, Jan 21, 2004 at 12:02:42PM +0100, "Gerrit P. Haase" <[EMAIL PROTECTED]> wrote: > Hello Rafael, > > >>The date/time stamp reported by win32core.pl doesn't make any sense - the > >>GMT does, NOT the local - I am on Central US time (as reported by date). > > > It seems that there's something

Re: perl cygwin weird thing ..

2004-01-28 Thread Yitzchak Scott-Thoennes
On Wed, Jan 28, 2004 at 10:53:16AM +0800, pokley <[EMAIL PROTECTED]> wrote: > im using latest cygwin 1.5.6 on windows 2000 server ia32. > doing > $ perl -e 'print "a" x 0x' will display weird result > > perl will core dump when parsing file contain > printf "%s",'a' x 0x; > > does

RE: (now OT) cygwin processes and system'ed processes using 100% CPU

2004-01-29 Thread Yitzchak Scott-Thoennes
On Wed, 28 Jan 2004, Hughes, Bill wrote: > I'll have to check the rfcs about mailing list protocols sometime. This may be a starting place: http://search.cpan.org/~mstevens/Mail-ListDetector-0.29/MANIFEST -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: ht

gtypist package missing .pl files

2004-02-01 Thread Yitzchak Scott-Thoennes
The gtypist package mentions a couple of .pl files to help generate new lessons, but they aren't included in the binary tarball. Either they should be included, or the package should be split into two, one for using gtypist, and one for developing lessons for gtypist. Only the latter need have th

Re: gtypist package missing .pl files

2004-02-04 Thread Yitzchak Scott-Thoennes
On Tue, Feb 03, 2004 at 11:29:06PM -0500, Yaakov Selkowitz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yitzchak Scott-Thoennes wrote: > > | The gtypist package mentions a couple of .pl files to help generate > | new lessons, but they aren't incl

localtime_r not returning local time

2004-02-08 Thread Yitzchak Scott-Thoennes
localtime_r is (if no direct or indirect call to tzset has been made) returning UTC time. This is the source of the cygwin perl bug where perl's localtime() is returning UTC time. See: http://groups.google.com/[EMAIL PROTECTED] Perl does not ever directly call tzset (except when perl code calls

Re: localtime_r not returning local time

2004-02-12 Thread Yitzchak Scott-Thoennes
On Thu, Feb 12, 2004 at 01:10:03PM -0800, Rafael Kitover wrote: > Would it be a lot of overhead to have something like tzset be called in the > bootstrap code for launching Cygwin programs? Or maybe just have a DLL global > default, based on windows time zone, and just allow processes to reset it f

Re: Solved: Still trouble with IPC

2004-02-17 Thread Yitzchak Scott-Thoennes
On Sun, Feb 15, 2004 at 05:24:29PM -0500, Charles Wilson wrote: > Frank Wübbeling wrote: > >Looking at the cygwin sources, I realized that any access to cygserver is > >disabled unless I explicitly export CYGWIN="server=1". Doing this > >immediately solved my problems. Weird. Since cygserver is now

Re: failure of unzip and recent cygwin1.dll

2004-02-17 Thread Yitzchak Scott-Thoennes
On Mon, Feb 16, 2004 at 12:36:14PM -0500, Thomas L Roche wrote: > > My experience using and contributing to OSS has created expectations > that > > * projects advance faster when their leaders encourage assistance from > the community and bootstrap members' attempts to assist better (e.g. > P

ipctest for cygserver

2004-02-18 Thread Yitzchak Scott-Thoennes
Is there any plan to move cygipc's ipctest.exe to using cygserver? -- 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: search and replace tool

2004-02-18 Thread Yitzchak Scott-Thoennes
On Wed, Feb 18, 2004 at 12:13:38PM -0800, Rafael Kitover wrote: > Not really cygwin specific, you can do something like: > > perl -pi -e 's/old text/new text/' `find /where -name '*.txt'` > > note those are backticks surrounding the find. > > Use -pi.bak to make backup files in case you screw up

Re: [Fwd: Bug: Perl:IsWinNT undefined & RFE, only use "/" in reg values, not names..?]

2004-02-19 Thread Yitzchak Scott-Thoennes
On Thu, Feb 19, 2004 at 01:46:05AM -0800, linda w <[EMAIL PROTECTED]> wrote: > Tried this...some scripts ran. One that didn't wanted lanman.pm located in > Win32::lanman. > > Queerly enough, doing a "i" /lanman" comes up zip even though it is in > CPAN at > /CPAN/sources/authors/id/J/JH/JHELBER

Re: [Fwd: Bug: Perl:IsWinNT undefined & RFE, only use "/" in reg values, not names..?]

2004-02-19 Thread Yitzchak Scott-Thoennes
On Thu, Feb 19, 2004 at 07:48:48AM -0800, Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> wrote: > On Thu, Feb 19, 2004 at 01:46:05AM -0800, linda w <[EMAIL PROTECTED]> wrote: > > Tried this...some scripts ran. One that didn't wanted lanman.pm located in > > Win32::

Re: [Fwd: Bug: Perl:IsWinNT undefined & RFE, only use "/" in reg values, not names..?]

2004-02-19 Thread Yitzchak Scott-Thoennes
On Thu, Feb 19, 2004 at 11:27:29AM -0800, linda w wrote: > What features does one get with a unix perl over a perl built where > "WinNT" is > defined as true or false? Many (most? all?) of the Win32 calls are > available > in the Cygwin environment, why not compile the perl as a mixed breed > p

Re: search and replace tool

2004-02-19 Thread Yitzchak Scott-Thoennes
On Fri, Feb 20, 2004 at 12:47:45AM +0100, Reini Urban <[EMAIL PROTECTED]> wrote: > Larry Hall schrieb: > >At 02:59 PM 2/18/2004, dAniel hAhler you wrote: > >>I'm looking for a search and replace tool to replace a text portion in > >>a bunch (3500+) of files. > >> > >>That should be an easy one.. :)

Re: search and replace tool

2004-02-19 Thread Yitzchak Scott-Thoennes
On Fri, Feb 20, 2004 at 10:02:03AM +0300, Egor Duda wrote: > huh? what do you mean "in-place"? linux writes new file to new place, it > just deletes .bak file afterwards, unlike cygwin. > > [EMAIL PROTECTED]:~$ echo aaa >xxx > [EMAIL PROTECTED]:~$ ls -i xxx > 408096 xxx > [EMAIL PROTECTED]:~$ pe

Re: python and cygwin

2004-02-22 Thread Yitzchak Scott-Thoennes
On Fri, Feb 20, 2004 at 05:45:33PM -0800, Totte Karlsson <[EMAIL PROTECTED]> wrote: > When I open up a "cygwin-bash" on windows, I just thought that I could use > my already installed "win-32" python. I realize now that you can't and I > think that creates problems. As a programmer I don't like do

Re: python and cygwin

2004-02-22 Thread Yitzchak Scott-Thoennes
On Sun, Feb 22, 2004 at 01:43:06PM -0500, Larry Hall wrote: > At 01:30 PM 2/22/2004, Yitzchak Scott-Thoennes you wrote: > >Does anyone know if there is any particular reason that PATH translation > >ends up with /cygdrive/x/... rather than x:/...? > > Sure. You get that

Re: localtime() acting like gmtime() in Perl

2004-02-29 Thread Yitzchak Scott-Thoennes
On Sat, Feb 28, 2004 at 08:13:39PM -0500, Brian Kelly <[EMAIL PROTECTED]> wrote: > A cursory check of the archives would have dug up this exchange: > > http://sources.redhat.com/ml/cygwin/2004-02/msg00582.html > > Sooo - either try the latest snapshot of the cygwin1.dll, or > wait for release 1.5

Re: localtime() acting like gmtime() in Perl

2004-02-29 Thread Yitzchak Scott-Thoennes
On Sun, Feb 29, 2004 at 02:52:34AM -0800, Yitzchak Scott-Thoennes wrote: > On Sat, Feb 28, 2004 at 08:13:39PM -0500, Brian Kelly wrote: ^^^ Sorry about that; I *thought* I had it set up to not include email addrs. -- Unsubscribe i

Re: [Fwd: Bug: Perl:IsWinNT undefined & RFE, only use "/" in reg values, not names..?]

2004-02-29 Thread Yitzchak Scott-Thoennes
On Sat, Feb 28, 2004 at 10:29:01AM -0800, linda w <[EMAIL PROTECTED]> wrote: > I still haven't figured out how to get Tk to build from cpan > w/o the "x" param. It builds when I drop into the build > dir "view Tk" from in cpan, and build it w/the "x", but > to install, I finally just ignore the ma

Re: Problem with dd to raw disks

2004-03-01 Thread Yitzchak Scott-Thoennes
On Mon, Mar 01, 2004 at 11:44:38AM -0500, Christopher Faylor wrote: > On Mon, Mar 01, 2004 at 11:35:40AM -0500, Larry Hall wrote: > >Pah! The User's Guide. That's just a document full of useful > >information. Why would anyone want to read that? ;-) > > Maybe we need a howto on reading the user

Re: Problem with dd to raw disks

2004-03-01 Thread Yitzchak Scott-Thoennes
complain instead of doing something. Quit > complaining and do something about it. This is open source after all. > > Ken > > > -Original Message- > > From: Yitzchak Scott-Thoennes > > Subject: Re: Problem with dd to raw disks > > > > You know, the

Re: perl 5.8.2's localtime reports gmtime

2004-03-08 Thread Yitzchak Scott-Thoennes
On Fri, Mar 05, 2004 at 10:53:12AM -0600, "DePriest, Jason R." wrote: > I actually implemented the following so that my script will still work > correctly after whatever whatever is fixed. > > I am in the Central Time Zone, so you'd have to adjust the number of > seconds you add or remove accordin

Re: rebaseall with extra files

2004-03-08 Thread Yitzchak Scott-Thoennes
On Mon, Mar 08, 2004 at 04:32:53PM -0500, Jason Tishler <[EMAIL PROTECTED]> wrote: > Caj, > > On Mon, Mar 08, 2004 at 04:39:53PM +0100, Caj Zell wrote: > > rebase -v -b 0x7000 `find > > /cygdrive/c/cygwin/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Tk > > -name "*.dll" ` > > >

Re: Using gcc 3.3.3

2004-03-16 Thread Yitzchak Scott-Thoennes
On Mon, Mar 15, 2004 at 08:21:27PM -, Ben Taylor wrote: > I posted a message to 'google groups' and it didn't get any > replies in there. But then I started getting emails from you, so I thought > that the list was an email-based thing. google groups has (in my experience) a lag time of up to

restarting interrupted setup downloads

2004-03-16 Thread Yitzchak Scott-Thoennes
When using mirrors.rcn.net, I often get connections dropped at ~ even megabyte points during the download when on a low speed connection. After setup has done it's best, I run the following in the local package directory (named "cygwin") to pick up the files that weren't correctly, and then run se

Re: seg fault on file write in cygwin, please help!!!

2004-03-18 Thread Yitzchak Scott-Thoennes
On Thu, Mar 18, 2004 at 08:35:46PM -0500, scyudits wrote: > FILE *outfile = fopen("/home/Sophia/ns-allinone-2.27/ns-2.27/myfile.tcl", "w"); check here if fopen failed (outfile will be NULL) > fprintf(outfile, "%s", output); > > ...where output is a regular string (character array). A stri

Re: Problem with localtime from Cygwin's perl

2004-03-18 Thread Yitzchak Scott-Thoennes
On Thu, Mar 18, 2004 at 07:26:03PM -0800, Andrew DeFaria wrote: > I'm observing the following: > > C09-272-A:date > Thu Mar 18 19:22:53 PST 2004 > C09-272-A:perl -e 'print scalar (localtime) . "\n"' > Fri Mar 19 03:22:58 2004 > C09-272-A:ccperl -e 'print scalar (localtime) . "\n"' > Thu Mar 18 19:

Re: 1.5.10 release?

2004-03-27 Thread Yitzchak Scott-Thoennes
On Fri, Mar 26, 2004 at 07:10:25AM -0700, "E. Weddington" wrote: > On 26 Mar 2004 at 9:45, Corinna Vinschen wrote: > > > On Mar 25 15:17, E. Weddington wrote: > > > Just wondering, is there a tentative release schedule for cygwin 1.5.10? Say, > > > sometime within the next week? > > > > It's sch

Re: reentrant functions

2004-04-20 Thread Yitzchak Scott-Thoennes
On Fri, Apr 16, 2004 at 09:18:24PM +0200, Bas van Gompel wrote: > Op Wed, 14 Apr 2004 11:12:14 +0200 > schreef Corinna Vinschen: > : > ttyname_r appears to be implemented only for linux > : > (in newlib/libc/sys/linux/ttyname_r.c). > : > > : > ctime_r, asctime_r, getpwnam_r, getpwuid_r, gmtime_r, l

problems with mutt and 20040416 snapsnot

2004-04-20 Thread Yitzchak Scott-Thoennes
After switching from 1.5.9 to the 20040416 snapsnot, mutt starts complaining "Could not create temporary file!" when trying to view a message. The problem seems to be in the code checking if a created temp file is a symlink: > static int compare_stat (struct stat *osb, struct stat *nsb) > { > i

Re: Wishlist additions for setup.exe

2004-04-20 Thread Yitzchak Scott-Thoennes
On Tue, Apr 20, 2004 at 01:46:08AM -0400, Rodrigo Medina wrote: > 1- In the list of packages include its size. It is very important > for people with slow connexions, so they can easily program > what to download and in which order. For example you may decide > not to download an updated 16MB fonts

Re: problems with mutt and 20040416 snapsnot

2004-04-20 Thread Yitzchak Scott-Thoennes
On Tue, Apr 20, 2004 at 01:49:53AM -0700, I wrote: > After switching from 1.5.9 to the 20040416 snapsnot, mutt > starts complaining "Could not create temporary file!" when > trying to view a message. The problem seems to be in the > code checking if a created temp file is a symlink: > > > static

Re: problems with mutt and 20040416 snapsnot

2004-04-20 Thread Yitzchak Scott-Thoennes
On Tue, Apr 20, 2004 at 01:03:02PM +0200, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Apr 20 01:49, Yitzchak Scott-Thoennes wrote: > > After switching from 1.5.9 to the 20040416 snapsnot, mutt > > starts complaining "Could not create temporary file!" wh

Re: reentrant functions

2004-04-20 Thread Yitzchak Scott-Thoennes
On Tue, Apr 20, 2004 at 01:16:24PM +0200, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Apr 20 01:37, Yitzchak Scott-Thoennes wrote: > > As of the 20040416 snapsnot, ttyname_r seems to be exported, but the > > prototype is missing from unistd.h. > > I've added

lseek returning 2**32-1 on error instead of -1

2004-04-20 Thread Yitzchak Scott-Thoennes
Using the latest snapshot 20040420 (though I think it may have been this way since at least 1.5.2): $ cat lseeker.c #include #include #include #include int main(int argc, char **argv) { off_t offset = -1, result; printf ("offsets are size %d.\n", sizeof (off_t)); printf ("offsets ar

write hangs on socket shut down for writing

2004-04-20 Thread Yitzchak Scott-Thoennes
This seems to be the cause of perl's ext/Socket/t/socketpair.t test 14 failing (which I've seen since at least 1.3.22). $ cat pairsock.c #include #include #include int main (int argc, char **argv) { int sockets[2] = {-1, -1}; int result; ssize_t wrote; result = socketpair (AF_UNIX

Re: lseek returning 2**32-1 on error instead of -1

2004-04-20 Thread Yitzchak Scott-Thoennes
On Tue, Apr 20, 2004 at 05:18:33PM -0700, Yitzchak Scott-Thoennes wrote: > > I believe this to be the cause of perl's op/sysio.t test 39 failing. This would have been easier to pin down if the strace had been correct (patch untested): --- winsup/cygwin/syscalls.cc.orig 2004-

Re: write hangs on socket shut down for writing

2004-04-21 Thread Yitzchak Scott-Thoennes
On Wed, Apr 21, 2004 at 10:46:59AM +0200, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > Did you try it with a recent Cygwin version? I used your above test > application and I'm getting a EPIPE (resp. a SIGPIPE) as expected. I think I had heard that others were not seeing this failure. I'm attac

Re: stty under cygwin

2004-04-21 Thread Yitzchak Scott-Thoennes
On Wed, Apr 21, 2004 at 06:38:09PM -0700, Karl M wrote: > >I am sure I would have come to the same conclusion if I hadn't recognized > >the colon separated string. > > > >cgf > > > That was a really nice thing to say. I thought so too. LGPL can't be far away. -- Unsubscribe info: http://cyg

Re: stty under cygwin

2004-04-22 Thread Yitzchak Scott-Thoennes
On Thu, Apr 22, 2004 at 11:03:12AM -0400, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Thu, Apr 22, 2004 at 04:38:18PM +0200, bertrand marquis wrote: > >Christopher Faylor a ?crit: > > > >>On Thu, Apr 22, 2004 at 09:10:46AM +0200, bertrand marquis wrote: > >> > >> > >>>First of all stty > >

Re: i want to re-download all packages... how?

2004-04-22 Thread Yitzchak Scott-Thoennes
On Thu, Apr 22, 2004 at 05:00:50PM +0200, electa wrote: > i have some packeges installed, but i have lost their .bz2 files... > now i want to retrieve all packages because I would like to put them on a > CD-RW! > --> setup.exe knows what packages i have alreay installed and don't download > them...

Re: Maildir and Cygwin

2004-04-22 Thread Yitzchak Scott-Thoennes
On Thu, Apr 22, 2004 at 08:26:00AM -0700, Eduardo Chappa wrote: > :) > that Cygwin is different (e.g. we could do this in the cygwin > :) > applications mailing list). > :) > :) Why do you want to change so many programs when all you need is a > :) cygwin managed mount? IMO, the correct soluti

Re: i want to re-download all packages... how?

2004-04-22 Thread Yitzchak Scott-Thoennes
So do it once that way to get the installed packages and then run it again to get the uninstalled packages. On Thu, Apr 22, 2004 at 05:43:21PM +0200, electa wrote: > it selects only my installed packs, but not the other. i want all for my > cygwin-CD! > > "Yitzchak Scott-

Re: Maildir and Cygwin

2004-04-23 Thread Yitzchak Scott-Thoennes
On Thu, Apr 22, 2004 at 11:33:13PM -0500, GARY VANSICKLE wrote: > > On Thu, Apr 22, 2004 at 08:26:00AM -0700, Eduardo Chappa wrote: > > > > > :) > that Cygwin is different (e.g. we could do this in the cygwin > > > :) > applications mailing list). > > > :) > > > :) Why do you want to change so man

errors using DB_File perl module under 20040422 snapshot

2004-04-25 Thread Yitzchak Scott-Thoennes
It seems to be creating files that cygwin cannot thereafter open. $ perl -we'use Fcntl; use DB_File; tie %h, "DB_File", "bugaboo", O_RDWR()|O_CREAT(), 0666 or die "error: $!"' Name "main::h" used only once: possible typo at -e line 1. error: No such file or directory at -e line 1. $ ls *bugaboo*

20040422 snapshot and filenames ending with . (was: Re: errors using DB_File perl module under 20040422 snapshot)

2004-04-27 Thread Yitzchak Scott-Thoennes
On Mon, Apr 26, 2004 at 10:40:02PM +0200, "Gerrit P. Haase" wrote: > Hallo Yitzchak, > > Am Sonntag, 25. April 2004 um 21:16 schriebst du: > > > It seems to be creating files that cygwin cannot thereafter open. > > > $ perl -we'use Fcntl; use DB_File; tie %h, "DB_File", "bugaboo", > > O_RDWR()|O

Re: 20040422 snapshot and filenames ending with . (was: Re: errors using DB_File perl module under 20040422 snapshot)

2004-04-28 Thread Yitzchak Scott-Thoennes
On Tue, Apr 27, 2004 at 02:45:38AM -0700, Yitzchak Scott-Thoennes wrote: > you can create files ending with a . which are > not stat'able unless another file exists with the same name without > the dot. (and even then rm on the dotted name removes the non-dotted > file): >

Re: 20040422 snapshot and filenames ending with . (was: Re: errors using DB_File perl module under 20040422 snapshot)

2004-04-28 Thread Yitzchak Scott-Thoennes
On Tue, Apr 27, 2004 at 12:04:14PM +0200, "Gerrit P. Haase" wrote: > Yitzchak wrote: > >> I have still an older snapshot version of cygwin running here: > >> $ uname -r > >> 1.5.8s(0.110/4/2) > > > And you get the ENOENT error? > > When issuing the perl command, yes. > BTW, this happens also with

Re: 20040422 snapshot and filenames ending with . (was: Re: errors using DB_File perl module under 20040422 snapshot)

2004-04-30 Thread Yitzchak Scott-Thoennes
On Wed, Apr 28, 2004 at 12:02:21PM -0700, Yitzchak Scott-Thoennes wrote: > On Tue, Apr 27, 2004 at 02:45:38AM -0700, Yitzchak Scott-Thoennes wrote: > > you can create files ending with a . which are > > not stat'able unless another file exists with the same name without > &g

Re: GPL violation ?

2004-05-06 Thread Yitzchak Scott-Thoennes
On Thu, May 06, 2004 at 01:50:39PM -0400, "Robb, Sam" <[EMAIL PROTECTED]> wrote: > > You do get a T-shirt for filing the assignment, which is > > intended to cover all of your subsequent contributions. > > Uh-oh, Igor... you let the cat out of the bag. The goodwill > of the community is only wor

Re: How to force Setup.exe to behave?

2004-05-16 Thread Yitzchak Scott-Thoennes
On Sun, May 16, 2004 at 04:20:34PM -0700, Lex Ein <[EMAIL PROTECTED]> wrote: > Nine days ago, this was "Using Setup.exe to uninstall -bogus". > > Please help me figure out how to get Setup.exe to STOP TRYING TO INSTALL > X. > Setup.exe won't stop trying to snag unnecessary components. > What file(

Re: write hangs on socket shut down for writing

2004-05-21 Thread Yitzchak Scott-Thoennes
On Wed, Apr 21, 2004 at 11:50:59AM +0200, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Apr 21 02:36, Yitzchak Scott-Thoennes wrote: > > On Wed, Apr 21, 2004 at 10:46:59AM +0200, Corinna Vinschen <[EMAIL PROTECTED]> > > wrote: > > > Did you try it with a

Re: merging mingw and cygwin

2003-10-13 Thread Yitzchak Scott-Thoennes
On Mon, Oct 13, 2003 at 03:20:49PM -0700, Andrew DeFaria <[EMAIL PROTECTED]> wrote: > Edward Peschko wrote: > >MINGW and/or NO_CYGWIN simply wrap all of this up in a nice user friendly > >package. > > > Let us know how your first implementation of this concept goes... mungewin-0.01? More serious

Re: When are Windows Short Path Names required

2005-10-23 Thread Yitzchak Scott-Thoennes
On Sun, Oct 23, 2005 at 05:04:23PM +0100, zzapper wrote: > On Sat, 22 Oct 2005 20:46:04 +0100, zzapper wrote: > > >Hi > > > >$ cygpath -d c:/Program\ Files/Internet\ Explorer > >c:\PROGRA~1\INTERN~1 > > > >I've just had another case where the I had to use the short form, > >is the short form the "

Re: please test: coreutils-5.90-3

2005-10-23 Thread Yitzchak Scott-Thoennes
On Wed, Oct 19, 2005 at 10:37:08PM +0200, Angelo Graziosi wrote: > > > With the snap 20051019 13:12:47 the command 'cp -p' of coreutils 5.90-3 > works fine. > > > A curiosit. > > The recent snapshots contain also mingw-runtime and w32api: is there a > special reason for this? Um, they changed

Re: SETUP: In-use files have been replaced

2005-10-23 Thread Yitzchak Scott-Thoennes
On Mon, Oct 24, 2005 at 12:34:30AM +0100, Chris Taylor wrote: > Yitzchak Scott-Thoennes wrote: > >On Wed, Oct 19, 2005 at 08:15:14PM +0100, Chris Taylor wrote: > > > >>If you reinstalled all of exim, you don't really need the cygwin > >>version.. So you want t

Re: textmount/binmount issue

2005-10-24 Thread Yitzchak Scott-Thoennes
On Mon, Oct 24, 2005 at 11:05:13AM -0400, Igor Pechtchanski wrote: > On Fri, 21 Oct 2005, Lemke, Michael IZ/HZA-IOM wrote: > > > This is my current mount table: > > > > pc00626> mount -m > > mount -f -s -b "c:/MyStuff/cygwin/bin" "/usr/bin" > > mount -f -s -b "c:/MyStuff/cygwin/lib" "/usr/lib" >

Re: textmount/binmount issue

2005-10-24 Thread Yitzchak Scott-Thoennes
On Mon, Oct 24, 2005 at 05:56:36PM -0400, Igor Pechtchanski wrote: > On Mon, 24 Oct 2005, Yitzchak Scott-Thoennes wrote: > > > On Mon, Oct 24, 2005 at 11:05:13AM -0400, Igor Pechtchanski wrote: > > > Looks like the cygdrive prefix takes precedence over explicit mounts. >

Re: Accessing signal context from a handler

2005-10-26 Thread Yitzchak Scott-Thoennes
On Wed, Oct 26, 2005 at 05:56:15PM -0400, Christopher Faylor wrote: > On Wed, Oct 26, 2005 at 09:36:53PM +, Adam Irawan wrote: > >Igor Pechtchanski cs.nyu.edu> writes: > >> > >> On Mon, 15 Jul 2002, Christopher Faylor wrote: > >> > >> > On Mon, Jul 15, 2002 at 01:00:23PM -0400, Igor Pechtcha

Re: mksh (shell)

2005-10-28 Thread Yitzchak Scott-Thoennes
On Fri, Oct 28, 2005 at 07:01:59PM +, Thorsten Glaser wrote: > Sorry for the "people, please do XXX" but my ressorces are limited, my > responsibilities as BSD developer high, and I only have one Windows box > which is already occupied with Interix. Having no Interix myself, I can't see what p

Re: cygcheck improvements

2005-11-02 Thread Yitzchak Scott-Thoennes
rate program to me. As flea is to mutt, so hippo is to cygwin? Then we could say, cygwin doesn't have bugs, it's got mammals. Oh, and: On Thu, Jul 07, 2005 at 08:29:31PM -0700, Yitzchak Scott-Thoennes wrote: > On Wed, Jul 06, 2005 at 11:27:15AM -0400, Larry Hall wrote: > >

Re: Missing directories in @INC with perl 5.8.7 and cygwin 1.5.18-1

2005-11-04 Thread Yitzchak Scott-Thoennes
On Fri, Nov 04, 2005 at 08:30:01AM +0100, Frank_Ehlert wrote: > If PERL5LIB is set, perl searches for according version directories and > architecture specific directories. > If they are present they will be included in the @INC array. > > > Now I am faced with the problem that with perl 5.8.7 th

Re: Missing directories in @INC with perl 5.8.7 and cygwin 1.5.18-1

2005-11-06 Thread Yitzchak Scott-Thoennes
On Sat, Nov 05, 2005 at 04:43:03AM +0100, Gerrit P. Haase wrote: > [EMAIL PROTECTED] wrote: > > > > > > > >Hi, > > > >If PERL5LIB is set, perl searches for according version directories and > >architecture specific directories. > >If they are present they will be included in the @INC array. > > > >

futimes fails on file open for read

2005-11-06 Thread Yitzchak Scott-Thoennes
The following gives: futimes returned: -1 (Permission denied) I'm told it succeeds on linux; is it even possible for it to work on cygwin or am I SOL? #include #include #include #include #include #include int main(int argc,char **argv) { int fd, ret; struct timeval tv[2] = {{500

Re: futimes fails on file open for read

2005-11-08 Thread Yitzchak Scott-Thoennes
On Mon, Nov 07, 2005 at 06:08:40PM +0100, Corinna Vinschen wrote: > On Nov 6 23:34, Yitzchak Scott-Thoennes wrote: > > The following gives: > > > > futimes returned: -1 (Permission denied) > > > > I'm told it succeeds on linux; is it even possible fo

unexpected failure of cygwin32_winpid_to_pid

2005-11-08 Thread Yitzchak Scott-Thoennes
Using 20051108, I just saw failures twice in tests of the perl binding for cygwin32_winpid_to_pid, but no failure on every try since. The test looks like: my $catpid = open my $cat, "|cat" or die "Couldn't cat: $!"; open my $ps, "ps|" or die "Couldn't do ps: $!"; my ($catwinpid) = map /^.\s+$catp

Re: unexpected failure of cygwin32_winpid_to_pid

2005-11-08 Thread Yitzchak Scott-Thoennes
On Tue, Nov 08, 2005 at 04:17:41PM -0800, Yitzchak Scott-Thoennes wrote: > Using 20051108, I just saw failures twice in tests of the perl binding > for cygwin32_winpid_to_pid, but no failure on every try since. The > test looks like: > > my $catpid = open my $cat, "|cat&q

Re: [ANNOUNCEMENT] Updated: apr(-util) 0.9.7-1

2005-11-15 Thread Yitzchak Scott-Thoennes
On Tue, Nov 15, 2005 at 03:51:10PM -0500, Christopher Faylor wrote: > On Tue, Nov 15, 2005 at 07:37:53PM +, zzapper wrote: > >On Mon, 14 Nov 2005 21:01:43 +, wrote: > >>zzapper wrote: > >>> On Sun, 13 Nov 2005 16:16:58 +, wrote: > APR and APR-util, portability and miscellaneous ut

Re: upgrade/add a single package

2005-11-17 Thread Yitzchak Scott-Thoennes
On Wed, Nov 16, 2005 at 02:40:27PM -0800, Brian Dessent wrote: > beau wrote: > > > I think I've got my /etc/setup properly in place > > Huh? Normally there is no need to touch anything under /etc/setup at > all. > > >, but when I try to add a new package I end up getting > > everything. The on

open() giving ENOENT when trying to create files with control chars

2005-12-02 Thread Yitzchak Scott-Thoennes
I'm trying to create a file (on NTFS) with a CR in the name and getting ENOENT; is it possible for this to work (without a managed mount)? Trying all possible characters: #include #include #include #include #include #include int main(int argc, char **argv) { int fd, c, err; char filena

Re: ECANCELED

2005-12-04 Thread Yitzchak Scott-Thoennes
On Fri, Dec 02, 2005 at 05:09:03PM -0500, Christopher Faylor wrote: > On Fri, Dec 02, 2005 at 10:38:27PM +0100, Samuel Thibault wrote: > >There is no ECANCELED value in cygwin's /usr/include/sys/errno.h. Is > >that on purpose? > > Of course it is. It's about time you noticed. We refused to impl

Re: open() giving ENOENT when trying to create files with control chars

2005-12-04 Thread Yitzchak Scott-Thoennes
On Fri, Dec 02, 2005 at 11:09:05PM +0100, Corinna Vinschen wrote: > On Dec 2 20:38, Eric Blake wrote: > > > I'm trying to create a file (on NTFS) with a CR in the name and getting > > > ENOENT; is it possible for this to work (without a managed mount)? > > > > Welcome to Windows. None of these n

Re: command-line archiver that understands Windows ACLs?

2005-12-06 Thread Yitzchak Scott-Thoennes
On Tue, Dec 06, 2005 at 01:21:54PM -0800, Mark McWiggins wrote: > I'm working with a company that deploys tar files from Unix to Windows > where the > Windows administrators set their directories up with various ACLs. > > Cygwin's default TAR program destroys these ACLs when files are unpacked >

Re: cygcheck bug when listing services (Was Re: Parallel writes to a single FIFO do not queue, and deadlock cygwin)

2005-12-06 Thread Yitzchak Scott-Thoennes
On Mon, Dec 05, 2005 at 09:40:01AM -0500, Igor Pechtchanski wrote: > Running cygcheck under strace shows that after listing all the available > services, it invokes "cygrunsrv --query grunsrv.exe --list", which results > in the above message. I think this may be because the output of > "cygrunsrv

Re: open() giving ENOENT when trying to create files with control chars

2005-12-08 Thread Yitzchak Scott-Thoennes
On Fri, Dec 02, 2005 at 11:09:05PM +0100, Corinna Vinschen wrote: > On Dec 2 20:38, Eric Blake wrote: > > > I'm trying to create a file (on NTFS) with a CR in the name and getting > > > ENOENT; is it possible for this to work (without a managed mount)? > > > > Welcome to Windows. None of these n

Re: Hang with 20051205 snapshot while building OOo

2005-12-08 Thread Yitzchak Scott-Thoennes
On Wed, Dec 07, 2005 at 01:15:50PM -0500, Christopher Faylor wrote: > On Wed, Dec 07, 2005 at 05:16:17PM +0100, Volker Quetschke wrote: > >We got some new features in the hangs with the 20051205 snapshot > >when building OOo. > > > >This trace looks a little bit different from the old versions, > >

Re: Call for testing Cygwin snapshot

2005-12-08 Thread Yitzchak Scott-Thoennes
On Wed, Nov 30, 2005 at 06:11:37PM +0100, Corinna Vinschen wrote: > 1.5.19 has also some new functionality over 1.5.18. If you have sources > which take advantage of that stuff if present, we're also interested in > getting feeedback about those: > > - clock_getres, clock_setres. > - fts(3) f

Re: Hang with 20051205 snapshot while building OOo

2005-12-08 Thread Yitzchak Scott-Thoennes
On Thu, Dec 08, 2005 at 03:23:01PM -0800, Yitzchak Scott-Thoennes wrote: > On Wed, Dec 07, 2005 at 01:15:50PM -0500, Christopher Faylor wrote: > > On Wed, Dec 07, 2005 at 05:16:17PM +0100, Volker Quetschke wrote: > > >We got some new features in the hangs with the 20051205

Re: open() giving ENOENT when trying to create files with control chars

2005-12-08 Thread Yitzchak Scott-Thoennes
On Fri, Dec 09, 2005 at 12:31:32AM +, Eric Blake wrote: > From: Yitzchak Scott-Thoennes <[EMAIL PROTECTED]> > > > > Moving on to another "non-portable" problem, I want to create a file > > with a space at the end of the name, but cygwin is stripping spaces

  1   2   3   4   5   >