Re: SHELLOPTS=igncr and bash --posix

2011-12-30 Thread cygwin at sipxx.com
SHELLOPTS is a read-only variable, you are not supposed to set it in bash. No reason to look for bugs when you are using it incorrectly. Dave Korn wrote: On 30/12/2011 12:41, Rafael Kitover wrote: On 12/30/2011 1:06 AM, Dave Korn wrote: On 29/12/2011 21:40, Rafael Kitover wrote:

Re: Incorrect year in date function.

2010-01-04 Thread cygwin at sipxx.com
The function worked quite correctly. %g is the year of the current ISO week number, that week started in 2009, not 2010. use %y if you want the year of the current date. Jacob Jacobson wrote: I am curious as to why this happened. I was at work yesterday and created a file. The name of t

Re: Set root shell prompt in /etc/profile ?

2009-09-05 Thread cygwin at sipxx.com
With all respect to the enthusiasm, but I think hardcoding this in bash is a bad idea. Bash isn't the only type of shell people use, and if you build this into the shell, you have to provide a switch to turn the non-standard behavior off. It is much better handled in profiles. $0.02 Mark J. Re

Re: problems with symbolic links

2009-09-03 Thread cygwin at sipxx.com
This is actually an old known problem that exists with older versions of samba, I know that this works correctly at least since samba 3.0.23d, and I know that, for example, samba 3.0.2 does not. This is still true for cygwin 1.7 which uses a file attribute, rather than the .lnk extension. al

Re: [1.7] On the problems of git and rsync

2009-08-26 Thread cygwin at sipxx.com
Indeed, there are other applications that have failed for me, e.g. cvs. The problem occurs for all applications that perform a dup on a IPv4 network socket. My system is not running any AV or firewalling software and I have even booted the system in diagnostic mode (F8) with networking, without

Re: fcntl bug

2009-08-21 Thread cygwin at sipxx.com
I see, I would concur based on the definition of the error code you quoted. I consulted only my memory just now, since I ran the same general test last week. Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to cygwin at sipxx.com on 8/21/2009 3:56 PM: It does

Re: fcntl bug

2009-08-21 Thread cygwin at sipxx.com
It does reject the argument if the upper bound is reached. On the lower end, the linux man page does not specify that negative numbers are not allowed as arguments. Note, that fcntl is not supposed to be the same as dup2(), i.e., it does NOT duplicate the given fd into the new one specified, bu

Re: Cygwin1.dll 1.7.0-5x: RSYNC failures in close() system call on pipe file descriptors

2009-08-19 Thread cygwin at sipxx.com
Follow-up: I can confirm that your example using rsync to fetch a remote tree also fails on my system. I built a work-around into cygwin1.dll that solves the first failure cases in which socketpair() is involved on a system-wide basis, so individual applications don't have to be patched. The pr

PATCH: Cygwin 1.7 build system, reason: not all Makefiles honor installation into DESTDIR

2009-08-19 Thread cygwin at sipxx.com
When building the cygwin1.dll and associated pieces, it is desirable to use the proper runtime --prefix parameters to 'configure'. After building the tree, one might want to install it into a different base directory than 'prefix' using, e.g., 'make install DESTDIR=/my/own/dest', rather than in