Revision 4deba8b7798aac52e33aa8e1c49a8cdc0940ac36 authored by René Scharfe on 26 December 2008, 10:17:04 UTC, committed by Junio C Hamano on 27 December 2008, 03:10:02 UTC
Report the error if redirection of stderr to /dev/null failed. This silences a compiler warning about ignoring the return value of freopen() on Ubuntu 8.10. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6720e95
decorate.h
#ifndef DECORATE_H
#define DECORATE_H
struct object_decoration {
const struct object *base;
void *decoration;
};
struct decoration {
const char *name;
unsigned int size, nr;
struct object_decoration *hash;
};
extern void *add_decoration(struct decoration *n, const struct object *obj, void *decoration);
extern void *lookup_decoration(struct decoration *n, const struct object *obj);
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...