Can anyone shed some insight on a system crash?488 (4/4/2005 9:20:59 PM) comp.unix.solaris Sunfire 4800/Solaris 8 All was find until about 2 weeks, ago the system crashed. Before the crash, no extraneous error were being logged, though we don't analyze the messages file on a daily basis (atleast ... Shea
leaking file descriptors168 (3/8/2005 4:32:41 PM) comp.unix.programmer I have daemon process that has run out of file descriptors. 'lsof -sf | grep my_process', shows that all of the open files are infact directories. It is possible that I am parsing file path's incorrectly and a... Shea
installed window managers don't show up in login screen2122 (2/21/2005 6:15:25 PM) comp.unix.solaris The solaris install discs include a few extra window managers/desktop environments. Yet even if they are installed, JDS, and CDE are the only ones that show up on login screen. This sure takes away from the... shea
SCSI SDLT Stacker581 (1/26/2005 8:26:29 PM) comp.unix.solaris We just got a new SDLT stacker from Overland. I am having a heck of a time making the drive work with our existing software under solaris 8. The following is our setup, prior to the new Overland LoaderXpres... Shea
porting solaris/SPARC app to Solaris/x86 questions8230 (12/13/2004 7:36:17 PM) comp.unix.programmer I am porting some apps which have always run on SPARC to x86. The biggest concern is that they read and write binary data. I would line the x86 and SPARC versions to work on the same data set. I read http:/... Shea
porting SPARC apps to x867146 (12/13/2004 6:47:58 PM) comp.unix.solaris I am porting some apps which have always run on SPARC to x86. The biggest concern is that they read and write binary data. I would line the x86 and SPARC versions to work on the same data set. I read http:/... Shea
console redirection not working with x8616452 (12/8/2004 5:36:16 PM) comp.unix.solaris I am trying to get our WyseTerm to working with a Solaris 10 x86 (b69) box. I am using the Tyan board. I have communication settings the same on both the term and m/b's bios settings. During boot I see the ... Shea
printing a warning with the preprocessor8116 (12/7/2004 4:57:09 PM) comp.lang.c++ I would like to issue a warning with the preprocessor: #ifdef _A_DEFINE && OTHER_DEFINE #print "_A_DEFINE and OTHER_DEFINE cannot both be defined" #print "OTHER_DEFINE will be undefined for you" #endif I real... Shea
OT: Attn Rich Teer27118 (12/6/2004 9:59:48 PM) comp.unix.solaris Rich, I am just looking at your book, and read on your website that you have never owned a peecee. I was wondering what program you used to write your book in? Star Office? Let me guess LaTeX? Or did your ... Shea
old_procfs.h and large file environment30200 (11/26/2004 6:22:09 PM) comp.unix.solaris We are trying to demo Sun's new compilers. We compile our code 32-bit. We have a program which requires large file support, and . The compile flag (for now) is -D_FILE_OFFSET_BITS=64. This compiles fine wit... Shea
printing a warning with the preprocessor8116 (12/7/2004 4:57:09 PM) comp.lang.c++ I would like to issue a warning with the preprocessor: #ifdef _A_DEFINE && OTHER_DEFINE #print "_A_DEFINE and OTHER_DEFINE cannot both be defined" #print "OTHER_DEFINE will be undefined for you" #endif I real... smartin(79)
getLoginName() getHomeDir() getHostName()351 (9/3/2004 4:50:24 AM) comp.lang.java.programmer getLoginName() getHomeDir() getHostName() Are there any functions in the Java API that acomplish the above? I know I could probably use System.getenv(), USER/LOGNAME, HOME, HOSTNAME, but these variables are ... smartin(79)
sprintf534 (9/2/2004 6:40:22 AM) comp.lang.java.programmer I know all about the bad things that sprintf in C/C++ can cause. My question is, is there a way in java to achieve similar results? i.e, sprintf(str, "%10s: %.5f\n", var, value); I could probably use Number... smartin(79)
design question #41727 (8/20/2004 8:10:39 PM) comp.lang.c++ I have a MyString class: class MyString { public: MyString() {} MyString(const char *str) { _buffer = new char[strlen(str)+1]; strcpy(_buffer, str); } void func1(const MyS... smartin(79)
Smart char * class...936 (8/20/2004 7:13:59 PM) comp.lang.c++ I need a smart char * class, that acts like a char * in all cases, but lets you do some std::string-type stuff with it. (Please don't say to use std::string - it's not an option...). This is my attempt at it,... ataru(1609)
why new dynamic stack allocation in C++?940 (12/1/2003 5:34:06 PM) comp.lang.c++ What I mean is why can I only allocate const size stuff on the stack in = C++? If I want to allocate a variable amount I need to use the OS API = (Win32 in my case). Thanks, Tom. ... blah(336)
ar loses std::list symbols240 (12/1/2003 5:05:18 PM) comp.lang.c++ Solaris 9, Sun Workshop 5.0 I have ObjectA.o, ObjectB.o. ObjectA.o uses std::list. I created a archive of the objects: ar cvr libAB.a *.o. I have example.cc which I am trying to compile against ObjectA Objec... smartin(79)
copy constructors hurting performance2238 (11/4/2003 4:52:38 PM) comp.lang.c++ I have a String class (I know I am re-inventing the wheel, yes I have heard of boost, and of QString). My copy constructor does a deep (strcpy) of the char *_buffer member. I have a member function func(con... smartin(79)
passing a va_list to sprintf354 (10/31/2003 7:43:12 AM) comp.lang.c I have a function: void f(char* format, ...) { va_list args; char buf[128]; sprintf(buf, format, args); printf(buf); } But I can't get sprintf to properly take the args I have given to f(). I... shea846(8)