This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Porting of some programs originally written for glibc over to cygwin would be easier if cygwin could provide the global variables char* program_invocation_{short_,}name, set automatically to match argv[0] of main(), and declared in <errno.h> when strict standards compliance isn't requested. Is it worth my time to go ahead and submit a patch to add this? Or is our party line still that as long as you are using non-portable means, you should just continue to use readlink("/proc/self/exe") when porting to cygwin? -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |