head sl.cc pe.c
==> sl.cc <==
#include
#include
class C
{
public:
C(){
printf("C\n");
unsetenv("XXX");
}
};
static C c;
==> pe.c <==
#include
#include
int
main()
{
char *p=getenv("XXX");
if (p != NULL)
printf("XXX=%s\n",p);
return 0;
}
% g++ -fpic -shared sl.cc -o sl.so
% gcc
John Hein wrote at 09:17 -0600 on Aug 24, 2012:
>
> head sl.cc pe.c
> ==> sl.cc <==
> #include
> #include
> class C
> {
> public:
> C(){
> printf("C\n");
> unsetenv("XXX");
> }
> };
> static C c;
>
> ==> pe.c <==
> #include
> #include
> int
> main()
> {
> char *p
John Hein wrote at 09:34 -0600 on Aug 24, 2012:
> John Hein wrote at 09:17 -0600 on Aug 24, 2012:
> >
> > head sl.cc pe.c
> > ==> sl.cc <==
> > #include
> > #include
> > class C
> > {
> > public:
> > C(){
> > printf("C\n");
> > unsetenv("XXX");
> > }
> > };
> >
On Fri, Aug 24, 2012 at 09:17:22AM -0600, John Hein wrote:
>
> head sl.cc pe.c
> ==> sl.cc <==
> #include
> #include
> class C
> {
> public:
> C(){
> printf("C\n");
> unsetenv("XXX");
> }
> };
> static C c;
>
> ==> pe.c <==
> #include
> #include
> int
> main()
> {
> char *p=getenv("XX
Answers inline...
Konstantin Belousov wrote at 19:23 +0300 on Aug 24, 2012:
> On Fri, Aug 24, 2012 at 09:17:22AM -0600, John Hein wrote:
> >
> > head sl.cc pe.c
> > ==> sl.cc <==
> > #include
> > #include
> > class C
> > {
> > public:
> > C(){
> > printf("C\n");
> > unsetenv("X
For some reason, libc exports the symbol .cerror (HIDENAME(cerror)),
albeit in the FBSDprivate_1.0 version. It looks like there is no reason
for this since it is not used from other libraries. Given that it cannot
be accessed from C and its strange calling convention, it is rather
unlikely that oth
I did try without success to ask some aspect of this on the questions
list, but I'm farther along with this anyway.
I have an apache22 server setup with webdav for a subversion server.
That is working well (I think, anyway), and I'm able access it from a
Winblows XP vm I use for various testin
7 matches
Mail list logo