openbsd-ports/net/ices/patches/patch-src_util_h
alek f708b4a252 Update to 0.4
From Moritz Grimm <gtgbr@gmx.net> (MAINTAINER)
2005-05-21 13:46:44 +00:00

22 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_util_h,v 1.1 2005/05/21 13:46:44 alek Exp $
--- src/util.h.orig Fri May 20 13:27:27 2005
+++ src/util.h Fri May 20 13:30:36 2005
@@ -29,7 +29,7 @@ FILE *ices_util_fopen_for_writing (const
FILE *ices_util_fopen_for_reading (const char *file);
void ices_util_fclose (FILE *fp);
char *ices_util_read_line (FILE *fp);
-char *ices_util_get_random_filename (char *namespace, char *type);
+char *ices_util_get_random_filename (char *namespace, size_t size, char *type);
int ices_util_remove (const char *filename);
int ices_util_get_random (void);
int ices_util_is_regular_file (int fd);
@@ -38,7 +38,7 @@ int ices_util_directory_exists (const ch
const char *ices_util_nullcheck (const char *string);
double ices_util_percent (int this, int of_that);
char *ices_util_file_time (unsigned int bitrate, unsigned int filesize,
- char *namespace);
+ char *namespace, size_t size);
const char *ices_util_strerror (int error, char *namespace, int maxsize);
void ices_util_free (void *ptr);
int ices_util_verify_file (const char *filename);