diff options
author | Ted Lemon <source@isc.org> | 2001-06-28 23:32:44 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2001-06-28 23:32:44 +0000 |
commit | 50d70c187d46a4a5f911c4ba737c244b2fc75c6f (patch) | |
tree | 2d00c33a239140ee4564cba2d313e6c4e2f09f63 | |
parent | 887b7c1781c9986913bbf18e565b75afd30884db (diff) | |
download | isc-dhcp-50d70c187d46a4a5f911c4ba737c244b2fc75c6f.tar.gz |
Fix a bug in the fgetpos macro.
-rw-r--r-- | includes/cf/sunos4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/cf/sunos4.h b/includes/cf/sunos4.h index 7a8c9587..26a5c397 100644 --- a/includes/cf/sunos4.h +++ b/includes/cf/sunos4.h @@ -3,7 +3,7 @@ System dependencies for SunOS 4 (tested on 4.1.4)... */ /* - * Copyright (c) 1996-1999 Internet Software Consortium. + * Copyright (c) 1996-2001 Internet Software Consortium. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -56,7 +56,7 @@ #define SOCKLEN_T int #define fpos_t long -#define fgetpos(f, p) ((*pos = ftell (f)) == -1 ? -1 : 0) +#define fgetpos(f, p) (((*(p)) = ftell (f)) == -1 ? -1 : 0) #define fsetpos(f, p) (fseek (f, p, SEEK_SET)) /* No endian.h either. */ |