BobSacamano wrote:
I have some C code that uses Unix API functions that I would like to use in a
.NET program I am building.
Is it possiable to compile the code (?with Cygwin?) to a dll and then import
the dll into .NET?
If so, do you have any advice or resources that could help me?
There are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Pedro Izecksohn on 2/7/2008 9:01 PM:
| struct stat member st_mode is wrongly being set by the stat function to
| regular file instead of to symlink.
Huh? stat is SUPPOSED to dereference symlinks. Use lstat if you want
st_mode to repo
struct stat member st_mode is wrongly being set by the stat function to
regular file instead of to symlink.
I packed a test for download:
http://www.izecksohn.com/pedro/c/statbug/statbug.tar.gz
To use it:
tar -xzvf statbug.tar.gz
make
My configuration:
bash-3.2$ uname -a
CYGWIN_N
I have some C code that uses Unix API functions that I would like to use in a
.NET program I am building.
Is it possiable to compile the code (?with Cygwin?) to a dll and then import
the dll into .NET?
If so, do you have any advice or resources that could help me?
--
View this message in context
"Dave Korn" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 07 February 2008 00:22, Matt Seitz wrote:
>
>> "Dave Korn" wrote in message
>> news:[EMAIL PROTECTED]
>
> I did?! It was email when *I* last saw it!
>
Sorry for any confusion. I'm using the GMane mail to nntp gateway
Dave Korn wrote:
Out of curiosity, what's the problem with just using popen("...") always?
I get the feeling you're working up to telling me something I don't want
to hear, but I shall carry on regardless... :)
[_]popen is fine if you want to execute a process and either just get
its std
Sure
you will have it on Sunday
On 2/7/08, Corinna Vinschen <[EMAIL PROTECTED]> wrote:
> On Feb 7 19:07, doron cs wrote:
> > [OCFS]
> > I have found No hits on Oracle or on cygwin
> > Has anyone encountered the issue ?
> > Can anyone follow up ?
>
> None of the base developers of Cygwin has acce
The atool package is now available in the Cygwin distribution. atool is a
script for managing file archives of various types (tar, tar+gzip, zip, bzip2,
rar, 7zip, ...). atool is called under several names:
* aunpack extracts files from an archive. It overcomes the dreaded
"multiple files in arc
On 07 February 2008 18:25, Paul Leder wrote:
> Dave Korn wrote:
>
>> Out of curiosity, what's the problem with just using system("...")
>> always?
>
> I can't, because I need to redirect child I/O onto a socket, which
> requires CreateProcess. The Unix code is (relatively) easy, but it's a
>
Dave Korn wrote:
Out of curiosity, what's the problem with just using system("...") always?
I can't, because I need to redirect child I/O onto a socket, which
requires CreateProcess. The Unix code is (relatively) easy, but it's a
complete nightmare in Windoze. You have to use pipes as well
On Feb 7 19:07, doron cs wrote:
> [OCFS]
> I have found No hits on Oracle or on cygwin
> Has anyone encountered the issue ?
> Can anyone follow up ?
None of the base developers of Cygwin has access to an OCFS file system.
To get this working in future Cygwin releases, we need somebody (you?)
for
On Feb 7 17:51, Dave Korn wrote:
> On 07 February 2008 16:16, Corinna Vinschen wrote:
> > It's not about speed, it's about problems with Samba remote shares.
>
> Oh, thanks for the correction :)
>
> > smbntsec doesn't work well with Samba if you don't run an integrated
> > domain environment w
On 07 February 2008 17:51, Paul Leder wrote:
> Hmm. I think you're right; I need to give up looking for a robust way to
> do this. I think I'll:
>
> if(
> (system(uname) looks sane) &&
> (system(cygpath -m /bin/sh) returns success))
> use CreateProcess with /bin/sh path returned by
On 07 February 2008 16:16, Corinna Vinschen wrote:
> On Feb 7 14:46, Dave Korn wrote:
>> On 06 February 2008 15:48, Alfred von Campe wrote:
>>> On Feb 6, 2008, at 9:55, Dave Korn wrote:
>>>
How do the perms on /home/av16209/.ssh/* look? How do they look with
CYGWIN=smbntsec?
>>>
>>
Hmm. I think you're right; I need to give up looking for a robust way to
do this. I think I'll:
if(
(system(uname) looks sane) &&
(system(cygpath -m /bin/sh) returns success))
use CreateProcess with /bin/sh path returned by cygpath;
else
use CreateProcess with cmd.exe /c
And I'
On 2008-02-07 16:28Z, Paul Leder wrote:
>
> [...] I've written an app which runs on Linux and
> "Windows". Most of the time on "Windows", it's probably going to be
> running on Cygwin/bash. However, there's always going to be someone who
> runs it in a DOS box.
>
> So, my problem is, how do I
Hi all .
I wish to report a problem concerning Cygwin OCFS support.
I have installed Oracle Clusterware on 2 windows 2003 machined
connected to a shared storage .
Using that configuration I am protecting a single instance Oracle 11g Database .
I use a great deal of Cygwin based scripts to maintain
Phil Betts wrote:
Just export the variables you want. That's the whole point of the
export command.
They're not my variables. I've written an app which runs on Linux and
"Windows". Most of the time on "Windows", it's probably going to be
running on Cygwin/bash. However, there's always going
On Feb 7 14:46, Dave Korn wrote:
> On 06 February 2008 15:48, Alfred von Campe wrote:
> > On Feb 6, 2008, at 9:55, Dave Korn wrote:
> >
> >> How do the perms on /home/av16209/.ssh/* look? How do they look with
> >> CYGWIN=smbntsec?
> >
> > Interesting. I had CYGWIN set to "binmode tty ntsec"
Paul Leder wrote on Thursday, February 07, 2008 3:31 PM::
> Eric Blake wrote:
>
>> Bash has two variable namespaces - shell variables, and environment
>> variables. Are you sure SHELL was exported to the environment, and
>> not just in the bash shell variable namespace?
>
> thanks - I had no id
Eric Blake wrote:
Bash has two variable namespaces - shell variables, and environment
variables. Are you sure SHELL was exported to the environment, and not
just in the bash shell variable namespace?
thanks - I had no idea there were 2 variable namespaces. It looks like
everything I can see
On Feb 7, 2008, at 9:46, Dave Korn wrote:
It all depends where you keep your home directory. For a home on
your local
HD, that's fine, but if you have home on a network share, you need
'smbntsec',
since ntsec defaults to only cover local drives for speed.
Yes, our home directories are o
On 07 February 2008 00:22, Matt Seitz wrote:
> "Dave Korn" wrote in message
> news:[EMAIL PROTECTED]
I did?! It was email when *I* last saw it!
>> My win32 "T:" drive is a netapp share (CIFS with NFS perms)
> I'm assuming you mean "T: maps to a CIFS share that points to a volume or
> QTre
On 06 February 2008 15:48, Alfred von Campe wrote:
> On Feb 6, 2008, at 9:55, Dave Korn wrote:
>
>> How do the perms on /home/av16209/.ssh/* look? How do they look with
>> CYGWIN=smbntsec?
>
> Interesting. I had CYGWIN set to "binmode tty ntsec" according to
> some instructions I found by go
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Paul Leder on 2/7/2008 7:19 AM:
| Hi -
|
| I'm having a problem reading bash environment variables when running a
| MinGW app on Cygwin's bash. I'm trying this on the MinGW list as well,
| but no luck so far. The basic problem is that SHE
Hi -
I'm having a problem reading bash environment variables when running a
MinGW app on Cygwin's bash. I'm trying this on the MinGW list as well,
but no luck so far. The basic problem is that SHELL is not visible in
environ (or from getenv) on the app, even thought the program was
launched f
I've uploaded a temporary libpq5-8.2.5-1 package with just the file
/bin/cygpq5.dll
which is a dependency for the recently uploaded clisp-2.44-1 package.
You should not install this package by hand, because it does nothing.
The new postgresql-8.2.6 or postgresql-8.3.0 package which
will be upl
27 matches
Mail list logo