Re: Switch getopt example to getprogname()

2014-04-29 Thread Theo de Raadt
> > Date: Tue, 29 Apr 2014 11:31:48 +0200 > > From: Tristan Le Guern > > > > Hi, > > > > This patch for /usr/share/misc/getopt enforces the use of getprogname() > > instead of __progname. > > > > Is this desirable? If so I also have a patch for style(9). > > getprogname(3) isn't really more po

Re: Switch getopt example to getprogname()

2014-04-29 Thread Mark Kettenis
> Date: Tue, 29 Apr 2014 11:31:48 +0200 > From: Tristan Le Guern > > Hi, > > This patch for /usr/share/misc/getopt enforces the use of getprogname() > instead of __progname. > > Is this desirable? If so I also have a patch for style(9). getprogname(3) isn't really more portable than __progname

Switch getopt example to getprogname()

2014-04-29 Thread Tristan Le Guern
Hi, This patch for /usr/share/misc/getopt enforces the use of getprogname() instead of __progname. Is this desirable? If so I also have a patch for style(9). Index: getopt === RCS file: /cvs/src/share/misc/getopt,v retrieving revisio