Nick, please refer to:
"How is the DOS/Unix CR/LF thing handled?" in the cygwin faq:
http://cygwin.com/faq/faq_4.html#SEC72
Also, read the documentation for the "mount" utility and the CYGWIN
environment variable setting.
If you want to make sure that the input to your "cpp" is translated no
ma
an example of a utility that *doesn't* use O_TEXT, and still handles
all styles of line terminations gracefully. At least in principle.
Dan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Kris Warkentin
Sent: Tuesday, October 01, 2002 10:26 PM
To: Dan Vasa
Jie,
LIBCMT is the Microsoft implementation of the C runtime, and is compiled
using the microsoft c compiler. CYGWIN is another implementation of the a
unix-style C runtime, and the two of them don't mix.
The _beginthread and _endthread calls are Microsoft specific extensions to
the C standard;
Mark,
As Chris suggested, if you want consistent behaviour under cygwin, always
open text files in text mode (O_TEXT or "rt").
Even better, wrt portability to Unix platforms, is to:
1. open the file in binary mode
2. be prepared to accept both CRLF- and LF-style text files (i.e. strip the
CR you
at 12:09:35AM +0200, Dan Vasaru wrote:
>Mark,
>
>As Chris suggested, if you want consistent behaviour under cygwin, always
>open text files in text mode (O_TEXT or "rt").
>Even better, wrt portability to Unix platforms, is to:
>
>1. open the file in binary mode
>
What happened to protoize & unprotoize ? They used to be in gcc-2.95-3-5,
but they are nowhere to be found in the new gcc/gcc2:
It was there:
http://cygwin.com/cgi-bin2/package-cat.cgi?file=gcc/gcc-2.95.3-5&grep=protoi
ze
But they are neither here
http://cygwin.com/cgi-bin2/package-cat.cgi?file
Christopher,
Could you please include protoize and unprotoize in the binary distribution
?
They were included in 2.95.3-5 but vanished from both 3.2 and 2.95.3-10.
Or maybe they are deprecated ?
Thank you,
Dan
-Original Message-
From: [EMAIL PROTECTED] [mailto:cygwin-owner@;cygwi
Graham,
If you insist that each developer runs AV software on it's development
platform, you could consider setting up a separate box (without antivirus
software) with ssh access for performing your builds. Throw in a few network
shares, and a smart home directory mapping, and the developers will
dan > Seriously, aren't your developers local administrators ? In that case,
they
dan > could easily disable the AV.
Igor >I'm of half a mind to set up an ssh server just to be able to su to
local
Igor >system and kill it. But for now I live with it.
Igor,
Try installing the PSTOOLS package fr
Brandon,
I don't see the problem on my w2k system :
~$ssh dan@localhost
.
Fanfare!!!
You are successfully logged in to this server!!!
~$cscript.exe
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Usage: CScript scriptname.ext
Problem:
The mount -u command fails if a domain user's registry hive is not
downloaded from the domain controller and no local hive cache exists.
Solution:
Change cygwin1.dll/mount to
1. store mount information under HKLM/CYGWIN/MOUNTS/{USER-SID}, or
2. let mount succeed without persisting the
> On the user mount in HKLM idea, it's a no-goer. Normal users don't
> have write access to most of HKLM, on any partly-secure install
> of NT (which is where the original posters issue arose).
I may be wrong, but couldn't setup, or whoever creates the original
HKLM/../cygwin key, set up the se
neous users. But we'll
go with it while waiting for a better mount.
Thanks, Dan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Robert Collins
Sent: Friday, September 27, 2002 4:28 PM
To: Dan Vasaru
Cc: [EMAIL PROTECTED]
Subject: RE: [Proposal] Moving
Robert,
>FWIW the HKLM user mounts would have the same security
>ramification (which is why it's not a generically viable solution).
True, but one could fine-tune access rights to "HKLM/Software/Cygwin" such
that:
1) All users have "Create subkey" permission in "HKLM/./Cygwin/Users".
2) All
14 matches
Mail list logo