diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-04-05 14:52:05 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-04-05 14:52:05 +0000 |
commit | 0723351e0aae3b4ed046fabd41bf188a3d6a77df (patch) | |
tree | 78420d4948893ca1c06f6944bb3936f685201e53 /perlio.c | |
parent | a6c0611711f1e672f5a8bc135ac604baafe03a0a (diff) | |
download | perl-0723351e0aae3b4ed046fabd41bf188a3d6a77df.tar.gz |
Down with C++ reserved names
(and also function pointer declarations that rely on the C semantics
of ())
p4raw-id: //depot/perl@24165
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2389,7 +2389,7 @@ IV PerlIOUnix_seek(pTHX_ PerlIO *f, Off_t offset, int whence) { int fd = PerlIOSelf(f, PerlIOUnix)->fd; - Off_t new; + Off_t new_loc; if (PerlIOBase(f)->flags & PERLIO_F_NOTREG) { #ifdef ESPIPE SETERRNO(ESPIPE, LIB_INVARG); @@ -2398,8 +2398,8 @@ PerlIOUnix_seek(pTHX_ PerlIO *f, Off_t offset, int whence) #endif return -1; } - new = PerlLIO_lseek(fd, offset, whence); - if (new == (Off_t) - 1) + new_loc = PerlLIO_lseek(fd, offset, whence); + if (new_loc == (Off_t) - 1) { return -1; } |