RE: Problem with Text mounts after updating using setup.exe

2007-08-20 Thread Bart van der Werf
 
Could someone confirm this is introduced in grep-2.5.1a-4, grep-2.5.1a-2
seems to be good?

Greets, Bart


> -Original Message-
> From: Bart van der Werf
> Sent: Wednesday, August 15, 2007 10:44 AM
> To: cygwin@cygwin.com
> Subject: Problem with Text mounts after updating using setup.exe
> 
> After upgrading cygwin some of my textmode mount files 
> started to have additional 0x0d characters.
>  
> Example of problem.
>  
> With a file test.txt
>  
> $ od -t x1 test.txt
> 000 61 0d 0a 62 0d 0a 63 0d 0a
> 011
>  
> with dos style newlines.
>  
> $ grep a test.txt > test2.txt
>  
> If i invoke grep on this file, i get the problem that it 
> duplicates the 0x0d 
>  
> $ od -t x1 test2.txt
> 000 61 0d 0d 0a
> 004
>  
> I started getting this problem after running setup.exe this week.
>  
> The version of cygwin before the upgrade was atleast a year old.
>  
> What should i do ?
> Do i need to provide additional information ?
>  
> I wouldn't expect an additional 0x0d even if the mount was in binmode.
>  
> greeting Bart van der Werf
> 

--
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: Problem with Text mounts after updating using setup.exe

2007-08-15 Thread Bart van der Werf
 

> From: Igor Peshansky
> On Wed, 15 Aug 2007, Bart van der Werf wrote:
> 
> > After upgrading cygwin some of my textmode mount files 
> started to have 
> > additional 0x0d characters.
> 
> You won't get them on a binmode mount.  Looks like grep opens 
> the input and output in binmode.  The shell redirection opens 
> the output in the mode of the mount where the output is to be 
> placed.  Thus, grep prints out the full input string 
> (including the CR) and the shell happily prepends another CR 
> to the LF.
> 
> A workaround would be to put the output file on a binmode 
> mount.  Another thing that *might* work is using input 
> redirection as well as output (i.e., "grep a < test.txt > test2.txt").
> 
> FWIW, I can't reproduce this with grep-2.5.1a-2, which means 
> this behavior was introduced in -4.
> HTH,
>   Igor

Hi Igor

Yes i'm using -4

I can't figure out how to get to an older version to see if this
localizes the problem, hints ?

I prefer not to have to add workarounds, this problem is visible in the
department buildtools, a rather large set of hundreds of make scripts,
luckily must users haven't upgraded yet.

If someone else could confirm it would help with making a bit more
formal bugreport if someone is intrested.

Greets, Bart


--
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/



Problem with Text mounts after updating using setup.exe

2007-08-15 Thread Bart van der Werf
After upgrading cygwin some of my textmode mount files started to have
additional 0x0d characters.
 
Example of problem.
 
With a file test.txt
 
$ od -t x1 test.txt
000 61 0d 0a 62 0d 0a 63 0d 0a
011
 
with dos style newlines.
 
$ grep a test.txt > test2.txt
 
If i invoke grep on this file, i get the problem that it duplicates the
0x0d 
 
$ od -t x1 test2.txt
000 61 0d 0d 0a
004
 
I started getting this problem after running setup.exe this week.
 
The version of cygwin before the upgrade was atleast a year old.
 
What should i do ?
Do i need to provide additional information ?
 
I wouldn't expect an additional 0x0d even if the mount was in binmode.
 
greeting Bart van der Werf


cygcheck.out
Description: cygcheck.out
--
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: Most recent sshd doesnt accept sessions (known issue)

2004-08-23 Thread Bart van der Werf \(Bluelive\)

> > I updated all of cygwin and rebooted, now i cant login to the sshd
> > service anymore.
>
> http://www.cygwin.com/ml/cygwin-announce/2004-08/msg00031.html

i decided to downgrade because i cant find what that -r flag actually
does





--
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/



Most recent sshd doesnt accept sessions (known issue)

2004-08-23 Thread Bart van der Werf \(Bluelive\)
Ive been using sshd on windows using cygwin for a year now with success
(altough i do need to copy a bit of registery info after every update
because it doesnot do the path mounts correctly for the service)

I updated all of cygwin and rebooted, now i cant login to the sshd
service anymore.

I saw this post so i guess ill just downgrade for now
http://sources.redhat.com/ml/cygwin/2004-08/msg00625.html

In the syslog i find:

The description for Event ID ( 0 ) in Source ( sshd ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be
able to use the /AUXSOURCE= flag to retrieve this description; see Help
and Support for details. The following information is part of the event:
sshd : PID 652 : syslogin_perform_logout: logout() returned an error.

I guess only the last bit is intresting, any tips on what to do ?

I partily suspect XP-SP2 but it worked with SP2 before i did a full
cygwin update.

grtz, Bart



--
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/



G++ seems broken

2004-06-03 Thread Bart van der Werf \(Bluelive\)
#include 

int main() {
   vector quux;
   return 0;
}

g++ test.cpp
test.cpp: In function `int main()':
test.cpp:4: error: `vector' undeclared (first use this function)
test.cpp:4: error: (Each undeclared identifier is reported only once for
each
   function it appears in.)
test.cpp:4: error: syntax error before `>' token

i validated this on another machine also.

Im running a full install of cygwin that i updated today.
Running on WinXP, i have free diskpace and more such things so that
doesnt seem to be the issue.

grtz, Bart



--
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/



setup.exe and source-only packages

2004-04-29 Thread Bart van der Werf \(Bluelive\)

Setup reports all source-only packages as not installed when I run setup
when I did install them the the last time I ran setup.exe, version numbers
havent changed.


--

Bart van der Werf (Bluelive)
http://pluk.sf.net/
irc://irc.freenode.org/pluk



--
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/



LGPL

2004-04-20 Thread Bart van der Werf \(Bluelive\)
Will the cygwin.dll become LGPL at one time in the future?
The viral GPL clause really makes me not want to use it with my BSD
licensed application.

Grtz, Bart



--
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/



Problem when compiling signal.h in GCC with strict ISO C options turned on

2004-03-12 Thread Bart van der Werf \(Bluelive\)
I get this message a few times when I use gcc with strict settings.
On my own installation I gave the unnamed structs and unions an name and
this seemed to resolve this.
Although this doesn't do more then generate a warning when using a very
strict c compiler it should be resolved i think :)

Message:
/usr/include/cygwin/signal.h:48: error: ISO C doesn't support unnamed
structs/unions

gcc flags:
-ggdb -ansi -W -Wall -Werror -pedantic-errors -O2 -Wformat=2 -Wno-unused
-DPOSIX -DPOSIX_SOURCE

Grtz, Bart van der Werf



--
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/