RSS

(root)/fsp/fsplib : 31

hsn
2006-12-26 16:29:57
Revision ID: cvs-1:hsn-20061226162957-704in41itz80b49n
solaris compile fix

collapse all collapse all

added added

removed removed

 
 
1
0.9
 
 
2
        Solaris compile fix by Brian Masney
1
0.8
3
0.8
2
        Security bugfix release
4
        Security bugfix release
3
        off by one error, found by David Binderman
5
        off by one error, found by David Binderman
5
EnsureSConsVersion(0,96)
5
EnsureSConsVersion(0,96)
6
PREFIX='/usr/local'
6
PREFIX='/usr/local'
7
PACKAGE='fsplib'
7
PACKAGE='fsplib'
8
VERSION='0.8'
8
VERSION='0.9'
9
 
9
 
10
env = Environment()
10
env = Environment()
11
# Turn CPPFLAGS to list
11
# Turn CPPFLAGS to list
1
# Process this file with autoconf to produce a configure script.
1
# Process this file with autoconf to produce a configure script.
2
 
2
 
3
AC_PREREQ(2.59)
3
AC_PREREQ(2.59)
4
AC_INIT(fsplib,0.8,hsn@netmag.cz)
4
AC_INIT(fsplib,0.9,hsn@sendmail.cz)
5
AM_INIT_AUTOMAKE()
5
AM_INIT_AUTOMAKE()
6
AM_MAINTAINER_MODE
6
AM_MAINTAINER_MODE
7
AC_CONFIG_SRCDIR([fsplib.c])
7
AC_CONFIG_SRCDIR([fsplib.c])
91
  mode_t omask;
91
  mode_t omask;
92
  key_t lock_key;
92
  key_t lock_key;
93
  int fd;
93
  int fd;
94
  union semun sun;
94
  union semun su;
95
  struct sembuf sem;
95
  struct sembuf sem;
96
 
96
 
97
  make_key_string(lock,server_addr,server_port);
97
  make_key_string(lock,server_addr,server_port);
123
          return -1;
123
          return -1;
124
      }
124
      }
125
      /* we need to init this semaphore */
125
      /* we need to init this semaphore */
126
      sun.val=1;
126
      su.val=1;
127
      if(semctl(lock->lock_sem,0,SETVAL,sun) == -1)
127
      if(semctl(lock->lock_sem,0,SETVAL,su) == -1)
128
      {
128
      {
129
          perror("semctl setval");
129
          perror("semctl setval");
130
          return -1;
130
          return -1;

Loggerhead is a web-based interface for Bazaar branches