pgsql: Add comment explaining possible compiler warning: /* *

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add comment explaining possible compiler warning: /* *
Date: 2004-11-29 03:02:09
Message-ID: 20041129030209.7777C3A4DAE@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add comment explaining possible compiler warning:

/*
* Some compilers with throw a warning knowing this test can never be
* true because off_t can't exceed the compared maximum.
*/
if (th->fileLen > MAX_TAR_MEMBER_FILELEN)
die_horribly(AH, modulename, "archive member too large for tar format\n");

Modified Files:
--------------
pgsql/src/bin/pg_dump:
pg_backup_tar.c (r1.45 -> r1.46)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_tar.c.diff?r1=1.45&r2=1.46)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-11-29 03:04:35 pgsql: Update Turkish FAQ.
Previous Message Bruce Momjian 2004-11-29 02:29:29 pgsql: Add: > * Auto-vacuum > o Move into the backend code > o Scan