#pentagram@irc.freenode.net logs for 2 Apr 2003 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[00:08:21] <-- Dark-Star has left #pentagram ()
[01:35:38] --> Kirben has joined #pentagram
[01:35:38] --- ChanServ gives channel operator status to Kirben
[09:00:17] --> miden has joined #pentagram
[10:02:27] --- DarkeAFK is now known as Darke
[11:30:00] --> Dark-Star has joined #pentagram
[11:58:39] --> Dominus has joined #pentagram
[12:00:38] --> Colourless has joined #Pentagram
[12:00:38] --- ChanServ gives channel operator status to Colourless
[12:28:02] <-- Dominus has left IRC ("enough for now")
[13:30:34] <-- Colourless has left IRC ("casts invisibility")
[13:35:41] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[13:40:40] --> Kirben has joined #pentagram
[13:40:40] --- ChanServ gives channel operator status to Kirben
[14:11:58] <-- miden has left IRC (Read error: 110 (Connection timed out))
[15:06:37] <-- Kirben has left IRC ("System Meltdown")
[16:35:14] --- Darke is now known as DarkeZzz
[18:12:28] --> Jett has joined #pentagram
[18:21:00] <-- DarkeZzz has left IRC (Read error: 60 (Operation timed out))
[18:29:18] --> wjp has joined #pentagram
[18:29:18] --- ChanServ gives channel operator status to wjp
[19:25:39] <Dark-Star> Isn't the pentagram changelog updated anymore?
[19:26:11] <wjp> there were changes? :-)
[19:26:25] <Dark-Star> hmm... my cvs says so, yes ;-)
[19:26:44] <wjp> I think the most recent changes were only to old/
[19:27:27] <Dark-Star> strange, because I just got changes in pentagram.cpp, FileSystem.cpp and UCMachine.cpp ..
[19:27:55] <wjp> really?
[19:28:26] <wjp> latest changes to those I can see were from about 2 weeks ago
[19:29:16] <Dark-Star> hmm wait, what does "M" mean? maybe they were changed _here_ ...
[19:29:38] <Dark-Star> although I can't remember changing anything in them...
[19:29:44] <wjp> yes, M means your local copy is changes
[19:29:46] <wjp> changed
[19:29:55] <wjp> you can get the differences with 'cvs -z3 diff <file>'
[19:31:21] <Dark-Star> yes, as soon as the CVS at sourceforge works again ...
[19:34:44] <Dark-Star> in UCMachine.cpp I added a static_cast<uint8>... but I honestly can't remember having made the changes to FileSystem.cpp :-)
[19:34:59] <wjp> which lines in UCMachine?
[19:36:50] <Dark-Star> 119
[19:36:57] <Dark-Star> p->stack.assign1(p->bp+si8a, static_cast<uint8>(ui16a));
[19:37:36] * wjp nods; k
[19:38:36] <Dark-Star> aah I think I remember... I made the changes in FileSys.cpp because MSVC has different "struct stat"s
[19:39:00] <wjp> oh, right, I remember
[19:39:12] <wjp> the IS_DIR macro, right?
[19:39:44] <Dark-Star> no, that's in my msvc_include.h ... I think I could have moved the changes to filesys/FileSYstem.cpp in there too...
[19:39:50] <Dark-Star> currently looks like this:
[19:40:01] <Dark-Star> --- 324,344 ----
[19:40:01] <Dark-Star> bool FileSystem::IsDir(const string &path)
[19:40:01] <Dark-Star> {
[19:40:01] <Dark-Star> bool exists;
[19:40:01] <Dark-Star> + #if defined _MSC_VER
[19:40:05] <Dark-Star> + struct _stat sbuf;
[19:40:05] <Dark-Star> + #else
[19:40:06] <Dark-Star> struct stat sbuf;
[19:40:10] <Dark-Star> + #endif
[19:40:28] <Dark-Star> ...and...
[19:40:36] <Dark-Star> + #if defined _MSC_VER
[19:40:36] <Dark-Star> + exists = (_stat(name.c_str(), &sbuf) == 0);
[19:40:36] <Dark-Star> + #else
[19:40:36] <Dark-Star> exists = (stat(name.c_str(), &sbuf) == 0);
[19:40:36] <Dark-Star> + #endif
[19:40:43] <Dark-Star> a few lines further down
[19:40:47] <wjp> weird
[19:41:16] <wjp> stat is really quite a standard call
[19:41:17] <Dark-Star> I think I could do a "#define stat _stat" in the msvc_include.h instead of these...
[19:42:56] <Dark-Star> the funny thing is that sys/stat.h defines these non-underscore names, but they're inside some #ifdefs that seem to nullify them...
[19:43:18] <wjp> which #define would you need to get them?
[19:44:15] <Dark-Star> #undef __STDC__
[19:44:28] <Dark-Star> they're after an "#if !__STDC__"
[19:44:36] <wjp> heh :-)
[19:44:56] <Dark-Star> hey, there are even the S_IFMT etc. constants in there :)
[19:45:45] <Dark-Star> however I don't feel like #undef'ing __STDC__ don't know what other trouble that might cause...
[19:46:04] <wjp> I wouldn't do that, no :-)
[19:58:12] <Dark-Star> hmmm...
[19:58:28] <Dark-Star> strange, now it works, even without the #ifdefs
[20:01:11] <Dark-Star> seems like somehow "wchar.h" got included, which is compiled without __STDC__...
[20:04:59] <Dark-Star> hmm I can't seem to find out where wchar.h is included nor why this didn't work for me before...
[20:11:49] <Dark-Star> So when will pentagram be playable? ;-)
[20:11:55] * Dark-Star ducks
[20:12:29] * wjp swings low ;-)
[20:12:39] <wjp> (you should've jumped ;-P )
[20:14:22] <Dark-Star> ok, I'll remember that for the next time I ask that question :-)
[20:20:48] <wjp> I'll remember that you remembered the next time you ask ;-)
[20:42:26] <-- wjp has left IRC ("Zzzz...")
[23:08:14] <-- Dark-Star has left #pentagram ()