PennMUSH Community

Changeset 1253

Show
Ignore:
Timestamp:
09/11/08 21:05:15 (3 months ago)
Author:
shawnw
Message:

#7655: Fix portmsg compiliation problems

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.3/branches/devel/CHANGES.183

    r1246 r1253  
    6767   recall buffers, not the number of blocks. Reported by 
    6868   qa'toq [SW] 
     69 * portmsg didn't compile. Reported by Impster. [SW] 
    6970 
    7071Version 1.8.3 patchlevel 6                      Jan 01, 2008 
  • 1.8.3/branches/devel/src/bsd.c

    r1224 r1253  
    48004800 
    48014801  while (read(fd, &ev, sizeof ev) > 0) { 
    4802     do_rawlog(LT_TRACE, "Got event. Flags: 0x%x", ev.mask); 
    48034802    if (ev.mask != IN_IGNORED) { 
    48044803      reload_files(); 
  • 1.8.3/branches/devel/src/portmsg.c

    r905 r1253  
    129129main(int argc, char **argv) 
    130130{ 
    131   int msgfd, fd
     131  int msgfd
    132132  struct stat statBuf; 
    133133  Port_t port; 
     
    228228  return 0; 
    229229} 
     230 
     231/* Wrappers for perror */ 
     232void 
     233penn_perror(const char *err) 
     234{ 
     235  fprintf(stderr, "portmsg: %s: %s\n", err, strerror(errno)); 
     236}