Removed remark that use of statvfs() was untested with FreeBSD

ZeroFiveEight
Thomas Schmitt 14 years ago
parent bd5d8e8991
commit ed60d9a644
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 2
      libburn/sg-freebsd-port.c
  3. 5
      libburn/sg-freebsd.c

@ -1 +1 @@
#define Cdrskin_timestamP "2008.11.12.121832"
#define Cdrskin_timestamP "2008.11.15.220652"

@ -76,7 +76,7 @@ Send feedback to libburn-hackers@pykix.org .
#include <err.h> /* XXX */
/* ts A70909 : >>> untestet yet wether this compiles */
/* ts A70909 */
#include <sys/statvfs.h>

@ -18,7 +18,7 @@
#include <err.h> /* XXX */
/* ts A70909 : >>> untestet yet wether this compiles */
/* ts A70909 */
#include <sys/statvfs.h>
@ -622,7 +622,6 @@ int burn_os_stdio_capacity(char *path, off_t *bytes)
struct statvfs vfsbuf;
char testpath[4096], *cpt;
long blocks;
int open_mode = O_RDWR, fd, ret;
off_t add_size = 0;
testpath[0] = 0;
@ -642,6 +641,8 @@ int burn_os_stdio_capacity(char *path, off_t *bytes)
#ifdef Libburn_if_this_was_linuX
} else if(S_ISBLK(stbuf.st_mode)) {
int open_mode = O_RDWR, fd, ret;
if(burn_sg_open_o_excl)
open_mode |= O_EXCL;
fd = open(path, open_mode);

Loading…
Cancel
Save