Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group