On 07/02/2014 09:49, Corinna Vinschen wrote:
On Feb  6 14:43, Warren Young wrote:
  On 2/6/2014 07:13, Corinna Vinschen wrote:
Btw., it would be a good idea to get rid of calls to getpwent/getgrent
in future.  They*probably*  won't do anymore what they were supposed to
do if you don't have passwd/group files.
There must be a way to list an executable's DLL imports, and thereby
do a survey on Cygwin to see which executables currently import
those functions.  If so, I know a guy who currently has all of
Cygwin downloaded and ready to re-install, to test this.:)
Try this:  strings -f/bin/*.exe/bin/*.dll | grep getgrent

Let me save you the trouble of reinstalling it - one of my PCs has a complete install of both architectures. Results attached.

Cheers,

Dave.

/bin/bash.exe: _getgrent32
/bin/biber.exe: getgrent
/bin/biber.exe: _getgrent32
/bin/biber.exe: __imp___getgrent32
/bin/biber.exe: _getgrent
/bin/cppcheck.exe: fgetgrent
/bin/cppcheck.exe: getgrent
/bin/cygdrop.exe: _getgrent32
/bin/emacs-nox.exe: _getgrent32
/bin/emacs-w32.exe: _getgrent32
/bin/emacs-X11.exe: _getgrent32
/bin/filan.exe: _getgrent32
/bin/mc.exe: _getgrent32
/bin/nedit.exe:         library functions:"<((?# arithmetic 
functions)abs|atan2|cos|exp|int|log|rand|sin|sqrt|srand|time|(?# conversion 
functions)chr|gmtime|hex|localtime|oct|ord|vec|(?# structure 
conversion)pack|unpack|(?# string 
functions)chomp|chop|crypt|eval(?=\s*[^{])|index|lc|lcfirst|length|quotemeta|rindex|substr|uc|ucfirst|(?#
 array and hash 
functions)delete|each|exists|grep|join|keys|map|pop|push|reverse|scalar|shift|sort|splice|split|unshift|values|(?#
 search and replace functions)pos|study|(?# file 
operations)chmod|chown|link|lstat|mkdir|readlink|rename|rmdir|stat|symlink|truncate|unlink|utime|(?#
 
input/output)binmode|close|eof|fcntl|fileno|flock|getc|ioctl|open|pipe|print|printf|read|readline|readpipe|seek|select|sprintf|sysopen|sysread|sysseek|syswrite|tell|(?#
 formats)formline|write|(?# tying variables)tie|tied|untie|(?# directory 
reading routines)closedir|opendir|readdir|rewinddir|seekdir|telldir|(?# system 
interaction)alarm|chdir|chroot|die|exec|exit|fork|getlogin|getpgrp|getppid|getpriority|glob|kill|setpgrp|setpriority|sleep|syscall|system|times|umask|wait|waitpid|warn|(?#
 
networking)accept|bind|connect|getpeername|getsockname|getsockopt|listen|recv|send|setsockopt|shutdown|socket|socketpair|(?#
 system V 
ipc)msgctl|msgget|msgrcv|msgsnd|semctl|semget|semop|shmctl|shmget|shmread|shmwrite|(?#
 miscellaneous)defined|do|dump|eval(?=\s*\{)|local|my|ref|reset|undef|(?# 
informations from system 
databases)endpwent|getpwent|getpwnam|getpwuid|setpwent|endgrent|getgrent|getgrgid|getgrnam|setgrent|endnetent|getnetbyaddr|getnetbyname|getnetent|setnetent|endhostend|gethostbyaddr|gethostbyname|gethostent|sethostent|endservent|getservbyname|getservbyport|getservent|setservent|endprotoent|getprotobyname|getprotobynumber|getprotoent|setprotoent)>":::Subroutine::
/bin/procan.exe: _getgrent32
/bin/sh.exe: _getgrent32
/bin/socat.exe: _getgrent32
/bin/tcsh.exe: _getgrent32
/bin/xgettext.exe: getgrent
/bin/ytree.exe: _getgrent32
/bin/cygguile-12.dll: _getgrent32
/bin/cygguile-12.dll: _getgrent32
/bin/cygguile-17.dll: _getgrent32
/bin/cygobt-2.dll: _getgrent32
/bin/cygoctave-1.dll: _ZN12octave_group8getgrentERSs
/bin/cygoctave-1.dll: _ZN12octave_group8getgrentEv
/bin/cygoctave-1.dll: _getgrent32
/bin/cygperl5_14.dll: getgrent
/bin/cygperl5_14.dll: _getgrent32
/bin/cygqscintilla2-9.dll: NULL __FILE__ __LINE__ __PACKAGE__ __DATA__ __END__ 
AUTOLOAD BEGIN CORE DESTROY END EQ GE GT INIT LE LT NE CHECK abs accept alarm 
and atan2 bind binmode bless caller chdir chmod chomp chop chown chr chroot 
close closedir cmp connect continue cos crypt dbmclose dbmopen defined delete 
die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent 
endservent eof eq eval exec exists exit exp fcntl fileno flock for foreach fork 
format formline ge getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname 
gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp 
getppid getpriority getprotobyname getprotobynumber getprotoent getpwent 
getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt 
glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst 
le length link listen local localtime lock log lstat lt m map mkdir msgctl 
msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package 
pipe pop pos print printf prototype push q qq qr quotemeta qu qw qx rand read 
readdir readline readlink readpipe recv redo ref rename require reset return 
reverse rewinddir rindex rmdir s scalar seek seekdir select semctl semget semop 
send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent 
setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep 
socket socketpair sort splice split sprintf sqrt srand stat study sub substr 
symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied 
time times tr truncate uc ucfirst umask undef unless unlink unpack unshift 
untie until use utime values vec wait waitpid wantarray warn while write x xor y
/bin/cygwin1.dll: _getgrent
/bin/cygwin1.dll: _getgrent32
/bin/cygwin1.dll: getgrent
/bin/bash.exe: getgrent
/bin/cppcheck.exe: fgetgrent
/bin/cppcheck.exe: getgrent
/bin/cygdrop.exe: getgrent
/bin/emacs-nox.exe: getgrent
/bin/emacs-w32.exe: getgrent
/bin/emacs-X11.exe: getgrent
/bin/filan.exe: getgrent
/bin/mc.exe: getgrent
/bin/nedit.exe:         library functions:"<((?# arithmetic 
functions)abs|atan2|cos|exp|int|log|rand|sin|sqrt|srand|time|(?# conversion 
functions)chr|gmtime|hex|localtime|oct|ord|vec|(?# structure 
conversion)pack|unpack|(?# string 
functions)chomp|chop|crypt|eval(?=\s*[^{])|index|lc|lcfirst|length|quotemeta|rindex|substr|uc|ucfirst|(?#
 array and hash 
functions)delete|each|exists|grep|join|keys|map|pop|push|reverse|scalar|shift|sort|splice|split|unshift|values|(?#
 search and replace functions)pos|study|(?# file 
operations)chmod|chown|link|lstat|mkdir|readlink|rename|rmdir|stat|symlink|truncate|unlink|utime|(?#
 
input/output)binmode|close|eof|fcntl|fileno|flock|getc|ioctl|open|pipe|print|printf|read|readline|readpipe|seek|select|sprintf|sysopen|sysread|sysseek|syswrite|tell|(?#
 formats)formline|write|(?# tying variables)tie|tied|untie|(?# directory 
reading routines)closedir|opendir|readdir|rewinddir|seekdir|telldir|(?# system 
interaction)alarm|chdir|chroot|die|exec|exit|fork|getlogin|getpgrp|getppid|getpriority|glob|kill|setpgrp|setpriority|sleep|syscall|system|times|umask|wait|waitpid|warn|(?#
 
networking)accept|bind|connect|getpeername|getsockname|getsockopt|listen|recv|send|setsockopt|shutdown|socket|socketpair|(?#
 system V 
ipc)msgctl|msgget|msgrcv|msgsnd|semctl|semget|semop|shmctl|shmget|shmread|shmwrite|(?#
 miscellaneous)defined|do|dump|eval(?=\s*\{)|local|my|ref|reset|undef|(?# 
informations from system 
databases)endpwent|getpwent|getpwnam|getpwuid|setpwent|endgrent|getgrent|getgrgid|getgrnam|setgrent|endnetent|getnetbyaddr|getnetbyname|getnetent|setnetent|endhostend|gethostbyaddr|gethostbyname|gethostent|sethostent|endservent|getservbyname|getservbyport|getservent|setservent|endprotoent|getprotobyname|getprotobynumber|getprotoent|setprotoent)>":::Subroutine::
/bin/parl.exe: getgrent
/bin/parl.exe: getgrent
/bin/procan.exe: getgrent
/bin/sh.exe: getgrent
/bin/socat.exe: getgrent
/bin/tcsh.exe: getgrent
/bin/xgettext.exe: getgrent
/bin/cygguile-17.dll: getgrent
/bin/cygobt-2.dll: getgrent
/bin/cygoctave-1.dll: _ZN12octave_group8getgrentERSs
/bin/cygoctave-1.dll: _ZN12octave_group8getgrentEv
/bin/cygoctave-1.dll: getgrent
/bin/cygperl5_14.dll: getgrent
/bin/cygperl5_14.dll: getgrent
/bin/cygqscintilla2-9.dll: NULL __FILE__ __LINE__ __PACKAGE__ __DATA__ __END__ 
AUTOLOAD BEGIN CORE DESTROY END EQ GE GT INIT LE LT NE CHECK abs accept alarm 
and atan2 bind binmode bless caller chdir chmod chomp chop chown chr chroot 
close closedir cmp connect continue cos crypt dbmclose dbmopen defined delete 
die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent 
endservent eof eq eval exec exists exit exp fcntl fileno flock for foreach fork 
format formline ge getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname 
gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp 
getppid getpriority getprotobyname getprotobynumber getprotoent getpwent 
getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt 
glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst 
le length link listen local localtime lock log lstat lt m map mkdir msgctl 
msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package 
pipe pop pos print printf prototype push q qq qr quotemeta qu qw qx rand read 
readdir readline readlink readpipe recv redo ref rename require reset return 
reverse rewinddir rindex rmdir s scalar seek seekdir select semctl semget semop 
send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent 
setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep 
socket socketpair sort splice split sprintf sqrt srand stat study sub substr 
symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied 
time times tr truncate uc ucfirst umask undef unless unlink unpack unshift 
untie until use utime values vec wait waitpid wantarray warn while write x xor y
/bin/cygwin1.dll: getgrent
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to