Re: [PATCHv2 2/2] pt_chown: break gnulib link dependency

2011-10-20 Thread Bruno Haible
Eric, > diff --git a/lib/pt_chown.c b/lib/pt_chown.c > index ccc04fd..f654b2d 100644 > --- a/lib/pt_chown.c > +++ b/lib/pt_chown.c > @@ -30,22 +30,18 @@ > > static int > -do_pt_chown (void) > +do_pt_chown (char *pty) > { > - char *pty; >struct stat st; >struct group *p; >gid_t gid;

[PATCHv2 2/2] pt_chown: break gnulib link dependency

2011-10-19 Thread Eric Blake
If pt_chown calls ptsname(), then it must pull in gnulib; but then we must decide whether libtool is in use (libgnu.a vs. libgnu.la). Simpler is just shifting the burden to the sole caller. Even though this breaks compatibility with glibc pt_chown, we already document that our helper app is only c