[PATCH suggestion] aclocal wrapper script loops forever if automake-devel or automake-stable is missing
Hey, there! :) Does the attached patch make any sense ? It prevents an infinite loop if either automake-devel or automake-stable is missing. aclocal.PATCH Description: Binary data
RE: DDraw Blt vs BltFast
Do you have even a tiny bit of information about these certain functions that you'd like to impart? Or is this an even higher level version of the I don't see why they don't... I'm really surprised to see this attitude. It's quite disappointing. Dick-head mode detected... aborting conversation. You should be surprised to see that attitude because you are completely misinterpreting what I have said. Just forget it. Harold
RE: DDraw Blt vs BltFast
-Original Message- From: Harold Hunt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 4:46 AM To: cygx Subject: RE: DDraw Blt vs BltFast Ralf, Those are some very interesting results. I especially like the ones where Cygwin is 10 to 1000 times slower than Linux :) Oh well... I can't bitch anymore for fear of obligating myself to contribute to Cygwin proper. Lol! Seriously though, I'm quite excited by what Ralf has been working on, and the cygserver is in HEAD now, so cygwin 1.11 will have it, and Ralf's patches don't need to be against a development branch. Rob
RE: DDraw Blt vs BltFast
-Original Message- From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 5:06 AM To: Cygwin-Xfree Subject: Re: DDraw Blt vs BltFast On Tue, Mar 12, 2002 at 09:30:05AM +0100, Ralf Habacker wrote: I have done some analysing work with this and with the cygwin daemon (cygserver transport classes) there may be a way in the future to implement unix domain sockets with named pipes which speed up unix domain sockets up to 250 MB/s, as I have measured with a quick an dirty sample Fine. But how do you implement them on 9x/Me? Perhaps the same way I implemented FIFO's, but easier as the semantics seem less complex to me. Anyway, sure we don't need to have bot NT and 9x all at the same time... Rob
RE: DDraw Blt vs BltFast
-Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 12:52 PM To: [EMAIL PROTECTED] Subject: Re: DDraw Blt vs BltFast On Tue, Mar 12, 2002 at 06:06:16PM -0500, Harold Hunt wrote: Fine. But how do you implement them on 9x/Me? Perhaps the same way I implemented FIFO's, but easier as the semantics seem less complex to me. Anyway, sure we don't need to have bot NT and 9x all at the same time... Sounds logical to me. There is no reason to limit the performance on Windows NT/2000/XP just because there would need to be a seperate routine for Windows 95/98/Me. I'm glad it sounds logical. Cygwin already has lots of code that is NT specific, e.g., CYGWIN=ntsec. I agree. I got the impression from Corinna's email that what Ralf was suggesting needed a 9x equivalent to be seriously considered. I'm not 100% sure why I got that impression though Rob
Re: DDraw Blt vs BltFast
On Wed, Mar 13, 2002 at 03:14:53PM +1100, Robert Collins wrote: I'm glad it sounds logical. Cygwin already has lots of code that is NT specific, e.g., CYGWIN=ntsec. I agree. I got the impression from Corinna's email that what Ralf was suggesting needed a 9x equivalent to be seriously considered. I'm not 100% sure why I got that impression though Ok. The horse is starting to decompose. I'm not going to whack it anymore. This is all actually off-topic for this mailing list anyway. I assume that Suhaib and Harold are just being too polite to inform us of that fact. cgf
RE: need help
RTFM http://xfree86.cygwin.com/docs/cg/ Harold -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Narasimha Reddy K Sent: Wednesday, March 13, 2002 2:23 AM To: '[EMAIL PROTECTED]' Subject: need help Please send the build instructions of XFREE86 on windows. Regards, N Reddy DISCLAIMER: Information contained and transmitted by this E-MAIL is proprietary to MASCOT SYSTEMS LTD and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail notify us immediately at [EMAIL PROTECTED] Before opening attachments, please scan for viruses
Re: DDraw Blt vs BltFast
Do you have to ? You could allow more functional platform in the source tree to have this new functionality while leaving the DOS based Windows at the current support. Yes - this will complicat matters and will probably need some kind of abstraction layer in the source to 'hide' the difference for most developer, but the gain for the more advanced platforms is certainly worth it On Tue, Mar 12, 2002 at 09:30:05AM +0100, Ralf Habacker wrote: I have done some analysing work with this and with the cygwin daemon (cygserver transport classes) there may be a way in the future to implement unix domain sockets with named pipes which speed up unix domain sockets up to 250 MB/s, as I have measured with a quick an dirty sample Fine. But how do you implement them on 9x/Me? Corinna Med venlig hilsen / Regards Franz Wolfhagen
Re: how to find the amount of RAM
On Mon, Mar 11, 2002 at 07:55:51PM -0800, Stephen Weeks wrote: Corinna Vinschen wrote: On Sun, Mar 10, 2002 at 08:49:07PM -0800, Stephen Weeks wrote: Is there a way to find the amount of RAM from within Cygwin? I _SC_PHYS_PAGES is only supported on NT/2K/XP. Anyways, here is a simple test program, the output that I see, and the output of cygcheck. Hopefully that will help you find the problem. Thanks for the testcase! I've fixed it. It was an error in a conditional. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: g++/static members/DLL problem
Kohn Emil Dan wrote: Hello everyone, I would like to report a problem with g++ static member initialization on cygwin. I have a class in which I have a static data member. The definition of that class resides in a DLL. That static member is initialized in the corresponding .cpp file. However when I access it from an application, I do not get the initialized value, instead I get just garbage. This is the case for all the global variables (and static members are global). By the way, it's not a good idea to share other things than pointers, Dll can shre only pointers. Here you have no warning message because your variable (int) has the same size than a pointer. Try to share an object to see. A solution is to do : tbar *Foo_bar; class Foo { public: static void init(); static void done(); }; void Foo::init() { Foo_bar = new tbar(17); } void Foo::done() { delete Foo_bar; } int main() { Foo::init(); printf(Foo::bar=%d\n, *Foo_bar); Foo::done(); return 0; } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: mmap of large amount returns invalid pointer
On Mon, Mar 11, 2002 at 08:38:34PM -0800, Stephen Weeks wrote: I am experience a problem where mmap does not return -1, but the pointer returned is not to a valid chunk of memory. I have included a sample program, the output that I see, and the output of cygcheck below. I have tried this program both with and withouth the registry setting HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\heap_chunk_in_mb which, when set, I have set to 512Mb. BTW, I notice that this registry value isn't checked for by cygcheck. That would seem useful. Even if I got the registry setting wrong, I would expect mmap to return -1 if it is unable to get the space. This registry setting has absolutely no effect on mmap(). It affects the application heap but the mmap memory is taken from the shared memory area of the system which isn't controlled by Cygwin but only by Win32 itself. I ran your below test application with slightly different values in the `try' calls to reflect the size of the page file in my box. However, before talking further about this I'd like you to run your below test application again but this time under strace. Could you please send the strace output to this list (it's not that long)? Thanks in advance, Corinna #include stdio.h #include sys/mman.h #include unistd.h #include windows.h void try (uint length) { void *p; fprintf(stderr, attempting to mmap %u bytes ..., length); p = mmap (NULL, length, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); if ((void*)-1 == p) { fprintf(stderr, out of memory\n); exit(0); } fprintf(stderr, zeroing ... ); memset(p, 0, length); fprintf(stderr, unmapping ... ); munmap(p, length); fprintf(stderr, succeeded\n); length *= 2; } int main (int argc, char **argv) { MEMORYSTATUS ms; ms.dwLength = sizeof(MEMORYSTATUS); GlobalMemoryStatus(ms); fprintf(stderr, TotalPhys: %ld\nAvailPhys: %ld\nTotalPageFile: %ld\nAvailPageFile: %ld\nTotalVirtual: %ld\nAvailVirtual: %ld\n, ms.dwTotalPhys, ms.dwAvailPhys, ms.dwTotalPageFile, ms.dwAvailPageFile, ms.dwTotalVirtual, ms.dwAvailVirtual); try(1); try(13000); exit(0); } TotalPhys: 209113088 AvailPhys: 166580224 TotalPageFile: 309587968 AvailPageFile: 275365888 TotalVirtual: 2147352576 AvailVirtual: 1589841920 attempting to mmap 1 bytes ...zeroing ... unmapping ... succeeded attempting to mmap 13000 bytes ...zeroing ... Segmentation fault (core dumped) Cygwin Win95/NT Configuration Diagnostics Current System Time: Mon Mar 11 19:42:08 2002 Windows NT Ver 4.0 Build 1381 Service Pack 6 Path: z:\cygwin\home\sweeks\bin z:\cygwin\sbin z:\cygwin\usr\sbin z:\cygwin\usr\local\bin z:\cygwin\bin z:\cygwin\bin c:\WINNT\system32 c:\WINNT SysDir: C:\WINNT\System32 WinDir: C:\WINNT CYGWIN = `binmode ntsec tty ' HOME = `z:\cygwin\home\sweeks' MAKE_MODE = `unix' PWD = `/cygdrive/c' USER = `sweeks' COMPUTERNAME = `WINDOZE' COMSPEC = `C:\WINNT\system32\cmd.exe' HOMEDRIVE = `C:' HOMEPATH = `\' LOGONSERVER = `\\WINDOZE' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/sweeks' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0102' PROMPT = `$P$G' PS1 = `\W% ' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `c:\TEMP' TERM = `cygwin' TMP = `c:\TEMP' USERDOMAIN = `WINDOZE' USERNAME = `sweeks' USERPROFILE = `C:\WINNT\Profiles\sweeks' WINDIR = `C:\WINNT' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin (default) = 0x0200 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x fsilent =
Re: reboot problem
On Tue, Mar 12, 2002 at 01:44:16PM +0800, iman lee wrote: (sorry for my poor english level) and also sorry if this question is too simple. I use reboot -r now command to reboot my win2k machine, it's ok. but this is when I login through console. when I use ssh to logon and no console user, the same command give a reboot warning but do nothing. That's weird. I know it doesn't help you that much but I'm using this on a W2K machine multiple times per day due to hardware tests and it works fine. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RXVT NCURSES BACKSPACE problem
Hello, i install latest rxvt ncurses from cygwin. I have this test program : -- #include curses.h #include ctype.h #define COLOR21 #define COLOR12 int main () { intc; char *s; initscr (); cbreak (); noecho (); start_color (); keypad (stdscr, TRUE); curs_set(0); if (!has_colors ()) { endwin (); fputs (Hmm.. tady barvy nejdou !, stderr); exit (1); } init_pair (COLOR1, COLOR_RED, COLOR_BLUE); init_pair (COLOR2, COLOR_YELLOW, COLOR_BLACK); attron (COLOR_PAIR( COLOR1 )); mvaddstr (2, 5, Red on blue); attron (COLOR_PAIR( COLOR2 )); mvaddstr (3, 5, Yellow on black); attron (A_BOLD); mvaddstr (4, 5, Yellow on black BOLD); attroff (COLOR_PAIR( COLOR2 )); mvaddstr (LINES-1, COLS-15, F10 - konec); mvaddstr (10, 5, Name of keypad:); while ( (c=getch()) != KEY_F(10)) { s = (char *) keyname(c); if (s) mvprintw (10, 20, '%s' - %i - %c , s, c, c); else mvprintw (10, 20, '%c', (isprint(c) ? c : '.')); } erase (); refresh (); endwin (); exit (0); } -- After start bash and runing this program and pressing key BACKSPACE i get this 'KEY_BACKSPACE' - 263 - ^G . When i start rxvt like this: start c:/cygwin/bin/rxvt -fn Lucida ConsoleP-18 -tn rxvt-cygwin-native -geometry 100x39 -fg lightblue -bg midnightblue -vb -sr +sb -cr red -e /bin/bash And run this program and pressing key BACKSPACE i get this '^?' - 127 - ^? Where is problem??? Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: RXVT NCURSES BACKSPACE problem
Igor Bujna wrote: Hello, i install latest rxvt ncurses from cygwin. I have this test program : -- #include curses.h #include ctype.h #define COLOR21 #define COLOR12 int main () { intc; char *s; initscr (); cbreak (); noecho (); start_color (); keypad (stdscr, TRUE); curs_set(0); if (!has_colors ()) { endwin (); fputs (Hmm.. tady barvy nejdou !, stderr); exit (1); } init_pair (COLOR1, COLOR_RED, COLOR_BLUE); init_pair (COLOR2, COLOR_YELLOW, COLOR_BLACK); attron (COLOR_PAIR( COLOR1 )); mvaddstr (2, 5, Red on blue); attron (COLOR_PAIR( COLOR2 )); mvaddstr (3, 5, Yellow on black); attron (A_BOLD); mvaddstr (4, 5, Yellow on black BOLD); attroff (COLOR_PAIR( COLOR2 )); mvaddstr (LINES-1, COLS-15, F10 - konec); mvaddstr (10, 5, Name of keypad:); while ( (c=getch()) != KEY_F(10)) { s = (char *) keyname(c); if (s) mvprintw (10, 20, '%s' - %i - %c , s, c, c); else mvprintw (10, 20, '%c', (isprint(c) ? c : '.')); } erase (); refresh (); endwin (); exit (0); } -- Next time inlcude the compile line too it will save me to some manpages for the exact -lncurses to use. After start bash and runing this program and pressing key BACKSPACE i get this 'KEY_BACKSPACE' - 263 - ^G . When i start rxvt like this: start c:/cygwin/bin/rxvt -fn Lucida ConsoleP-18 -tn rxvt-cygwin-native -geometry 100x39 -fg lightblue -bg midnightblue -vb -sr +sb -cr red -e /bin/bash And run this program and pressing key BACKSPACE i get this '^?' - 127 - ^? If I start rxvt as just C:\cygwin\bin\rxvt.exe -e c:/cygwin/bin/bash.exe --login I get Hmm.. tady barvy nejdou ! When I change the TERM=rxvt I get 'KEY_BACKSPACE' - 263 - ^G too when pressing the backspace key. Where is problem??? It can be a combination of several factors choose the ones that applies: o Your presumptions about what the results should be o Your rxvt configuration (or lack hereof) o Not reading the documentation (man rxvt) o Not understanding the manpage o Overlooking the section about backspacekey o Not searching the mailing lists archives Note my .Xdefaults look like this: $ cat ~/.Xdefaults XTerm.scrollBar: False XTerm.saveLines: 2000 XTerm.font: Lucida Console-16 Rxvt.backspacekey: ^H Thanks -- Med venlig hilsen / Kind regards Hack Kampbjørn -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: reboot problem
I noticed recently that shutdown from a bash causes a End program now dialogue to pop up (for the bash console which is still running shutdow). Perhaps some other application is not closing and you can't see it (if it's a remote connection). On Tue, Mar 12, 2002 at 10:38:50AM +0100, Corinna Vinschen wrote: On Tue, Mar 12, 2002 at 01:44:16PM +0800, iman lee wrote: (sorry for my poor english level) and also sorry if this question is too simple. I use reboot -r now command to reboot my win2k machine, it's ok. but this is when I login through console. when I use ssh to logon and no console user, the same command give a reboot warning but do nothing. That's weird. I know it doesn't help you that much but I'm using this on a W2K machine multiple times per day due to hardware tests and it works fine. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: zlib-1.1.4-1 (fwd)
Quick Question for Package maintainers, are the packages built under cygwin that utilize zlib linking dynamically or are there any that are built statically? If static, can you guys do us a favor and let us know which ones you have that are static? Thanks -- Prentis Brooks | [EMAIL PROTECTED] | 703-265-0914 | AIM: PrentisBrooks Senior System Administrator - Web Infrastructure Security A knight is sworn to valor. His heart knows only virtue. His blade defends the helpless. His word speaks only truth. His wrath undoes the wicked. - the old code of Bowen, last of the dragonslayers -- Forwarded message -- Date: Tue, 12 Mar 2002 00:02:24 -0500 From: Charles Wilson [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [ANNOUNCEMENT] Updated: zlib-1.1.4-1 The zlib package has been updated to version 1.1.4-1. zlib is a standard lossless compression library. The 1.1.4 version of zlib fixes a 'double free' bug that could lead to heap corruption when untrusted, compressed data is fed to zlib. CHANGES: - update to official 1.1.4 release -- Charles Wilson zlib volunteer maintainer for cygwin INSTALLATION: 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 update the zlib package. Note that we have recently stopped 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 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] . I would appreciate if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question, the Cygwin mailing list is the appropriate place. *** 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] NOTES: o Now uses the auto-import functionality of newer binutils, and doesn't use __declspec(dllimport). This means you no longer need -DZLIB_STATIC when compiling objects intended for static linking. Just compile as normal. HOWEVER, you need to use a special flag when linking statically: 'gcc -static'. For dynamic linking, you need no special link-time flags (assuming you're using binutils newer than 20010930, when --enable-auto-import was made the default). -- PRO: no compile time flags needed when building client programs; ONLY need a link-time flag linking to static libraries. NO special flags at compile-time nor link-time when linking to dynamic links. -- CON: (partial): if using binutils older than 20010930, you now need a special linktime flag for dynamic linking (-Wl,--enable-auto-import). However, with an up-to-date binutils, you don't need this. o The following packages have been converted from old style -DFOO_STATIC to the new autoimport style of DLL structure: ncursesreadlinegettextzlib libpng xpm-nox jpeg tiff gdbm jbig The following package has not (yet) been converted, and still needs -DFOO_STATIC for static builds: bzip2 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
proprietary-use license?
We are a small research institute developing a Java-based solar energy simulation which will be marketed to the renewable energy community. Our program requires multi-platform database functionality which is why PostgreSQL (and MySQL) came to mind. We would like to avoid any per-seat charges such as MySQL requires. What are the licensing requirements or charges for Cygwin/PostgreSQL? Thank you for your help. -- Richard Chrenko, Informatik Institut für Solartechnik SPF Hochschule für Technik Rapperswil, Oberseestr.10, CH-8640 Rapperswil Tel +41 55 222 48 33, Fax +41 55 222 48 44, http://www.solarenergy.ch -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: grep -r on win98
At 09:17 PM 3/11/2002, Subrata Datta wrote: sorry if this was discussed before. I could not find any hint on faq and on the archive. grep -r xyz * cannot recurse directories on win89. what could be wrong.. Can't say with the information provided. Try running it under strace and send the results to the list. Make sure you include enough context so that someone looking at the results can determine if and where things go wrong. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: proprietary-use license?
What are the licensing requirements or charges for Cygwin/PostgreSQL? ^^ You are asking for legal advice, please consider if you'd better ask a lawyer. Read http://cygwin.com/licensing.html. Read http://cygwin.com/COPYING. Depending on what you use and how you use it, you might be required to make the source of your application freely available. Red Hat sells a special Cygwin License for customers who are unable to provide their application in open source code form. For more information, please see: http://www.redhat.com/software/tools/cygwin/, or call 866-2REDHAT ext. 3007. kind regards (and I'm not a lawyer ;)) Peter Ring -Original Message- From: Markus Hoenicka [mailto:[EMAIL PROTECTED]] Sent: 12. marts 2002 16:18 To: [EMAIL PROTECTED] Subject: proprietary-use license? Richard, all programs that you mention (MySQL, Cygwin, PostgreSQL) are released under free licenses. You do not have to pay per-seat charges for any of these as long as you do not buy professional support. regards, Markus Richard Chrenko writes: We are a small research institute developing a Java-based solar energy simulation which will be marketed to the renewable energy community. Our program requires multi-platform database functionality which is why PostgreSQL (and MySQL) came to mind. We would like to avoid any per-seat charges such as MySQL requires. What are the licensing requirements or charges for Cygwin/PostgreSQL? -- Markus Hoenicka, PhD UT Houston Medical School Dept. of Integrative Biology and Pharmacology 6431 Fannin MSB4.114 Houston, TX 77030 (713) 500-6313, -7477 (713) 500-7444 (fax) [EMAIL PROTECTED] http://ourworld.compuserve.com/homepages/hoenicka_markus/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: proprietary-use license?
Hi Markus, all programs that you mention (MySQL, Cygwin, PostgreSQL) are released under free licenses. You do not have to pay per-seat charges for any of these as long as you do not buy professional support. this is not generally true for MySQL and Cygwin. Both are only free if you GPL your software too. There are some additional conditions where you might not have to buy a license, but you may have a look at the license information of both products yourself. Regards, Jorg -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: mmap of large amount returns invalid pointer
However, before talking further about this I'd like you to run your below test application again but this time under strace. Could you please send the strace output to this list (it's not that long)? Here is the strace output. ** Program name: c:\mmap.exe (159) App version: 1003.10, api: 0.51 DLL version: 1003.10, api: 0.51 DLL build:2002-02-25 11:14 OS version: Windows NT-4.0 Date/Time:2002-03-12 10:02:03 ** 7637 19265 [main] mmap 159 environ_init: 0xA010420: !C:=C:\WINNT\Profiles\sweeks\Desktop 2224 21489 [main] mmap 159 environ_init: 0xA010450: !Z:=Z:\cygwin\bin 2542 24031 [main] mmap 159 environ_init: 0xA010468: COMPUTERNAME=WINDOZE 2498 26529 [main] mmap 159 environ_init: 0xA010488: COMSPEC=C:\WINNT\system32\cmd.exe 2338 28867 [main] mmap 159 parse_options: binmode 65536 2466 31333 [main] mmap 159 parse_options: ntsec 1 2297 33630 [main] mmap 159 parse_options: tty 1001 2517 36147 [main] mmap 159 parse_options: returning 1180 37327 [main] mmap 159 environ_init: 0xA0104B0: CYGWIN=binmode ntsec tty 2166 39493 [main] mmap 159 getwinenv: can't set native for HOME= since no environ yet 2358 41851 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\home\sweeks, no-keep-rel, no-add-slash) 1392 43243 [main] mmap 159 normalize_win32_path: z:\cygwin\home\sweeks = normalize_win32_path (z:\cygwin\home\sweeks) 2272 45515 [main] mmap 159 mount_info::conv_to_posix_path: /home/sweeks = conv_to_posix_path (z:\cygwin\home\sweeks) 3429 48944 [main] mmap 159 win_env::add_cache: posix /home/sweeks 1132 50076 [main] mmap 159 win_env::add_cache: native HOME=z:\cygwin\home\sweeks 1137 51213 [main] mmap 159 posify: env var converted to HOME=/home/sweeks 2183 53396 [main] mmap 159 environ_init: 0xA010520: HOME=/home/sweeks 2708 56104 [main] mmap 159 environ_init: 0xA010500: HOMEDRIVE=C: 2249 58353 [main] mmap 159 environ_init: 0xA010668: HOMEPATH=\ 2184 60537 [main] mmap 159 environ_init: 0xA010678: LOGONSERVER=\\WINDOZE 2133 62670 [main] mmap 159 environ_init: 0xA010698: MAKE_MODE=unix 2164 64834 [main] mmap 159 environ_init: 0xA0106B0: MANPATH=:/usr/ssl/man 2669 67503 [main] mmap 159 environ_init: 0xA0106D0: NUMBER_OF_PROCESSORS=1 2156 69659 [main] mmap 159 environ_init: 0xA0106F0: OLDPWD=/home/sweeks 2169 71828 [main] mmap 159 environ_init: 0xA010708: OS2LIBPATH=C:\WINNT\system32\os2\dll; 2164 73992 [main] mmap 159 environ_init: 0xA010738: OS=Windows_NT 3044 77036 [main] mmap 159 getwinenv: can't set native for PATH= since no environ yet 2261 79297 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\home\sweeks\bin, keep-rel, no-add-slash) 1177 80474 [main] mmap 159 normalize_win32_path: z:\cygwin\home\sweeks\bin = normalize_win32_path (z:\cygwin\home\sweeks\bin) 1156 81630 [main] mmap 159 mount_info::conv_to_posix_path: /home/sweeks/bin = conv_to_posix_path (z:\cygwin\home\sweeks\bin) 1115 82745 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\sbin, keep-rel, no-add-slash) 1134 83879 [main] mmap 159 normalize_win32_path: z:\cygwin\sbin = normalize_win32_path (z:\cygwin\sbin) 1131 85010 [main] mmap 159 mount_info::conv_to_posix_path: /sbin = conv_to_posix_path (z:\cygwin\sbin) 1606 86616 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\usr\sbin, keep-rel, no-add-slash) 1192 87808 [main] mmap 159 normalize_win32_path: z:\cygwin\usr\sbin = normalize_win32_path (z:\cygwin\usr\sbin) 1142 88950 [main] mmap 159 mount_info::conv_to_posix_path: /usr/sbin = conv_to_posix_path (z:\cygwin\usr\sbin) 1104 90054 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\usr\local\bin, keep-rel, no-add-slash) 1134 91188 [main] mmap 159 normalize_win32_path: z:\cygwin\usr\local\bin = normalize_win32_path (z:\cygwin\usr\local\bin) 1130 92318 [main] mmap 159 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (z:\cygwin\usr\local\bin) 1134 93452 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\bin, keep-rel, no-add-slash) 1396 94848 [main] mmap 159 normalize_win32_path: z:\cygwin\bin = normalize_win32_path (z:\cygwin\bin) 1618 96466 [main] mmap 159 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (z:\cygwin\bin) 1193 97659 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\bin, keep-rel, no-add-slash) 1145 98804 [main] mmap 159 normalize_win32_path: z:\cygwin\bin = normalize_win32_path (z:\cygwin\bin) 1139 99943 [main] mmap 159 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (z:\cygwin\bin) 1132 101075 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT\system32, keep-rel, no-add-slash) 1133 102208 [main] mmap 159
ar: liba2ps.a: rename: Permission denied
When I tried to install a package, I ran into the following problem. ``ar'' does not seem to be working. The original command from make was ar cru .libs/liba2ps.a encoding.o media.o jobs.o output.o routines.o psgen.o prlog.o faces.o confg.o useropt.o gen.o printers.o psstat.o caret.o metaseq.o opt ons.o dsc.o fonts.o ppd.o prange.o stream.o document.o fjobs.o common.o madir.o lexppd.o parseppd.o xmalloc.o xgetcwd.o getopt.o getopt1.o xgethostname.o hashtb.o isdir.o pathconcat.o backupfile.o argmatch.o addext.o basename.o message.o strrpl.o getshline.o pathwalk.o darray.o dstring.o printlen.o pair_ht.o filtdir.o str_ht.o title.o xbackupfile.o getnum.o stpcpy.o stpncpy.o obstack.o error.onmatch.o ar: .libs/liba2ps.a: rename: Permission denied I reduced it to the following and strongly believe it is a problem of ``ar''. zhengx@WNDIRD320 /cygdrive/o/software/a2ps-4.10.4/lib $ ar -cr liba2ps.a media.o ar: liba2ps.a: rename: Permission denied Here is the version information, $ uname -a CYGWIN_NT-4.0 WNDIRD320 1.3.6(0.47/3/2) 2001-12-08 17:02 i686 unknown $ ar --version GNU ar 2.11.92 20011001 $ make --version GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. $ gcc --version 2.95.3-5 Thank you for your response. Feng _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ar: liba2ps.a: rename: Permission denied
At 01:37 PM 3/12/2002, Xiaofeng Zheng wrote: I reduced it to the following and strongly believe it is a problem of ``ar''. zhengx@WNDIRD320 /cygdrive/o/software/a2ps-4.10.4/lib $ ar -cr liba2ps.a media.o ar: liba2ps.a: rename: Permission denied No problems here. This type of problem is usually related to security attributes (i.e. permissions). You might want to review the permissions of the files and directories involved. Looking at the output of this command when run under strace may help you pinpoint the problem if it's not obvious. Sorry, I don't have any other ideas based on the information provided. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: mmap of large amount returns invalid pointer
On Tue, Mar 12, 2002 at 10:08:05AM -0800, Stephen Weeks wrote: However, before talking further about this I'd like you to run your below test application again but this time under strace. Could you please send the strace output to this list (it's not that long)? Here is the strace output. Thanks for the strace. Boy, that's a problem... the mmap() succeeds, the following printf SEGV's as a follow up error. I asked you for the strace to be really sure. The same happens on my box. It's a surprising error raised by a Win32 call. Currently I don't know how to easily avoid that. Hmm. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
error on use
system = win98 Cygwin Package Information Package Version ash 20020131-1 bash2.05a-3 cygwin 1.3.10-1 diff0.0 fileutils 4.1-1 findutils 4.1 gawk3.0.4-1 gdbm1.8.0-4 grep2.5g gzip1.3.2-1 libintl10.10.40-1 libncurses5 5.2-1 libncurses6 5.2-8 libreadline44.1-2 libreadline54.2a-1 login 1.4-3 ncurses 5.2-8 pcre3.7-1 readline4.2a-1 sed 3.02-1 sh-utils2.0-2 tar 1.13.19-1 termcap 20010825-1 terminfo5.2-1 textutils 2.0.21-1 which 1.5-1 zlib1.1.3-7 Use -h to see help about each section Cygwin Win95/NT Configuration Diagnostics Current System Time: Tue Mar 12 17:34:01 2002 Windows 98 SE Ver 4.10 Build Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINDOWS c:\WINDOWS\COMMAND SysDir: C:\WINDOWS\SYSTEM WinDir: C:\WINDOWS HOME = `C:\cygwin\home\root' MAKE_MODE = `unix' PWD = `/home/root' USER = `root' Use `-r' to scan registry a: fd N/AN/A c: hd FAT32 29299Mb 5% CPUN d: cd N/AN/A e: net N/AN/A . /cygdrive userbinmode,noumount C:/cygwin / system binmode C:/cygwin/bin /usr/bin system binmode C:/cygwin/lib /usr/lib system binmode Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Not Found: cpp (good!) Found: C:\cygwin\bin\find.exe Found: c:\WINDOWS\COMMAND\find.exe Not Found: gcc Not Found: gdb Not Found: ld Found: C:\cygwin\bin\ls.exe Not Found: make Found: C:\cygwin\bin\sh.exe 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 20k 2002/01/13 C:\cygwin\bin\cyghistory5.dll 121k 2002/01/13 C:\cygwin\bin\cygreadline5.dll 40k 2001/11/21 C:\cygwin\bin\cygpcre.dll 39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll 50k 2002/01/20 C:\cygwin\bin\cygz.dll 751k 2002/02/25 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.3.10 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 51 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Mon Feb 25 11:14:34 EST 2002 Shared id: cygwin1S3 Cygwin Package Information Package Version ash 20020131-1 bash2.05a-3 cygwin 1.3.10-1 diff0.0 fileutils 4.1-1 findutils 4.1 gawk3.0.4-1 gdbm1.8.0-4 grep2.5g gzip1.3.2-1 libintl10.10.40-1 libncurses5 5.2-1 libncurses6 5.2-8 libreadline44.1-2 libreadline54.2a-1 login 1.4-3 ncurses 5.2-8 pcre3.7-1 readline4.2a-1 sed 3.02-1 sh-utils2.0-2 tar 1.13.19-1 termcap 20010825-1 terminfo5.2-1 textutils 2.0.21-1 which 1.5-1
Re: ar: liba2ps.a: rename: Permission denied
Thank you for all your responses. I figured out a way to solve the problem. Originally I stored all the files on an ancient Next file server. According to a warning message from Matlab, it may have timestamp problems. ``This server appears to support UNIX-style directory timestamp updates.'' Now, I moved the source to a NT file server. And it worked out. Feng From: Larry Hall (RFK Partners, Inc) [EMAIL PROTECTED] To: Xiaofeng Zheng [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: ar: liba2ps.a: rename: Permission denied Date: Tue, 12 Mar 2002 14:16:18 -0500 At 01:37 PM 3/12/2002, Xiaofeng Zheng wrote: I reduced it to the following and strongly believe it is a problem of ``ar''. zhengx@WNDIRD320 /cygdrive/o/software/a2ps-4.10.4/lib $ ar -cr liba2ps.a media.o ar: liba2ps.a: rename: Permission denied No problems here. This type of problem is usually related to security attributes (i.e. permissions). You might want to review the permissions of the files and directories involved. Looking at the output of this command when run under strace may help you pinpoint the problem if it's not obvious. Sorry, I don't have any other ideas based on the information provided. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: error on use
Thanks for emailing the Cygwin psychic hot-line, where we divine all your Cygwin problems without you ever uttering a peep! Now please be quiet for one moment while we attempt to read your mind and answer all your questions ... mysterious music which invokes a cosmic trance ... I'm sorry. It would appear that your mind is off-line at the moment. Please try back again later. But seriously, if you have a question about Cygwin that isn't already answered by available documentation or the email list archives, please send detailed information *as well as the question* to this list. Despite what I said above, we're not mind-readers here. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX At 03:34 PM 3/12/2002, Daciberg wrote: system = win98 Cygwin Package Information Package Version ash 20020131-1 bash2.05a-3 cygwin 1.3.10-1 diff0.0 fileutils 4.1-1 findutils 4.1 gawk3.0.4-1 gdbm1.8.0-4 grep2.5g gzip1.3.2-1 libintl10.10.40-1 libncurses5 5.2-1 libncurses6 5.2-8 libreadline44.1-2 libreadline54.2a-1 login 1.4-3 ncurses 5.2-8 pcre3.7-1 readline4.2a-1 sed 3.02-1 sh-utils2.0-2 tar 1.13.19-1 termcap 20010825-1 terminfo5.2-1 textutils 2.0.21-1 which 1.5-1 zlib1.1.3-7 Use -h to see help about each section Cygwin Win95/NT Configuration Diagnostics Current System Time: Tue Mar 12 17:34:01 2002 Windows 98 SE Ver 4.10 Build Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINDOWS c:\WINDOWS\COMMAND SysDir: C:\WINDOWS\SYSTEM WinDir: C:\WINDOWS HOME = `C:\cygwin\home\root' MAKE_MODE = `unix' PWD = `/home/root' USER = `root' Use `-r' to scan registry a: fd N/AN/A c: hd FAT32 29299Mb 5% CPUN d: cd N/AN/A e: net N/AN/A . /cygdrive userbinmode,noumount C:/cygwin / system binmode C:/cygwin/bin /usr/bin system binmode C:/cygwin/lib /usr/lib system binmode Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Not Found: cpp (good!) Found: C:\cygwin\bin\find.exe Found: c:\WINDOWS\COMMAND\find.exe Not Found: gcc Not Found: gdb Not Found: ld Found: C:\cygwin\bin\ls.exe Not Found: make Found: C:\cygwin\bin\sh.exe 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 20k 2002/01/13 C:\cygwin\bin\cyghistory5.dll 121k 2002/01/13 C:\cygwin\bin\cygreadline5.dll 40k 2001/11/21 C:\cygwin\bin\cygpcre.dll 39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll 50k 2002/01/20 C:\cygwin\bin\cygz.dll 751k 2002/02/25 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.3.10 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 51 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Mon Feb 25 11:14:34 EST 2002 Shared id: cygwin1S3 Cygwin Package Information Package Version ash 20020131-1 bash2.05a-3
Re: Strange behaviour of vpath with dos paths
Soren Andersen wrote: On 28 Feb 2002 at 11:24, Colm Aengus Murphy wrote: Hi Johan, I took a quick look at source code for make 3.79.1-5. It looks to me like vpath.c (build_vpath_lists) does conversion of Win32 paths to posix ones for the VPATH variable but not for vpath. Not being a software programmer I'm not in a position to provide a patch, but maybe someone else could ? Colm A I am not a software programmer either ;-) (irregardless of the apparent assumptions made about me in the past on this List) -- at least not really a C programmer (rather, japh-er) but I will take a look at this and see if I can fix it. Mind you, I wouldn't hold my breath or base my plans for a major product roll-out on my quick success; I have not yet ever tried to build `make' from source, so that's the first and possibly not trivial hurdle. Maybe somebody else will therefore get there before me, but I thought I'd offer you assurance now that at least one pair of eyeballs out here will be looking into this. Luck, Soren Andersen OK, here's some help. I suppose I dare call myself a programmer :), even though I haven't tried creating make from it's sources... In vpath.c lines 103-112 the CygWin specific path conversion is taken care of in the VPATH variable case. In the GPATH variable case (line 138-154), it looks like GPATH is not converted either. This would need some testing, but I suppose GPATH is hardly a regularly used feature... Copying lines 101-114 after line 146 should take care of that omission; the variable 'posixp' has been defines and used previously, but should still be in scope (lines 64-66), so it may be doubly used (unclean, but workable). The vpath directive is processed somwhere else. The only occurrence of the function 'construct_vpath_list' outside of vpath.c (and make.h for a prototype) is read.c In read.c lines 637-656, the directive is processed. And, alas, no CygWin processing of DOS-like paths there. Copying the same lines from vpath.c into read.c after line 652 might be all that's needed, but without actually doing the work+test, it's hard to tell whether everything is in scope. Be sure to define a variable 'posixp' in this case, however. If I find a few free minutes, I'll continue from here, but maybe this is enough input for you already. HTH, Johan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: error on use
You forgot to mention that the first email is free, and each additional email after that is $3.99. And if you need answers right now about your cygwin problem, cygwin psychics are waiting by the phone because they know you are about to call. What are you waiting for? Pick up the phone and call 1-900-1CYGWIN and be amazed when the cygwin psychics see your computer screen through the telephone! Only $1.99 for first 3 minutes, and $3.99 each additional minute. Call now, your future awaits! I called and before I could say hello, they just picked up the phone and said Peter, simply edit job.c in the make source and remove the /bin/sh references, then recompile. We've already sent you a bill in the mail, have a nice day. -Peter, a satisfied cygwin psychic customer Larry Hall (RFK Partners, Inc) wrote: Thanks for emailing the Cygwin psychic hot-line, where we divine all your Cygwin problems without you ever uttering a peep! Now please be quiet for one moment while we attempt to read your mind and answer all your questions ... mysterious music which invokes a cosmic trance ... I'm sorry. It would appear that your mind is off-line at the moment. Please try back again later. But seriously, if you have a question about Cygwin that isn't already answered by available documentation or the email list archives, please send detailed information *as well as the question* to this list. Despite what I said above, we're not mind-readers here. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX At 03:34 PM 3/12/2002, Daciberg wrote: system = win98 Cygwin Package Information Package Version ash 20020131-1 bash2.05a-3 cygwin 1.3.10-1 diff0.0 fileutils 4.1-1 findutils 4.1 gawk3.0.4-1 gdbm1.8.0-4 grep2.5g gzip1.3.2-1 libintl10.10.40-1 libncurses5 5.2-1 libncurses6 5.2-8 libreadline44.1-2 libreadline54.2a-1 login 1.4-3 ncurses 5.2-8 pcre3.7-1 readline4.2a-1 sed 3.02-1 sh-utils2.0-2 tar 1.13.19-1 termcap 20010825-1 terminfo5.2-1 textutils 2.0.21-1 which 1.5-1 zlib1.1.3-7 Use -h to see help about each section Cygwin Win95/NT Configuration Diagnostics Current System Time: Tue Mar 12 17:34:01 2002 Windows 98 SE Ver 4.10 Build Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINDOWS c:\WINDOWS\COMMAND SysDir: C:\WINDOWS\SYSTEM WinDir: C:\WINDOWS HOME = `C:\cygwin\home\root' MAKE_MODE = `unix' PWD = `/home/root' USER = `root' Use `-r' to scan registry a: fd N/AN/A c: hd FAT32 29299Mb 5% CPUN d: cd N/AN/A e: net N/AN/A . /cygdrive userbinmode,noumount C:/cygwin / system binmode C:/cygwin/bin /usr/bin system binmode C:/cygwin/lib /usr/lib system binmode Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Not Found: cpp (good!) Found: C:\cygwin\bin\find.exe Found: c:\WINDOWS\COMMAND\find.exe Not Found: gcc Not Found: gdb Not Found: ld Found: C:\cygwin\bin\ls.exe Not Found: make Found: C:\cygwin\bin\sh.exe 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 20k 2002/01/13 C:\cygwin\bin\cyghistory5.dll 121k 2002/01/13 C:\cygwin\bin\cygreadline5.dll 40k 2001/11/21 C:\cygwin\bin\cygpcre.dll 39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll 50k 2002/01/20 C:\cygwin\bin\cygz.dll 751k 2002/02/25 C:\cygwin\bin\cygwin1.dll
RE: mmap of large amount returns invalid pointer
Hi Stephen and Corinna, looks like you have overlooked that mmap doesn't return NULL despite win32 error in strace (see below): c:\net helpmsg 1455 The paging file is too small for this operation to complete. Second, (may mean nothing) why is h:188 first and h:190 second time? Bye, Heribert ([EMAIL PROTECTED]) -Original Message- From: Stephen Weeks [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 19:08 To: [EMAIL PROTECTED] Subject: Re: mmap of large amount returns invalid pointer [Heribert] [snip] 1668 719099 [main] mmap 159 mmap: addr 0, len 1, prot 3, flags 22, fd -1, off 0 5487 724586 [main] mmap 159 fhandler_disk_file::mmap: 2A23 = MapViewOfFileEx (h:188, access:1, 0, off:0, len:17936, addr:0) 26042 750628 [main] mmap 159 mmap: 2A23 = mmap() succeeded [Heribert] [snip] 1302 2076991 [main] mmap 159 mmap: addr 0, len 13000, prot 3, flags 22, fd -1, off 0 2949 2079940 [main] mmap 159 fhandler_disk_file::mmap: 2A23 = MapViewOfFileEx (h:190, access:1, 0, off:0, len:130023424, addr:0) 7425 2087365 [main] mmap 159 mmap_record::map_map: -1 = map_map (): Win32 error 1455 1830 2089195 [main] mmap 159 mmap: 2A23 = mmap() succeeded [Heribert] [snip] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
cannot open output file a.exe: Permission denied
I was trying to compile a simple multi-file C++ program when i got this error message: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot open output file a.exe: Permission denied collect2: ld returned 1 exit status i moved all the files into a different directory and abracadabra the error message didn't occur. What was happening when i was getting the permission denied error? -ethan __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cannot open output file a.exe: Permission denied
Hi Ethan, is the program still running? A running executable is locked from overwriting by e.g. the linker under most unixes, and when not, I've seen spectacular crashes 8-) Bye, Heribert ([EMAIL PROTECTED]) -Original Message- From: Ethan Mallove [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 23:44 To: [EMAIL PROTECTED] Subject: cannot open output file a.exe: Permission denied I was trying to compile a simple multi-file C++ program when i got this error message: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld : cannot open output file a.exe: Permission denied collect2: ld returned 1 exit status i moved all the files into a different directory and abracadabra the error message didn't occur. What was happening when i was getting the permission denied error? -ethan [Heribert] [snip] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cannot open output file a.exe: Permission denied
At 05:44 PM 3/12/2002, Ethan Mallove wrote: I was trying to compile a simple multi-file C++ program when i got this error message: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot open output file a.exe: Permission denied collect2: ld returned 1 exit status i moved all the files into a different directory and abracadabra the error message didn't occur. What was happening when i was getting the permission denied error? I'm going to guess a permissions problem. Review the email archives/user documentation for more information on this subject. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Project Involvement 3/12/2002
Howdy, I am interested in volunteering to do development or support work with Cygwin projects. I have UNIX and Microsoft development experience, resources and equipment capable of doing this. Been working with Cygwin and its pretty slick. I live in Bloomington MN and am retired but still interested in doing software development or support work from my shop. For me this is fun stuff. How could I go about jumping in and help out? Thanks regards, Reuben Finstrom Phone: 952-835-6550 FAX: 952-830-6973 E-Mail: [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Objective-C support
Hi all, Any chance of enabling the Objective-C compiler in the next gcc release (3.1?) for Cygwin? Particularly I am interested in getting GnuStep to build under Cygwin. If not, why? What are the issues involved? If so, what can I do to help? I've already made a patch to gcc to build 3.1 under Cygwin using the 2.95 compiler (had to make some modifications for line endings and its only in the mainline right now). But I couldn't get C++ or Objective-C to work with the resulting 3.1-beta compiler... Thanks, Chris Meyer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Project Involvement 3/12/2002
- Original Message - From: Reuben Finstrom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 12, 2002 15:18 Subject: Project Involvement 3/12/2002 . . . How could I go about jumping in and help out? http://cygwin.com/contrib.html -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc bug, cygwin specific cygwin-1.3.10-1 gcc-2.95.3-5
hi, i think i have found a bug, either that or i am very stupid. the bug is a gcc bug and it is cygwin specific (cygwin-1.3.10-1 gcc-2.95.3-5) and the following code causes a seg fault: --- int end; int main () { end = 1; return 0; } The global 'end' is a reserved word. It refers to the end of the data area. That means you can't use it as a global variable in your program. reserved for what ? for gcc ? i didn't think end was a reserved word for the C language and i didn't think it is a reserved word for gcc either as it would compile and execute with gcc under non-cygwin (linux) environment. could someone clarify this ? cheers, alex Alex Song DESIGN ENGINEER EDMI Product Development Division [EMAIL PROTECTED] Ph : +61 7 3881 6443 FAX : +61 7 3881 6420 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cannot open output file a.exe: Permission denied
On Tue, Mar 12, 2002 at 05:58:22PM -0500, Larry Hall (RFK Partners, Inc) wrote: At 05:44 PM 3/12/2002, Ethan Mallove wrote: I was trying to compile a simple multi-file C++ program when i got this error message: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot open output file a.exe: Permission denied collect2: ld returned 1 exit status i moved all the files into a different directory and abracadabra the error message didn't occur. What was happening when i was getting the permission denied error? I'm going to guess a permissions problem. Review the email archives/user documentation for more information on this subject. I'm guessing that the user is using a Gould Powerstation as a nfs server and the 220V power isn't really three phase. I can't wait to see which of us is correct. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: mmap of large amount returns invalid pointer
looks like you have overlooked that mmap doesn't return NULL despite win32 error in strace (see below): c:\net helpmsg 1455 The paging file is too small for this operation to complete. Thanks for pointing that out. I agree that it looks like the Cygwin dll is failing to check for the Win32 error, which should have caused mmap to return -1. But even if that is fixed, I don't understand why Cygwin/mmap is unable to obtain the memory. My earlier message showed that at the start of the program the information returned by GlobalMemoryStatus shows that there is easily 300Mb available. TotalPhys: 209113088 AvailPhys: 166580224 TotalPageFile: 309587968 AvailPageFile: 275365888 TotalVirtual: 2147352576 AvailVirtual: 1589841920 I tried a modified version of the program that uses VirtualAlloc/Free instead of mmap/munmap and it is able to allocate, zero, and free 300Mb. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: mmap of large amount returns invalid pointer
On Tue, Mar 12, 2002 at 06:21:15PM -0800, Stephen Weeks wrote: looks like you have overlooked that mmap doesn't return NULL despite win32 error in strace (see below): c:\net helpmsg 1455 The paging file is too small for this operation to complete. Thanks for pointing that out. I agree that it looks like the Cygwin dll is failing to check for the Win32 error, which should have caused mmap to return -1. But even if that is fixed, I don't understand why Cygwin/mmap is unable to obtain the memory. My earlier message showed that at the start of the program the information returned by GlobalMemoryStatus shows that there is easily 300Mb available. TotalPhys: 209113088 AvailPhys: 166580224 TotalPageFile: 309587968 AvailPageFile: 275365888 TotalVirtual: 2147352576 AvailVirtual: 1589841920 I tried a modified version of the program that uses VirtualAlloc/Free instead of mmap/munmap and it is able to allocate, zero, and free 300Mb. Sounds like you should be looking at the cygwin source code. That's the best way to achieve clarity in cases like this. cgf -- Please do not send me personal email with cygwin questions. Use the resources at http://cygwin.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RPM Binary
Hi, Can someone tell me where I can find an RPM binary? === If I am not for myself, Who will I be for? If I am only for myself, What am I? If not now, When? One foot in front of the other. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Windows Compliancy
To whom it may concern, I need written confirmation (an email will suffice) that Cygwin is Windows 2000 and WXP compliant. I have already consulted your 'FAQs' page, however, my company requires a direct email sent by Cygwin to confirm compliance. We are currently upgrading our systems and it is important that I receive confirmation as soon as possible. Thankyou for your help in this matter. Regards, Rebecca Kent (IT Administrator, Rabobank Ltd, Sydney) == De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. == The information contained in this message may be confidential and is intended to be exclusively for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. == -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Windows Compliancy
On Wed, Mar 13, 2002 at 08:39:43AM +0800, Kent, R (Rebecca) wrote: To whom it may concern, I need written confirmation (an email will suffice) that Cygwin is Windows 2000 and WXP compliant. I have already consulted your 'FAQs' page, however, my company requires a direct email sent by Cygwin to confirm compliance. We are currently upgrading our systems and it is important that I receive confirmation as soon as possible. Thankyou for your help in this matter. The cygwin versions that you download from the web are offered as-is without any implied warranty. If you would like official support or communication about functionality, you'll need to purchase cygwin from Red Hat: http://www.redhat.com/software/tools/cygwin/ cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Windows Compliancy
On Wed, Mar 13, 2002 at 08:39:43AM +0800, Kent, R (Rebecca) wrote: To whom it may concern, I need written confirmation (an email will suffice) that Cygwin is Windows 2000 and WXP compliant. I have already consulted your 'FAQs' page, however, my company requires a direct email sent by Cygwin to confirm compliance. We are currently upgrading our systems and it is important that I receive confirmation as soon as possible. Thankyou for your help in this matter. The cygwin versions that you download from the web are offered as-is without any implied warranty. If you would like official support or communication about functionality, you'll need to purchase cygwin from Red Hat: http://www.redhat.com/software/tools/cygwin/ cgf -- Please do not send me personal email with cygwin questions. Use the resources at http://cygwin.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: gcc bug, cygwin specific cygwin-1.3.10-1 gcc-2.95.3-5
The global 'end' is a reserved word. It refers to the end of the data area. That means you can't use it as a global variable in your program. is this reserved word cygwin specific ? or is it a reserved word for all gcc ? thanks for your help. cheers, alex Alex Song DESIGN ENGINEER EDMI Product Development Division [EMAIL PROTECTED] Ph : +61 7 3881 6443 FAX : +61 7 3881 6420 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
ssh to windows (cygwin) host --- shell not a tty?
I can SSH to my cygwin on XP host no problem. I tried to run 'emacs -nw', and got: emacs: standard input is not a tty Um... is this something I can fix? Dave -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc bug, cygwin specific cygwin-1.3.10-1 gcc-2.95.3-5
'end' is not a reserved word, it's a global variable name. In other environments, overwriting it may not cause an immediate disaster, but probably will eventually. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. - Original Message - From: Alex Song [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 12, 2002 19:19 Subject: RE: gcc bug, cygwin specific cygwin-1.3.10-1 gcc-2.95.3-5 The global 'end' is a reserved word. It refers to the end of the data area. That means you can't use it as a global variable in your program. is this reserved word cygwin specific ? or is it a reserved word for all gcc ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: gcc bug, cygwin specific cygwin-1.3.10-1 gcc-2.95.3-5
hi, is end being a global variable specific to the C language (which i doubt) ? to gcc ? to cygwin ? to windows ? or is it ALWAYS the case ? thank you very much for your help. cheers, alex Alex Song DESIGN ENGINEER EDMI Product Development Division [EMAIL PROTECTED] Ph : +61 7 3881 6443 FAX : +61 7 3881 6420 -Original Message- From: Michael A Chase [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 13 March 2002 3:58 PM To: Alex Song; [EMAIL PROTECTED] Subject: Re: gcc bug, cygwin specific cygwin-1.3.10-1 gcc-2.95.3-5 'end' is not a reserved word, it's a global variable name. In other environments, overwriting it may not cause an immediate disaster, but probably will eventually. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. - Original Message - From: Alex Song [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 12, 2002 19:19 Subject: RE: gcc bug, cygwin specific cygwin-1.3.10-1 gcc-2.95.3-5 The global 'end' is a reserved word. It refers to the end of the data area. That means you can't use it as a global variable in your program. is this reserved word cygwin specific ? or is it a reserved word for all gcc ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: mkshortcut debugging problem
Joshua Daniel Franklin wrote: Thanks much, I'll take a look. Sure is easy to read...looks almost like Python. Any progress tracking down this bug? Joshua?? --Chuck (wanting to release cygutils-1.0.0) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Continue command to new line
Howdy all! Is there a way to split up commands issued on the prompt so that they can be spread over more than one line? Thanks! Rob :) :-} ;- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Continue command to new line
Howdy all! Is there a way to split up commands issued on the prompt so that they can be spread over more than one line? Thanks! Rob :) :-} ;- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: mmap of large amount returns invalid pointer
On Tue, Mar 12, 2002 at 11:44:36PM +0100, Heribert Dahms wrote: Hi Stephen and Corinna, looks like you have overlooked that mmap doesn't return NULL despite win32 error in strace (see below): c:\net helpmsg 1455 The paging file is too small for this operation to complete. No, I didn't overlook it, it's exactly what I've been seeing on my machine as well as I mentioned yesterday. If you look into the strace you'll see that MapViewOfFileEx() returns a valid memory area. And no, it does *not* return an error code. MapViewOfFileEx() is reliable enough to not return a memory area and an error code. The failing function is a following VirtualProtect() which job is to set the memory protection on the allocated memory area correctly. And that's actually surprising. VirtualProtect() shouldn't have problems with memory since it doesn't allocate any. At least it shouldn't. But the real problem is that the page file is, well, full after the mmap() call. A following printf is trying to allocate a small amount of memory but allocation fails apparently and at one point a check for a failed malloc() is missing. So the SEGV is actually a followup of the fact that there isn't any memory left to allocate. Second, (may mean nothing) why is h:188 first and h:190 second time? Means nothing. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/