Revision 41698375ada57d51cf6db5cf25970ccd1b918180 authored by Jim Meyering on 12 September 2009, 08:43:27 UTC, committed by Junio C Hamano on 13 September 2009, 08:32:20 UTC
There were several unchecked use of fdopen(); replace them with xfdopen()
that checks and dies.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3d91352
Raw File
mailmap.h
#ifndef MAILMAP_H
#define MAILMAP_H

int read_mailmap(struct string_list *map, char **repo_abbrev);
void clear_mailmap(struct string_list *map);

int map_email(struct string_list *mailmap, const char *email, char *name, int maxlen);
int map_user(struct string_list *mailmap,
	     char *email, int maxlen_email, char *name, int maxlen_name);

#endif
back to top