fflags query formatter handles ghosts
authorewt <devnull@localhost>
Mon, 6 Oct 1997 18:00:11 +0000 (18:00 +0000)
committerewt <devnull@localhost>
Mon, 6 Oct 1997 18:00:11 +0000 (18:00 +0000)
CVS patchset: 1842
CVS date: 1997/10/06 18:00:11

lib/formats.c

index a834594..836c0eb 100644 (file)
@@ -121,6 +121,8 @@ static char * fflagsFormat(int_32 type, const void * data,
            strcat(buf, "m");
        if (anint & RPMFILE_NOREPLACE)
            strcat(buf, "n");
+       if (anint & RPMFILE_GHOST)
+           strcat(buf, "g");
 
        val = malloc(5 + padding);
        strcat(formatPrefix, "s");