Re: cygwin Nightly Snapshots

2004-06-07 Thread David Fritz
Cygwin: You'll get women in no-time. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: libiberty and getopt

2004-04-29 Thread David Fritz
bertrand marquis wrote: Hi again, i just find the solution to my problem in fact it seems that adding: extern int optind; extern char *optarg; solve the problem. The compiler then auto-import these variables and it is working after. This problem doesn't seem to exist under linux but it co

Re: working sync() code

2004-04-10 Thread David Fritz
GARY VANSICKLE wrote: [snip] SUSv3 has this to say about sync(): The sync() function shall cause all information in memory that updates file systems to be scheduled for writing out to all file systems. The writing, although scheduled, is not necessarily complete upon return from sync(). "sched

Re: working sync() code

2004-04-10 Thread David Fritz
GARY VANSICKLE wrote: [...] FlushFileBuffers() doesn't actually do much last I checked. Despite its misleading name, it is not a "commit-to-disk-and-don't-return-until-its-done" [...] SUSv3 has this to say about sync(): The sync() function shall cause all information in memory that updates fil

Re: Bogus assumption prevents d2u/u2d/conv/etal working on mixed files.

2004-04-04 Thread David Fritz
rable*, then why not implement it in a more robust manner and inform the user rather than silently skipping "binary" files. Hannu E K Nevalainen wrote: From: David Fritz Sent: Sunday, April 04, 2004 6:46 AM Charles Wilson wrote: [...] (2) it's an attempt to prevent users from p

Re: Bogus assumption prevents d2u/u2d/conv/etal working on mixed files.

2004-04-03 Thread David Fritz
Charles Wilson wrote: [...] (2) it's an attempt to prevent users from permanently scrogging binary files. See: d2u, on a binary file, is an irreversible operation. So, if you do "d2u *" you'll probably kill something deep inside some binary file, and you can't fix it -- unless some minimal s

Re: popups upon library errors.

2004-03-27 Thread David Fritz
[EMAIL PROTECTED] wrote: Can you take a screenshot of the dialog box and either post a URL for it, or send it to me directly (I imagine this mailing list doesn't want largish attachments cluttering up everyone's inbox)? In latter versions of Windows when you press Ctrl+C while a standard message b

Re: Known feature?

2004-02-16 Thread David Fritz
Corinna Vinschen wrote: On Feb 15 15:11, linda w wrote: I decided to trace a 3 day long running process (the dd/bzip program) that was nearing completion (had a couple hundred meg to go), and much to my chagrin, when I wanted to stop tracing, I pressed control-c -- and unlike the behavior I'm

Re: strace hacks

2004-02-10 Thread David Fritz
Right. Because mucking about with the environment much more elegant than adding '+' to the beginning of the short option string. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/do

strace hacks

2004-02-10 Thread David Fritz
Two questions: 1. Is getopt the only code that modifies its behavior when POSIXLY_CORRECT is defined? 2. Do child processes (normally) inherit their environment from their parent? Again, I will point out that a patch I posted two months ago will fix this (correctly). -- Unsubscribe info:

strace is broken (again) in CVS

2004-02-10 Thread David Fritz
With a recent CVS build: $ strace echo hello -z strace: unknown option -- z Try 'strace --help' for more information. I posted a patch two months ago that will fix this: http://sources.redhat.com/ml/cygwin-patches/2003-q4/msg00223.html Danny Smith recently reverted /src/winsup/mingw/mingwex/geto

Re: libiberty.a and getopt problem

2004-02-02 Thread David Fritz
The opt* variables are declared __declspec(dllimport) in Cygwin's headers. So when you're program refers to optarg after having included Cygwin's (or ), the symbol your program links to is called __imp__optarg. Presumably, the opt* variables were not declared dllimport when libiberty was compi

Re: deleting a file ending with a dot

2004-01-16 Thread David Fritz
David T-G wrote: [Does anyone know why this thread is showing up in my inbox instead of being properly filtered? Has there been a list address change?] Do you have your filters set to recognize both [EMAIL PROTECTED] and [EMAIL PROTECTED] Both addresses get to this list. HTH -- Unsubscribe info

Re: enable argument permutation by default for getopt_long() and not getopt() [PATCH] (was Re: getopt() musings)

2003-12-15 Thread David Fritz
David Fritz wrote: I have moved this discussion to cygwin-patches as it seemed appropriate. Oops. I meant to anyway. Sorry. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com

enable argument permutation by default for getopt_long() and not getopt() [PATCH] (was Re: getopt() musings)

2003-12-15 Thread David Fritz
dynamically linked to cygwin1.dll's getopt(): cal.exe col.exe column.exe ipcs.exe lpr.exe mcookie.exe namei.exe readlink.exe rev.exe whois.exe and likewise for getopt_long(): cygpath.exe fc-cache.exe fc-list.exe file.exe getfacl.exe getopt.exe kill.exe mkgroup.exe mkpasswd.exe mount.exe passwd.exe ps