view lib/userspec.h @ 17444:a83ad7365d40

fnmatch: don't goto over declaration * lib/fnmatch_loop.c (FCT): Hoist local up one level, to avoid undefined behavior for goto over a declaration. Problem reported by Charlie Brown in <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00009.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 06 Jul 2013 17:12:29 -0700
parents e8d2c6fc33ad
children
line wrap: on
line source

#ifndef USERSPEC_H
# define USERSPEC_H 1

# include <sys/types.h>

const char *
parse_user_spec (const char *spec_arg, uid_t *uid, gid_t *gid,
                 char **username_arg, char **groupname_arg);

#endif