Solaris 11 #25109 (11/9/2011 6:52:51 PM) comp.unix.solaris In case anyone hadn't noticed: http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index.html -- Ian Collins ... Ian
Changing effective uid from root to user and back14128 (4/15/2011 8:38:26 AM) comp.unix.programmer Is there a simple way the change the effective uid of a process running as root from root to another user and then back to root? I want to verify which users have access to a file. Thanks, -- Ian Collins ... Ian
Member with same name as type668 (6/3/2009 8:37:21 AM) comp.lang.c++ I encountered this example in a C header, is the following legal? typedef long ios; struct X { ios ios; }; It complies with comeau online and Sun CC, but g++ reports /tmp/c.cc:6: error: declaration of '... Ian
The Sociopath Wanker669 (5/31/2009 7:54:33 AM) comp.lang.c OK, times up. This used to be an interesting and helpful group, but Sociopath Wanker's fake posts are the final straw. Goodbye. -- Ian Collins ... Ian
memory exhaustion on Solaris 108327 (4/7/2009 8:12:52 PM) comp.unix.solaris I have a Solaris 10 server that has started running out of swap which causes it to lock up (unable to fork) which requires a power cycle to reboot. The problem appears to happen within a few seconds. I have... Ian
Scope of class template static data members759 (7/14/2008 8:44:16 AM) comp.lang.c++ Consider the following snippet: struct X { static bool called; }; struct Y : X { Y() { called = true; } // g++ is happy with this }; template struct XT { static bool called; }; template bool XT::called;... Ian
Upgrade oddity: z7a576 (6/22/2008 9:04:50 AM) comp.unix.solaris In order to replicate a customer site, I made a clean install of Solaris 10 u1 (from DVD), installed the recommended patches for Live Upgrade, installed the update 5 LU packages the did an upgrade. The upgrade... Ian
A plea for sanity!2172 (3/26/2008 10:19:37 PM) comp.lang.c Can we please stop these pantomime oh yes it is, oh no it isn't topicality wars? If someone asks an off topic question, sent them on their way with a polite redirect. If someone posts information you thing is... Ian
Template default constructor possible?268 (10/21/2007 9:13:10 PM) comp.lang.c++ I've never had cause to try this before, but is it possible to have a template default constructor? I wish to pass the type of a singleton to a class and use the static methods of that singleton object in the... Ian
popen/fgets issue392 (6/16/2007 11:28:47 PM) comp.unix.programmer I'm lot sure whether this is Solaris only, but I have an application that reads a group of files form a directory and processes them. I use "ls -m xx*" to get the list of files starting with xx. The problem i... Ian
const local vs. member176 (4/25/2013 11:43:31 AM) comp.lang.c++ hello group,
what do you think/know is faster:
Matrix& Matrix::Translate(GLfloat x, GLfloat y, GLfloat z)
{
const std::array translate =
{
1.0f, 0.0f, 0.0f, 0.0f,
0.0f, 1.0f, 0.0f, 0.0f,
0.0... 4one(114)
To go with Go or C/C++?1906 (5/1/2013 2:05:35 PM) comp.lang.c++ Don't worry, this is not about some religious language war. I'm just lookin=
g for some advice from some C/C++ people who can judge better than me since=
my experience in C/C++ is very limited. I have been d... jeti789(31)
Getting some namespace features in C with structs95 (5/3/2013 8:51:15 AM) comp.lang.c One thing I like about some other (non-C) languages is their
management of names so I got to wondering: Would it be a good or a bad
idea to use C's structs to provide some of the features of namespaces?
Un... james.harris.18827(31)
Standalone C wrapper to C++ library98 (5/7/2013 10:51:45 PM) comp.lang.c Hi all,
I am not an experienced C developer and would like to know if there are good resources for, or better yet real-world examples of, wrapping a C++ library in C such that application written using it don'... aditya.siram(54)
Temporary Object #230 (5/15/2013 1:25:16 AM) comp.lang.c++ Assuming we have class C defined as:
class C {
public:
int x, y;
C operator++() { ++x, ++y; return *this; }
};
So the following line is legal since C is a user defined type:
++C();
But could... haochen(7)
reference type for C1022 (5/16/2013 2:08:43 PM) comp.lang.c I like the reference type that has been introduced with C++
I wondered why isn't that feature retrofitted in C.
Is there something hindering it?
thx - roar -
... roland.arthaud(6)
can't convert from type A* to type B*43 (5/17/2013 3:43:28 AM) comp.lang.c++ I need to change DMapEntry::pData from a char* to a class DMapData that contains the original pointer but still be able to refer to &pData[offset] in DMapEntry without changing it. Is this possible?
#include... carl.eichert(1)
String building141 (5/19/2013 9:01:17 PM) comp.lang.c++ I have this class:
class failure : public ::std::exception {
::std::string whatStr;
public:
explicit failure (::std::string what_) : whatStr(::std::move(what_))
{}
~failure () throw()
{}
... woodbrian77(236)