Re: MSYS touch.exe timestamp resolution issue on Wine-1.6

2013-10-13 Thread Peter Rosin
On 2013-10-12 23:28, Alan W. Irwin wrote: > Under MSYS bash.exe if I use the touch command I only get 1-second > resolution when reading the results. > > bash.exe-3.1$ touch touch1.test touch2.test > bash.exe-3.1$ ls --full-time touch*.test > -rw-r--r-- 1 wine 544 0 2013-10-12 13:57:58.0 -

Re: Bug 24018 which appears to be a showstopper for running Cygwin on Wine

2013-07-01 Thread Peter Rosin
On 2013-06-28 23:37, Hin-Tak Leung wrote: > --- On Fri, 28/6/13, Alan W. Irwin wrote: > > ... However, because of the Cygwin fork >> bug, Cygwin on >> Wine has largely been untested for the last three years so >> this could >> be a good opportunity to do such testing for the combination >> of Cyg

Re: [wine-devel] Re: Bug 24018 which appears to be a showstopper for running Cygwin on Wine

2013-07-01 Thread Peter Rosin
On 2013-06-29 18:33, Alan W. Irwin wrote: > Those have been mentioned before here, and I have looked at them. > Cygwin is a very large collection of software so the number of bugs > that are reported does not seem excessive to me, and for my personal > needs (building and testing software on the Cy

Re: [PATCH 2/3] winecoreaudio: Implement the lock-free callback design.

2012-01-31 Thread Peter Rosin
joerg-cyril.hoe...@t-systems.com skrev 2012-01-31 15:23: > Peter Rosin wrote: >>> Of the same vein, one liners like >>> EnterCS >>> This-> playing = StateStopped; >>> LeaveCS >>> are suspicious too. What does that guarantee? >> Per

Re: [PATCH 2/3] winecoreaudio: Implement the lock-free callback design.

2012-01-30 Thread Peter Rosin
joerg-cyril.hoe...@t-systems.com skrev 2012-01-30 18:30: > Of the same vein, one liners like > EnterCS > This-> playing = StateStopped; > LeaveCS > are suspicious too. What does that guarantee? Perhaps that another thread doing as below isn't fooled into calling both one() and three()? EnterCS i

Re: Where is the best place to report a fscanf bug found under wine-1.3.27?

2011-08-30 Thread Peter Rosin
Den 2011-08-30 20:18 skrev David Laight: > On Mon, Aug 29, 2011 at 06:43:41PM -0700, Alan W. Irwin wrote: >> double x; >> while(fscanf(stdin, " %le ", &x) == 1) > > You are using the wrong format, %le is for 'long double', this will > probably overwrite too much data. Nope, you are mistaken a

Re: loader: Build the preloader for ARM

2011-02-04 Thread Peter Rosin
Den 2011-02-04 20:36 skrev Peter Rosin: > Den 2011-02-04 17:41 skrev André Hentschel: >> % and / both lead to external dependencies here... >> maybe the euclidean algorithm helps, because -Os would need ugly changes to >> configure i guess. >> > > Finding gcd

Re: loader: Build the preloader for ARM

2011-02-04 Thread Peter Rosin
Den 2011-02-04 17:41 skrev André Hentschel: > Am 04.02.2011 17:26, schrieb Marcus Meissner: >> On Fri, Feb 04, 2011 at 04:51:46PM +0100, André Hentschel wrote: >>> Am 04.02.2011 16:31, schrieb Alexandre Julliard: André Hentschel writes: > +unsigned int wld_modulo( const unsigned int

Re: [PATCH] ntdll: Increase size of buffer used to read lines of /proc/cpuinfo

2010-11-28 Thread Peter Rosin
Den 2010-11-29 08:36 skrev Peter Rosin: > Den 2010-11-29 01:03 skrev James Eder: >> On 11/26/10 12:15 AM, Damjan Jovanovic wrote: >>> On Fri, Nov 26, 2010 at 6:56 AM, Vitaliy Margolen >>> wrote: >>>> On 11/24/2010 07:19 PM, James McKenzie wrote: >>&g

Re: [PATCH] ntdll: Increase size of buffer used to read lines of /proc/cpuinfo

2010-11-28 Thread Peter Rosin
Den 2010-11-29 01:03 skrev James Eder: > On 11/26/10 12:15 AM, Damjan Jovanovic wrote: >> On Fri, Nov 26, 2010 at 6:56 AM, Vitaliy Margolen >> wrote: >>> On 11/24/2010 07:19 PM, James McKenzie wrote: On 11/24/10 6:56 PM, Vitaliy Margolen wrote: > On 11/24/2010 12:23 PM, jimportal at gmai

Re: [PATCH] winealsa.drv: Count micelem in mixer chans, don't add spare capture input for half-duplex mics.

2010-09-06 Thread Peter Rosin
Den 2010-09-05 11:45 skrev David Laight: > On Wed, Sep 01, 2010 at 05:40:35PM +0200, Alexandre Julliard wrote: >> Jeff Cook writes: >> >>> @@ -520,7 +520,12 @@ static void ALSA_MixerInit(void) >>> } >>> >>> /* Add master channel, uncounted channels and an extra for capture

Re: Verbose explanation about the cygwin issue

2010-03-23 Thread Peter Rosin
Den 2010-03-22 17:47 skrev Steven Edwards: On Sat, Mar 20, 2010 at 2:49 PM, Alexandre Julliard wrote: And what about #ifdef __CYGWIN__ ? It sounds ugly but ... why not ? You can't use #ifdefs in winegcc. I suppose you could try to resolve __wargv dynamically at run-time. I was wondering if

Re: measuring audio latency?

2010-03-09 Thread Peter Rosin
Den 2010-03-09 11:00 skrev Maarten Lankhorst: For example current dsound adds 105 ms or 110ms, depending on whether you use 44100 rate as primary, or 48000. OpenAL will probably use 4 buffers of 1024 samples, which would mean it adds 4096/44100 = 0.90s. I get 0.093s when I do the math... Cheer

Re: [PATCH 1/2] msvcrt: Add test to check if signal(SIGBREAK, ...) works (todo_wine).

2009-12-03 Thread Peter Rosin
Den 2009-12-02 16:35 skrev Charles Davis: You don't get added to AUTHORS until you've hacked on Wine enough. I learned that the hard way when I tried to put my name at the top of an already-existing file. I did a - eeerh couple of (sorry for the noise) - resend w/o touching AUTHORS. I don't re

Re: [2/3] ntdll: don't treat DOS paths starting with / as Unix paths

2009-04-08 Thread Peter Rosin
Hi! [I'm not subscribed, I hope I got the forged in-reply-to header right] Ben Klein wrote: > This is what I meant about magic translation. It *shouldn't* work, but > I'm aware that it does. DOS/Windows uses backslash as the delimiter > when reporting and storing paths. Is the behaviour of magic

Re: [2/3] ntdll: don't treat DOS paths starting with / as Unix paths

2009-04-08 Thread Peter Rosin
Hi! [I just subscribed, I hope I got the forged in-reply-to header right] Ben Klein wrote: > > This is what I meant about magic translation. It *shouldn't* work, but > > I'm aware that it does. DOS/Windows uses backslash as the delimiter > > when reporting and storing paths. Is the behaviour of m

RE: winmm: Sign-compare warning fix (Resend)

2008-12-12 Thread Peter Rosin
> But how would you then fix the sign-compare violation, or > would you just let this one go? If you want it to be more compact: unsigned int i; ... for (i = sizeof(foo) / sizeof(foo[0]) - 1; ~i; --i) Tested? No. Readable? Don't ask me... :-) Cheers, Peter