Re: JPEG parameter struct mismatch

2008-04-12 Thread Charles Wilson
w1hkj wrote: JPEG parameter struct mismatch: library thinks size is 376, caller expects 360. Testing the struct in question, "jpeg_compress_struct" with a sizeof give the value 360. The cygwin jpeg includes the so-called "lossless jpeg" patch. This patch changes the *private* portion of the

JPEG parameter struct mismatch

2008-04-12 Thread w1hkj
I have a fairly simple image to save in jpeg format. The code works correctly in native Linux and also compiles and works correctly under MinGW. When I try the same build in Cygwin the program crashes with the following libjpeg message: JPEG parameter struct mismatch: library thinks size is

Re: How do I run sshd as a particular user?

2008-04-12 Thread Robert McKay
On Sat, Apr 12, 2008 at 10:06 AM, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Apr 12 01:11, Robert McKay wrote: > > In order to run sshd as an unprivileged user I had to use a nasty > > hexedit hack on the sshd.exe file to replace the seteuid() call (which > > fails / returns -1 without adm

Re: [ANNOUNCEMENT] Updated: coreutils-6.10-1

2008-04-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding bug-coreutils] According to Corinna Vinschen on 4/11/2008 11:10 AM: | | I think I just found a bug in ls(1) from the latest coreutils 6-10-1. | | | I have a custom LS_COLORS setting: | | $ echo $LS_COLORS | ex=1;31:ln=5;32:di=1;34 | | Non

Erroneous Disk Full - Incorrect Used and Available

2008-04-12 Thread leonv
On one of my systems, I am suddenly experiencing problems with disk full errors. The system has a 370 gig hard drive with 350 gigs free. The df command output is below. The used does not come close to the size of the disk, but available is zero (0). (the s drive is a mapped network drive of t

RE: Embedded packaging of cygwin without installation

2008-04-12 Thread Hans Kaiser
> > [Good ol' licensing fine print removed] > > >> For me it would be okay, if I could detect if there is a installed cygwin > >> with my needed utils (bash, grep, sed, awk, read...) > >> For now my only idea was to package it with my distribution. > >> So here my new suggestion: > >> 1.is cygw

Re: cygwin1.dll replica's?

2008-04-12 Thread Michael Kairys
I have it happen to me that something puts a cygwin dll in my system dir and sets it hidden and/or system. Go to your windows dir in a command prompt and say "attrib cygwin1.dll /s" "Affan Ahmed" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] So here is the deal, I am trying to r

Re: using rsync with Win32/UNC pathnames?

2008-04-12 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 12 12:02, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: And what's the actual filename? The actual filename is: 1.doc But I guess it doesn't help much. What's the wchar hex code value of that character? Hmm, I don't know. Is there some obvious way t

Re: using rsync with Win32/UNC pathnames?

2008-04-12 Thread Corinna Vinschen
On Apr 12 12:02, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: >> And what's the actual filename? > > The actual filename is: > > 1.doc > > But I guess it doesn't help much. What's the wchar hex code value of that character? Corinna -- Corinna Vinschen Please, send mails

Re: using rsync with Win32/UNC pathnames?

2008-04-12 Thread Tomasz Chmielewski
Corinna Vinschen schrieb: On Apr 11 19:06, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: On Apr 11 18:04, Tomasz Chmielewski wrote: Corinna Vinschen schrieb: utf-8 is supposed to be able to convert all wide chars to a multibyte sequence. If it's *not* the above server-side problem, we

Re: using rsync with Win32/UNC pathnames?

2008-04-12 Thread Tomasz Chmielewski
Charles Wilson schrieb: Tomasz Chmielewski wrote: If you want, download http://wpkg.org/test.7z You will need 7zip to extract it (or something compatible). Such as the cygwin p7zip program, or the native programs distributed by the upstream 7zip project (google...) However, be warning: 7zi

Re: Distribution of cygwin (free and commercial)

2008-04-12 Thread Reini Urban
2008/4/11, Hans Kaiser <[EMAIL PROTECTED]>: > I have read the "FAQ suggestion", and I wanted to open a new thread about > the possible distribution of cygwin. (I cannot access the old thread) > > Before I start, I want you to check what happened to Eclipse, KDE, Gnome, > 7-zip and so on. Really

Re: How do I run sshd as a particular user?

2008-04-12 Thread Corinna Vinschen
On Apr 12 01:11, Robert McKay wrote: > In order to run sshd as an unprivileged user I had to use a nasty > hexedit hack on the sshd.exe file to replace the seteuid() call (which > fails / returns -1 without admin privileges and causes sshd to exit) > with a call to isalpha() which has (almost) the

Re: Embedded packaging of cygwin without installation

2008-04-12 Thread Corinna Vinschen
On Apr 11 22:31, Charles Wilson wrote: > [Good ol' licensing fine print removed] >> For me it would be okay, if I could detect if there is a installed cygwin >> with my needed utils (bash, grep, sed, awk, read...) >> For now my only idea was to package it with my distribution. >> So here my new s

Re: using rsync with Win32/UNC pathnames?

2008-04-12 Thread Corinna Vinschen
On Apr 11 20:47, Charles Wilson wrote: > Tomasz Chmielewski wrote: >> If you want, download http://wpkg.org/test.7z >> You will need 7zip to extract it (or something compatible). > > Such as the cygwin p7zip program, or the native programs distributed by the > upstream 7zip project (google...) > >

Re: using rsync with Win32/UNC pathnames?

2008-04-12 Thread Corinna Vinschen
On Apr 11 19:06, Tomasz Chmielewski wrote: > Corinna Vinschen schrieb: >> On Apr 11 18:04, Tomasz Chmielewski wrote: >>> Corinna Vinschen schrieb: utf-8 is supposed to be able to convert all wide chars to a multibyte sequence. If it's *not* the above server-side problem, we would need a