[ANNOUNCEMENT] Updated: diffstat-1.59-1

2014-08-02 Thread Eric Blake (cygwin)
make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin diffstat maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the "List-Unsubscribe: " ta

[ANNOUNCEMENT] Updated [experimental]: coreutils-8.23-1

2014-08-02 Thread Eric Blake (cygwin)
se the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin coreutils package maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:

Re: Simplify AD integration?

2014-07-31 Thread Eric Blake
the shell, and you also cripple tilde expansion. That's why we already ruled out :, \, and / as non-starters, as mentioned elsewhere in this thread. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [PATCH] openat-die: use _Noreturn markup

2014-07-30 Thread Eric Blake
On 07/30/2014 09:53 PM, Eric Blake wrote: > > Meanwhile, './gnulib-tool --test stdnoreturn' is failing on cygwin, so > I'm trying to track down why. > > In file included from /usr/include/stdlib.h:11:0, > from ../../gltests/test-stdnoreturn.c

Re: Simplify AD integration?

2014-07-30 Thread Eric Blake
ange strings when converting between the two forms, rather than just single-character replacement, but it might work. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Simplify AD integration?

2014-07-30 Thread Eric Blake
being unlikely in the middle of a user name). Mid-string is different than leading +. > > 3. Shall we keep the `db_prefix' variability or choose one of >the prefixing methods and stick to it? If so, which one, auto, >primary, or always? No opinion. > > Bonus question: > > 4. Should Cygwin downcase all usernames when generating the Cygwin >username, so, if your Windows username is 'Ralph', your Cygwin >username will be 'ralph'? I kind of like case preservation, but if windows usernames are case-insensitive, I could also live with always downcasing names. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Simplify AD integration?

2014-07-30 Thread Eric Blake
group' is at least reasonable. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Simplify AD integration?

2014-07-30 Thread Eric Blake
binBrUF88cEjA.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message

Re: Simplify AD integration?

2014-07-30 Thread Eric Blake
bin69uSzBU_dV.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message

Re: Cygwin 1.7.31 imminent: Please test latest developer snapshot

2014-07-18 Thread Eric Blake
On 07/18/2014 02:29 AM, Corinna Vinschen wrote: > Bug Fixes > - > > - Fix various assorted bugs (potential buffer overruns, resource leaks, you > name it) catched by Coverity. s/catched/caught/ -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualizati

Re: Too many mailing lists

2014-06-23 Thread Eric Blake
, and it is already usually safe to post to the main list for all but X questions (posting to any of the side lists where you are more likely to be off-topic is where you are most likely to be told to shift the conversation back to the main list). -- Eric Blake eblake redhat com+1-919-301-3

Re: Change PS1 when running as administrator

2014-06-17 Thread Eric Blake
rhaps incorrectly, that \b has been around forever and is > posix. Forever in Linux, but not required by POSIX and not present in BSD (from which Cygwin inherits its regex implementation). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Change PS1 when running as administrator

2014-06-17 Thread Eric Blake
#x27;t use word boundary). Seems like word boundary is needed, but I > couldn't get this to work. Are the regex boundary matchers not > supported by bash =~ operator? bash only supports what the libc regex() supports, and since Cygwin regex() is not as full-featured as glibc regex(), the ans

Re: "cygpath -u" inside backticks differs

2014-06-04 Thread Eric Blake
On 06/04/2014 08:31 AM, J. David Boyd wrote: > Eric Blake writes: > >> >> see why `` is obsolete, and you should be using $()? Among other >> reasons, \ inside `` has weird rules. >> > > Wow, when did this happen? I've been using `` for years, and nev

Re: "cygpath -u" inside backticks differs

2014-06-03 Thread Eric Blake
`` is obsolete, and you should be using $()? Among other reasons, \ inside `` has weird rules. > PS: I am running a fairly recent version of cygwin 1.7.27 ... and I just > checked > it in 1.7.29 Your problem has nothing to do with cygpath, and everything to do with shell quoting rules.

Re: wget-1.15-1 vx wget-1.13-4, LANG and cron

2014-05-13 Thread Eric Blake
gt; a "%20" in the filename. Nothing here is cygwin-specific, as I just built wget from stock upstream. You'll get better response if you take your issues upstream, since I suspect they are reproducible on Linux. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: pinfo configure problem - configure.ac (0/1)

2014-05-13 Thread Eric Blake
DFLAGS/LIBS/ on these lines, before running autoreconf, and that should fix it without you manually having to pass LIBS= at the configure command line. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Update CoreUtils

2014-05-13 Thread Eric Blake
bash. But if you want to post a test package for bash and/or coreutils, I'll at least review your packaging to see if it looks like you preserved all the cygwin-specific patches I already created, before deciding that handing over maintainership makes sense. -- Eric Blake eblake redhat co

Re: pinfo configure problem - configure.ac (0/1)

2014-05-13 Thread Eric Blake
x27;s probably the place that's creating the bogus command line. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Update CoreUtils

2014-05-12 Thread Eric Blake
not very willing to port them to cygwin if they aren't in a shape to push upstream first (particularly since cygwin's wchar_t is a different width than glibc, and therefore the downstream patches for Linux may fail to work on cygwin without a lot of tweaking). -- Eric Blake eblake redhat com

Re: Update CoreUtils

2014-05-12 Thread Eric Blake
es/blob/master/coreutils/PKGBUILD > > Can we get an update? I can create a build if needed. I haven't relinquished maintainership of this package yet. It's still on my list of things to build, when I get a moment (although free time has been a bit sparse as of late with the birth of

Re: snapshot 05/05: ssh segmentation fault within screen

2014-05-06 Thread Eric Blake
m realize their bug, rather than the current state of propagating the broken memory to other processes. Maybe you just memcpy the result out of the cache into local memory, instead of returning a pointer into the actual cygheap cache. -- Eric Blake eblake redhat com+1-919-301-3266 Libvi

Re: cygwin-bash compat/regression bug... startup line prob

2014-05-01 Thread Eric Blake
; That's cygwin-black-magic... converting all /bin paths to /usr/bin...even > shells?... I already explained in the other mail that this is a side-effect of cygwin converting to windows paths and then back during execve shebang computation, rather than preserving the argv[0] of the user. Y

two execve() inconsistencies [was: cygwin-bash compat/regression bug... startup line prob]

2014-05-01 Thread Eric Blake
#x27;/usr/bin/gcc' succeeded, all because the program used argv[0] to construct relative names to resources where /usr/bin/../share exists but /bin/../share does not exist?). So, a patch to cygwin execve() code to preserve the user's original argv[0] spelling would be appreciated. > So why doesn't a single argument work (-u?) Because you didn't pass a single argument, but left trailing space which bash tried to interpret as a second argument, and because no one has yet provided the patch for the two execve() inconsistencies that this thread has uncovered. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: cygwin-bash compat/regression bug... startup line prob

2014-04-30 Thread Eric Blake
On 04/30/2014 11:57 PM, Linda Walsh wrote: > Eric Blake wrote: >> On 04/28/2014 02:43 PM, Linda Walsh wrote: >> >> >> cat bin/t.sh >> > #!/bin/bash -u > Um... it doesn't work with 1 argument either. Your context quoting is hard to follow. Here, you ar

Re: cygwin-bash compat/regression bug... startup line prob

2014-04-28 Thread Eric Blake
" > as the shell, so why does the error come from /usr/bin/bash? the answer to this question. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Cygwin's writev() non-standard behavior

2014-04-23 Thread Eric Blake
", O_WRONLY | O_CREAT, 0666); > memset(&vec, 0, sizeof(vec)); > if (writev(fd, &vec, 0) < 0) POSIX allows, but not requires, writev() to fail with EINVAL when iovcnt is 0. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Cygwin's writev() non-standard behavior

2014-04-23 Thread Eric Blake
urthermore, cygwin should emulate Linux behavior, even if POSIX doesn't define the behavior. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: attention tar maintainer

2014-04-21 Thread Eric Blake
test (1.27-1) should do. Apologies for the delays, but this is now done. Please reply here if any other problems turn up with the new build. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

[ANNOUNCEMENT] Updated: tar-1.27.1-1

2014-04-19 Thread Eric Blake (cygwin)
a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin tar package maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag

Re: request - findutils 4.5.12

2014-04-18 Thread Eric Blake
ys on my end, but this is done now. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: core-dump, cygwin64-only in locate in 4.5.11.1

2014-04-18 Thread Eric Blake
what we need is a new findutils package. > > Eric, any chance for an update any time soon? Does the just-updated 4.5.12-1 fix it, or do I need to look at providing a more recent git snapshot, since upstream doesn't have any newer release? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Updated: findutils-4.5.11-1 [4.5.12-1, actually]

2014-04-18 Thread Eric Blake
On 04/18/2014 03:23 PM, Eric Blake (cygwin) wrote: > A new release of findutils, 4.5.12-1, is available as the current > version, leaving 4.5.11-1 as previous. This is my first build for > 64-bit cygwin (the previous build was provided by others while > bootstrapping that environ

[ANNOUNCEMENT] Updated: findutils-4.5.11-1

2014-04-18 Thread Eric Blake (cygwin)
If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin findutils package maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the &q

[ANNOUNCEMENT] Updated: cvsutils-0.2.6-1

2014-04-17 Thread Eric Blake (cygwin)
his means that you will need to find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin cvsutils pa

[ANNOUNCEMENT] Updated: patchutils-0.3.3-1

2014-04-17 Thread Eric Blake (cygwin)
edhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing

Re: problem reproducing perl-Error build

2014-04-17 Thread Eric Blake
On 04/17/2014 02:13 AM, Achim Gratz wrote: > Eric Blake redhat.com> writes: >> cygwin warning: >> MS-DOS style path detected: \Users\Administrator >> Preferred POSIX equivalent is: /cygdrive/c/Users/Administrator >> CYGWIN environment variable option &qu

problem reproducing perl-Error build

2014-04-16 Thread Eric Blake
eone else (Yaakov?) build the 64-bit package? Why is it not reproducible using self-hosted stock cygwin? 3. Any chance the perl Module::Build shipped in cygwin perl can be bumped to a newer version? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

[ANNOUNCEMENT] Updated: sharutils-4.14-1

2014-04-16 Thread Eric Blake (cygwin)
UESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin sharutils package maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, l

[ANNOUNCEMENT] Updated: wget-1.15-1

2014-04-16 Thread Eric Blake (cygwin)
= If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin wget package maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the "L

Re: wget: needs rebuild for x86

2014-04-15 Thread Eric Blake
u haven't converted wget to cygport yet, feel free to use this as a > head start: > > https://sourceforge.net/p/cygwin-ports/wget Thanks; that was helpful. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Still testing needed: New passwd/group AD/SAM integration

2014-04-10 Thread Eric Blake
ng \. Worse, the thought of using / as the separator gives me the willies - it is BOUND to go wrong. The expression ~a/b/file is NOT requesting 'file' within user 'a/b's home, but 'b/file' within user 'a's home. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Still testing needed: New passwd/group AD/SAM integration

2014-04-10 Thread Eric Blake
POSIX says such names are non-portable (although it doesn't go so far as to completely exclude them). Furthermore, tilde expansion does NOT work for user names with spaces. I've had machines in the past where my windows username had a space; the ability to remap my passwd file to a

Re: long_int vs int byte sizes

2014-04-07 Thread Eric Blake
On 04/07/2014 08:42 AM, Corinna Vinschen wrote: > On Apr 7 08:16, Eric Blake wrote: >> On 04/07/2014 02:47 AM, Corinna Vinschen wrote: >> >>> >>> There's no standard which restricts the sizes of the datatypes in >>> that way. There's only th

Re: long_int vs int byte sizes

2014-04-07 Thread Eric Blake
that). But in general, on most modern porting platforms, 'long' is a redundant type - it will either be equal in size to 'int' (typical for a 32-bit machine) or to a 'long long' (typical for a 64-bit machine); it only mattered on 16-bit machines which are now m

Re: open(O_RDWR) and lseek() fail

2014-03-28 Thread Eric Blake
On 03/28/2014 07:05 AM, Eric Blake wrote: > If you want to use %lld, you have to use C99, not C89; use gcc -std=c99 > or gcc -std=gnu99. By omitting -std, you got gcc's default, which for > now is still -std=c89. Or more precisely: 'gcc' is short for 'gcc -std=gn

Re: open(O_RDWR) and lseek() fail

2014-03-28 Thread Eric Blake
You can't. So drop the -pedantic. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: open(O_RDWR) and lseek() fail

2014-03-27 Thread Eric Blake
t fails because you are missing the prototype for lseeks, which means that the C compiler is trying to call it with 'int offset' instead of 'off_t offset'. Compile with -Wall. > > Whats wrong with cygwin? Rather, fix the bugs in your code, and let the compiler help you.

Re: struct tm problem

2014-03-05 Thread Eric Blake
e we know they use the larger size. New programs cannot run against the old dll, but the new dll is able to handle both old and new apps by virtue of dual entry points. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc De

Re: Change Directory

2014-02-24 Thread Eric Blake
t;/c/my directory name" > cd /c/my\ directory\ name Or use zsh instead of bash (zsh auto-tries concatenating multi-argument names into a single-argument directory containing spaces), or write a bash function for cd that tries 'command cd "$*"' when $# > 1. -- Eric

Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

2014-02-11 Thread Eric Blake
ernames beginning with foo. How would you do that without visiting every single record? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Maintainer for git?

2014-02-11 Thread Eric Blake
how. > > There is a Cygwin maintainer for git, yes. Yes, but we are in the process of swapping who that maintainer is; the next time git packages are pushed will be when the new maintainer is ready to go. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library h

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-17 Thread Eric Blake
On 01/17/2014 01:10 PM, Eric Blake wrote: >> However.. >> >> Do I understand that to say that if the first thing my child does is >> >> fclose(fp); >> >> everything should be hunky-dory? > > No. You have to fix things _in the parent, befo

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-17 Thread Eric Blake
hat's no excuse to not fix your program to not trigger the bug in the first place. > > However.. > > Do I understand that to say that if the first thing my child does is > > fclose(fp); > > everything should be hunky-dory? No. You have to fix things _in the pa

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-17 Thread Eric Blake
mpile and run the test program > with the behavoir I expect.. Rather, FreeBSD and Linux share the same behavior of having intuitive action of not resetting the underlying fd position, but violating POSIX in the process; while Solaris DOES reset the fd and would expose the same undefined behavior in the

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-17 Thread Eric Blake
use _exit() to bypass that implicit fflush, things are a lot nicer. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-17 Thread Eric Blake
to an infloop in the parent, is a result of the bug in the program violating the POSIX constraints on active handle manipulation. > > If the active handle ceases to be accessible before the requirements on the first handle, above, have been met, the state of the open file description becomes und

Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54

2014-01-14 Thread Eric Blake
fined. This might occur during functions such as a fork() or _exit(). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Odd command line recall problem

2013-12-18 Thread Eric Blake
27;. Oh, you wanted to ignore tab? Well, in bash regular expressions, [\t] stands for two characters; if you want to ignore tab, you have to type a literal TAB character instead. > > I'm not sure what all that does. But I don't think it would ignore the tac > command. Like it or

Re: Change in behavior of bash / if [

2013-12-18 Thread Eric Blake
Less likely. But without seeing your entire script, it's hard to say. You haven't given anyone else enough to go on. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Change in behavior of bash / if [

2013-12-17 Thread Eric Blake
uce the same message on Linux; it is not cygwin-specific. > > Let me know if you want/need more information. Without knowing how $1 was set, I can only guess that it contained something with characters in $IFS and therefore the word-splitting of the unquoted use caused too many arguments to [.

Re: I am after Cygwins m4-1.4.17-1 source changes

2013-11-28 Thread Eric Blake
t; > ~~~ > +Build instructions: > + unpack m4-1.4.17-1-src.tar.bz2 Oops. I forgot to update this text to say .xz (now that cygport favors xz instead of bz2). > + cygport m4-1.4.17-1 all > + > +Or use 'cygport m4-1.4.17-1 prep' to get a patched source directory Thes

Re: Please test latest snapshots 2013-11-20

2013-11-23 Thread Eric Blake
Fixes: http://cygwin.com/ml/cygwin/2013-09/msg00397.html -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

[ANNOUNCEMENT] Updated: diffstat-1.58-1

2013-11-23 Thread Eric Blake (cygwin)
find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin diffstat maintaine

Re: [PATCH] tests: don't assume getdtablesize () <= 10000000

2013-09-25 Thread Eric Blake
On 09/25/2013 10:25 AM, Eric Blake wrote: > On 09/25/2013 09:04 AM, Christopher Faylor wrote: >> >> Since you've previously made modifications in this area, why not supply >> a simple patch? > > Ah - the joys of having write access. Yes, I'll post a patch

Re: [PATCH] tests: don't assume getdtablesize () <= 10000000

2013-09-25 Thread Eric Blake
On 09/25/2013 09:04 AM, Christopher Faylor wrote: > > Since you've previously made modifications in this area, why not supply > a simple patch? Ah - the joys of having write access. Yes, I'll post a patch for discussion. -- Eric Blake eblake redhat com+1-9

Re: [PATCH] tests: don't assume getdtablesize () <= 10000000

2013-09-25 Thread Eric Blake
expanding to. */ #define OPEN_MAX_MAX (100 * NOFILE_INCR) My point is that on all other systems, even if the dtable itself dynamically grows, getdtablesize() returns the maximum it can grow to, not its current size. Cygwin's behavior is the odd man out, and is causing grief in the gnuli

[ANNOUNCEMENT] Updated: m4-1.4.17-1

2013-09-24 Thread Eric Blake (cygwin)
arest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin m4 package maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsub

Re: [PATCH] tests: don't assume getdtablesize () <= 10000000

2013-09-24 Thread Eric Blake
eturns a small runtime value. I also wonder whether cygwin's sysconf(_SC_OPEN_MAX) should likewise be modified. (gdb) p getdtablesize() $5 = 256 (gdb) p dup2(0, 256) $6 = 256 (gdb) p getdtablesize() $7 = 288 (gdb) p dup2(0, 3200) $8 = -1 (gdb) p getdtablesize() $9 = 288 (gdb) p dup2(0, 3199) $10

Re: cygpath -m behaviour change

2013-09-18 Thread Eric Blake
tory? 'dirname' does that task, in a much more portable manner, and without having to worry about whether 'file/..' can be abused in spite of POSIX semantics. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

information needed from xdelta users

2013-09-14 Thread Eric Blake
hing before it will even build on 32-bit cygwin, and I'm giving up hope of getting it into 64-bit cygwin). I know recent traffic mentions that pristine-tar needs xdelta; is it just the command-line interface that is needed? https://sourceware.org/ml/cygwin-apps/2013-09/msg00121.html -- Eric Bl

[ANNOUNCEMENT] Updated: cppi-1.18-2

2013-09-14 Thread Eric Blake (cygwin)
date, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin cppi maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:

Re: regex library fails git tests

2013-07-22 Thread Eric Blake
will require input from the C standards committee. There may be some interesting fallout, no matter which solution is finally reached. http://austingroupbugs.net/view.php?id=663 -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [PATCH] Fix optional variables in libargp

2013-07-17 Thread Eric Blake
implementation which appears to be > simpler than i suggested. You should probably submit this patch upstream to bug-gnu...@gnu.org, so that other clients of argp will also be able to benefit from it. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://li

Re: bug in

2013-05-30 Thread Eric Blake
2013 20:02:56 - > @@ -16,7 +16,7 @@ extern "C" { > #endif /* __cplusplus */ > > #include > -#include > +#include Yep, that appears to do the trick for both my STC and the original program. Thanks for hunting down an elegant solution. -- Eric Blake eblake redha

Re: bug in

2013-05-30 Thread Eric Blake
On 05/30/2013 11:37 AM, Eric Blake wrote: > foo.c:9:5: warning: passing argument 2 of 'sendmsg' from incompatible > pointer type > /usr/include/sys/socket.h:42:11: note: expected 'const struct msghdr *' > but argument is of type 'const struct msghdr *

bug in

2013-05-30 Thread Eric Blake
the fix should be, but since I hit the problem today, I'm at least pointing it out. The same test case compiles without needing a workaround on Linux with glibc 2.16. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

[ANNOUNCEMENT] Updated: cppi-1.18-1

2013-04-18 Thread Eric Blake (cygwin)
S: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin cppi maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the "Lis

[ANNOUNCEMENT] Updated: diffstat-1.57-1

2013-04-17 Thread Eric Blake (cygwin)
choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin diffstat maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To

Re: Here-Document execution fails with extra space after closing delimiter

2013-04-03 Thread Eric Blake
r script is due to you using carriage returns in part, but not all, of your file, and even then, you can tell bash to ignore carriage returns on cygwin (it's not on by default for various reasons, but lots of people use that mode to compensate for sloppy habits in editing files). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

[ANNOUNCEMENT] Updated: findutils-4.5.11-1

2013-03-27 Thread Eric Blake (cygwin)
h limitations. This means that you will need to find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer

git requirements [was: cvs changes to support CR/LF in Root & Repository files]

2013-03-25 Thread Eric Blake
ky I read this thread, though, since by the subject I wouldn't have guessed it had anything to do with git. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: windows 7 : files permission problem

2013-03-21 Thread Eric Blake
like as possible by default, and that explicitly changing things is your way of acknowledging that some of the posix expectations are lost in order to gain interoperability with non-free software. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library ht

Re: stat() and tilde prefix (was bad bash tab completion)

2013-02-07 Thread Eric Blake
e checking for symlinks (even though symlinks containing .. are also being interpreted in a non-POSIX manner, it is much more expensive to second-guess if you have to check every name for being a symlink than it is to just check for literal ..). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: sigprocmask issue

2012-12-31 Thread Eric Blake
On 12/31/2012 05:30 PM, Aaron Schneider wrote: > On 01/01/2013 1:18, Eric Blake wrote: >> I'm reporting this now because gnulib unit tests found a failure in >> stock cygwin 1.7.17, but I'm still investigating whether it is a >> regression, and/or whether it has

sigprocmask issue

2012-12-31 Thread Eric Blake
are any pending unblocked signals after the call to sigprocmask(), at least one of those signals shall be delivered before the call to sigprocmask() returns." */ assert (sigint_occurred == 1); return 0; } -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

dup2() dumps core on corner case

2012-12-31 Thread Eric Blake
702 [main] foo 1220 open_stackdumpfile: Dumping stack trace to foo.exe.stackdump Program received signal SIGSEGV, Segmentation fault. 0x610e9407 in dup2 () from /usr/bin/cygwin1.dll Expected results should be a normal failure with EBADF in errno. -- Eric Blake eblake redhat com+1-919-301

Re: argv @-expansion with pathname containing spaces

2012-12-20 Thread Eric Blake
[-a]' can come up with the relative or absolute 8.3 name of any path. But I don't know if that counts as what you were looking for. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [ATTN: Git maintainer] Is there a reason Git package depends on cvs/cvsps ?

2012-12-06 Thread Eric Blake
it package into more subpackages to minimize the dependencies for next time I build it (right now, I'm trying to find the time to refresh the build of several packages, including git, for cygwin). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Emacs crashing on C-x C-g

2012-10-25 Thread Eric Blake
part unceremoniously kills emacs as a result of sending the SIGINT to the entire process group. I hate the behavior, but it is definitely not cygwin-specific. -- Eric Blake ebl...@redhat.com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Cp can't hardlink unqualified wildcard

2012-10-20 Thread Eric Blake
On 10/20/2012 02:34 PM, Lawrence Mayer wrote: > On 121020 12:35, Eric Blake wrote: >> On 10/20/2012 12:50 PM, Lawrence Mayer wrote: >>> Cp can't hardlink unqualified wildcard >>> >>> cp -l * DIRECTORY >>> >>> fails with error 'cp: tar

Re: Cp can't hardlink unqualified wildcard

2012-10-20 Thread Eric Blake
Y Sorry, but that's not what you typed. It helps to show actual examples when claiming you have a bug. -- Eric Blake ebl...@redhat.com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Ln can't hard link into named directory

2012-10-20 Thread Eric Blake
ou are complaining about. However, I suspect that this is not a bug in ln, but a misunderstanding on your part. Cygwin, like Linux, prohibits the creation of hard links to a directory, and POSIX permits this restriction. Just because Solaris chose to allow hard links to a directory does not

Re: Using tar to run backups onto a tape device using cygwin

2012-10-18 Thread Eric Blake
Symbolic name from the Device manager tab. And this is the > command that I used. > > tar -cf \\.\Tape0 /cygdrive/c/StratfordData Isn't that the same as: tar -cf '\.Tape0' /cygdrive/c/StratfordData Are you sure you are using backslash correctly in your command? -- Er

[ANNOUNCEMENT] Updated: tar-1.26-1

2012-09-24 Thread Eric Blake (cygwin)
ds from cygwin.com aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing l

Re: [ANNOUNCEMENT] Updated: tar-1.25-1

2012-09-24 Thread Eric Blake
On 09/22/2012 12:15 PM, Charles Wilson wrote: > On 9/21/2012 7:35 PM, Eric Blake (cygwin) wrote: >> A new release of tar, 1.26-1, is available, leaving 1.25-1 as the > > Announcement title is incorrect. Should you re-send so that folks > searching the subject lines in the ann

[ANNOUNCEMENT] Updated: tar-1.25-1

2012-09-21 Thread Eric Blake (cygwin)
that you will need to find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. -- Eric Blake volunteer cygwin tar

Re: bash output: ./configure: line 16: $'\r': command not found

2012-09-19 Thread Eric Blake
from within bash, but you can set it before invoking bash; once in bash, it auto-tracks the current state of 'set -o igncr'. If exported, then all bash child processes inherit the same option settings; with the exception added in 3.2.9-11 that certain interactive options are not inheri

Re: /etc/profile

2012-08-21 Thread Eric Blake
On 08/21/2012 09:56 AM, Achim Gratz wrote: > Eric Blake writes: >> Sorry, POSIX requires that to leave LC_ALL set after the function >> call, > > Interesting. Where is that specified? http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_0

Re: /etc/profile

2012-08-21 Thread Eric Blake
which is not what you want (bash behaves differently according to whether it was started as bash or sh). $ ksh -c 'foo=bar; blah() { :; }; foo=baz blah; echo $foo' baz $ bash -c 'foo=bar; blah() { :; }; foo=baz blah; echo $foo' bar $ sh -c 'foo=bar; blah() { :; }; foo=baz

<    1   2   3   4   5   6   7   8   9   10   >