Re: [ANNOUNCEMENT] Updated: cygwin-1.5.11-1
Borrowing a line from that deeply inspirational film ... ANIMAL HOUSE: "THANK YOU SIR - MAY I HAVE ANOTHER!!??" The efforts of all involved are GREATLY appreciated! Brian Kelly "Christopher Faylor" <[EMAIL PROTECTED]>@cygwin.com on 09/05/2004 12:51:25 AM Please respond to [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: (bcc: Brian Kelly/WTC1/Empire) Subject:[ANNOUNCEMENT] Updated: cygwin-1.5.11-1 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. To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Christopher Faylor Red Hat, Inc. Changes since 1.5.10-3: - Fix various reported cygserver problems. (Corinna Vinschen) - Add -g/--group option to mkgroup (q.v.) (Igor Pechtchanski) - Fix some problems with rsync hangs on Windows NT class systems. (Bob Byrnes) - Fix mysterious configure script premature exit. (Pierre Humblet) - Properly zero fill file on windows 9x when file is extended. (Pierre Humblet) - Regularize errno text output. (Corinna Vinschen) - Fix handling of audio fds when duped. (Pierre Humblet) - Report correct processor-specific flags in /proc/cpuinfo. (Christopher January, Tomas Ukkonen) - Add workaround to get Cygwin working on 64-bit systems. (Corinna Vinschen, Christopher Faylor) - Fix handling of chdir with windows paths. (Pierre Humblet) - Make path handling and error checking for mount more robust. (Pierre Humblet) - Add minor speedup to spawn/exec processing. (Christophe Jaillet) - Fix shmget handling. (Corinna Vinschen) - Don't create filenames, on disk, which normal Windows interprets as "special". (Pierre Humblet, David Fritz, Christopher Faylor) - Make IPC_INFO visible only for ipc system utilities, to make it consistent with declaration of struct seminfo. (Egor Duda) - Fix usage message in ssp. (John Paul Wallington) -- 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/ "WellChoice, Inc." made the following annotations on 09/05/2004 07:53:46 AM -- Attention! This electronic message contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement -- 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: How does a script find where Cygwin is installed?
you wrote, [EMAIL PROTECTED]: > On Fri, 3 Sep 2004, luke.kendall wrote: > >> $ CYGPATH=`cygpath -w /` >> $ echo $CYGPATH >> C:\cygwin >> $ CYGPATH=`cygpath -u "$CYGPATH"` >> $ echo $CYGPATH >> / >> >> What I really want to get is "C:/cygwin" > > $ cygpath -m / > >> or "/cygdrive/c/cygwin", in my case. > > $ cygpath -m / | sed 's,^\([A-Za-z]\):,/cygdrive/\1,' That might produce false results, depending on the "mount -c" setting. Here is a (working/stable?) remedy: $ cygpath -m / | \ sed "s,^\([A-Za-z]\):,$( \ mount -p | \ sed -n '2s/^\([^ ]*\).*/\1/p' \ )/\1," /cygdrive/C/Program/Cygwin /Hannu E K Nevalainen, B.Sc. EE Microcomputer systems--72--> ** mailing list preference; please keep replies on list ** -- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); -- --END OF MESSAGE-- -- 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: can't open file for writing
C Schreiner, [EMAIL PROTECTED] wrote: > I can not save to a nonexistant file name under > Cygwin, but I can under Windows. > > When I type: > >cat "hello" > foo.txt I suppose you MEANT "echo" here... otherwise: $ cat "hello" >foo.txt cat: hello: No such file or directory $ echo "hello" >foo.txt $ cat foo.txt hello > under Cygwin I get this error message: > >bash: foo.txt: No such file or directory > > (unless foo.txt already exists in the current > directory). This only happens with network > filesystems. /Hannu E K Nevalainen, B.Sc. EE Microcomputer systems--72--> ** mailing list preference; please keep replies on list ** -- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); -- --END OF MESSAGE-- -- 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/
md5.sum in root of Cygwin mirror?
G'day All, Can someone remove the md5.sum in the Cygwin root that has zero file size. It is causing problems with the lftp mirroring program. Thanks.Have Fun !! Shane Hill = Shane D. Hill (B.E. Aero. Hons.) Aircraft Vehicles Division, Platforms Sciences Laboratory, Defence Science & Technology Organisation, 506 Lorimer St, Fishermens Bend, Vic. 3207, AUSTRALIA. Email: Shane.Hill at dsto aot defence dot gov dot au = -- 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/
[ANNOUNCEMENT] Updated: mingw-runtime-3.5-1
This is a multi-part message in MIME format. --020203070708050809040107 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I've made a new version of the mingw runtime headers and libraries available for download. A list of what has changed is attached. NOTE: mingw-runtime version 3.4 was not publicly released. Earnie. -Installation Instructions- To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. Note that we do not allow downloads from sources.redhat.com (aka cygwin.com) due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ is a reliable high bandwidth connection. In Germany, ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is usually pretty good. In the UK, http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/ is usually up-to-date within 48 hours. If one of the above doesn't have the latest version of this package then you can either wait for the site to be updated or find another mirror. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple If you need to unsubscribe from cygwin-announce or any other mailing list, reading the instructions at the above URL is guaranteed to provide you with the info that you need. -- http://www.mingw.org http://sourceforge.net/projects/mingw https://sourceforge.net/donate/index.php?user_id=15438 -- http://www.mingw.org http://sourceforge.net/projects/mingw https://sourceforge.net/donate/index.php?user_id=15438 --020203070708050809040107 Content-Type: text/plain; name="Changes.mingw" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Changes.mingw" 2004-04-22 Earnie Boyd <[EMAIL PROTECTED]> * DISCLAIMER: Add words about "free to use". * README: Modify "Win32 runtime" to "Microsoft C Runtime". * Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS. (inst_docdir): New variable. (INSTDOCS): Ditto. (FLAGS_TO_PASS): Include inst_docdir. (install-dirs): Add inst_docdir. (install): Add loop for INSTDOCS. * strncasecmp.c: Reword copyright and disclaimer. Move Contributors section to CONTRIBUTORS file. Remove RCS tags. 2004-04-22 Danny Smith <[EMAIL PROTECTED]> * mingwex/math/lround.c: Rewrite. * mingwex/math/lroundf.c: Rewrite. * mingwex/math/lroundl.c: Rewrite. * mingwex/math/llround.c: Rewrite. * mingwex/math/llroundf.c: Rewrite. * mingwex/math/llroundl.c: Rewrite. 2004-04-20 Earnie Boyd <[EMAIL PROTECTED]> * CONTRIBUTORS: New file. * DISCLAIMER: Ditto. * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors section to CONTRIBUTORS file. Remove RCS tags. * CRTFmode.c: Ditto. * CRTglob.c: Ditto. * CRTinit.c: Ditto. * crt1.c: Ditto. * crtdll.dev: Ditto. * dllcrt1.c: Ditto. * dllmain.c: Ditto. * gccmain.c: Ditto. * init.c: Ditto. * isascii.c: Ditto. * iscsym.c: Ditto. * iscsymf.c: Ditto. * jamfile: Ditto. * main.c: Ditto. * msvcrt.def.in: Ditto. * strcasecmp.c: Ditto. * toascii.c: Ditto. * wcscmpi.c: Ditto. * include/assert.h: Ditto. * include/conio.h: Ditto. * include/ctype.h: Ditto. * include/direct.h: Ditto. * include/dirent.h: Ditto. * include/dos.h: Ditto. * include/errno.h: Ditto. * include/excpt.h: Ditto. * include/fcntl.h: Ditto. * include/float.h: Ditto. * include/io.h: Ditto. * include/locale.h: Ditto. * include/malloc.h: Ditto. * include/math.h: Ditto. * include/process.h: Ditto. * include/setjmp.h: Ditto. * include/share.h: Ditto. * include/signal.h: Ditto. * include/stdio.h: Ditto. * include/stdlib.h: Ditto. * include/string.h: Ditto. * include/tchar.h: Ditto. * include/time.h: Ditto. * include/wchar.h: Ditto.
cygwin implementation of fork() eating all resourses?
After 5 minutes running this script i got a windwows XP error: not enough system resourses. <-- #!/bin/bash while (( 1 )); do ls > /dev/null; done; --> This program leads to the same result: <- #include #include int main() { bool fl = true; while ( fl ) { pid_t child_pid = fork(); if ( child_pid != 0 ) { //parent process, continue loop ... fl = true; } else { //child process, exit loop ... fl = false; };//end if };//end while } -> At normal linux systems this code works well ... Is it a bug? P.S. Sorry for my bad english. -- 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: cygwin implementation of fork() eating all resourses?
* On Mon, Sep 06, 2004 at 08:42:56AM +0400, Artem Gluhov <[EMAIL PROTECTED]> wrote: > After 5 minutes running this script i got a windwows XP > error: not enough system resourses. You have Agnitum Outpost, haven't you ? If so, uninstall it and choose another firewall. HTH, -- Luc Hermitte -- 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: SIGCONT handler is not called (Cygwin or Bash problem ?)
Hi, in the process of porting some software to the Cygwin environment i came across a problem when trying to install a signal SIGCONT handler. This is needed as the program puts the terminal into certain states that need to be reset/set again when SIGTSTP/SIGCONT signals are received. My problem is that the SIGCONT handler is never triggered (as it seems to me). I could reduce the problem into the following code snippets. Note that i have also a testversion using only the Posix calls (sigprocmask, sigaction) but it behaves identically: the SIGCONT handler is never called. I can (in the Posix version) remove the sigaction(SIGCONT,..) after which the test routine stops at the kill() command after a SIGTSTP. Sending a SIGCONT resumes the program after the kill and there i could continue with the SIGCONT code but this is not really what i want to do (because i want the SIGCONT also to work after a SIGTERM). Questions: 1) is there a problem with the SIGCONT handling in CYGWIN ? Why is it never called or is SIGCONT not delivered ? 2) what is the signal delivery scheme in Cygwin for SIGCONT i.e. what is called first after issueing a shell - fg command ? 3) or do i miss something in my code here that would be specific for Cygwin (i tested it on various other Unix platforms with success) ? I'm on Cygwin 1.5.10-3, gcc 3.3.1-3 gcc-core 3.3.3-3, bash 2.05b-16, platform = Win2000 Professional V5.0 Build 2195 SP4 Testsequence: gcc prog.c -o prog prog ^Z fg --> bash types prog but the program blocks. Classic signal version: --- #include #include /* IO functions*/ #include /* strlen functions*/ #include /* file errors */ #include /* emulate signals */ /* === */ voidsignal_handler(); void (*Tstp) (), (*Cont) (); /* */ int main() { int input; char buf[3]; int i; Tstp = signal(SIGTSTP, signal_handler); /* ctrl-Z, kill -18 */ Cont = signal(SIGCONT, SIG_DFL);/* fg after ^Z, kill -19 */ /* first get the char in the selected mode */ printf("Give a char:\n "); input = getc(stdin); if (input == EOF) printf("Input error\n"); /* reset signals */ signal(SIGTSTP, Tstp); /* ctrl-Z */ signal(SIGCONT, Cont); /* fg after ^Z */ } /* */ void signal_handler(int sig) { int send_sig=0; /* signal to be sent */ sigset_t mask; printf("\nSIGTSTP = %d, SIGCONT = %d, signal = %d \n",SIGTSTP,SIGCONT,sig); switch (sig) { case SIGTSTP: printf("catching the SIGTSTP\n"); send_sig = SIGTSTP ;/*STOP; /* send a suspend signal*/ signal(sig, SIG_DFL); /* load default signal mode */ /* now we will install the SIGCONT handler */ if(signal(SIGCONT, signal_handler)==SIG_ERR) printf("Error loading SIGCONT handler... \n"); kill(getpid(),send_sig); printf("now after the kill\n"); break; /* this is resumed after a suspend: */ case SIGCONT: printf("catching the SIGCONT\n"); printf(" Continuing . (my_raw.c)\n"); fflush(stdout); signal(sig, signal_handler);/* keep same signal mode */ break; } } - Posix call version: - #include #include /* IO functions*/ #include /* strlen functions */ #include /* file errors */ #include /* emulate signals */ /* === */ sigset_t mask_old, mask_new; struct sigaction Tstp_old, Tstp_new; struct sigaction Cont_old, Cont_new; void signal_handler (); void (*Tstp) (), (*Cont) (); /* */ int main () { int input; char buf[3]; int i; sigemptyset (&mask_new); sigaddset (&mask_new, SIGCONT); sigaddset (&mask_new, SIGTSTP); sigprocmask (SIG_SETMASK, &mask_new, &mask_old); /* block signals */ sigemptyset (&mask_new); Tstp_new.sa_handler = signal_handler; Tstp_new.sa_mask = mask_new; Tstp_new.sa_flags = 0; sigaction (SIGTSTP, &Tstp_new, &Tstp_old);/* install SIGTSTP handler */ sigprocmask (SIG_SETMAS
Cvsnt doesn't work anymore after cygwin upgrade to 1.5.11
Hi, I just upgraded to cygwin 1.5.11, great that there is a new release. But, I use wincvs to get my cvs code, after the upgrade that doesn't work anymore, cvs just hangs. Doing just "cvs -z9 update" hangs forever, after downgrading to 1.5.10, it works again, anyone having an idea? Johnny -- 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/