diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-06 02:38:22 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-06 02:38:22 +0000 |
commit | 0fb61528c94f959e5c1bfc9aeab7e09d0dcbf54b (patch) | |
tree | 75ef38d0c081066b5d5b5f957c4cd49521d5b099 /winsup | |
parent | 94ce0c04c10126774559deb9225ed20a77083877 (diff) | |
download | newlib-0fb61528c94f959e5c1bfc9aeab7e09d0dcbf54b.zip newlib-0fb61528c94f959e5c1bfc9aeab7e09d0dcbf54b.tar.gz newlib-0fb61528c94f959e5c1bfc9aeab7e09d0dcbf54b.tar.bz2 |
* Makefile.in (dumper): Change logic for libbfd and libintl so that they will
be found either in the build tree or the installed directory.
* mkpasswd.c (enum_users): Add a comment as a password for NT.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/utils/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/utils/Makefile.in | 8 | ||||
-rw-r--r-- | winsup/utils/mkpasswd.c | 2 |
3 files changed, 11 insertions, 5 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 1ae3d9a..e51ec62 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,9 @@ +Wed Sep 5 22:37:21 2001 Christopher Faylor <cgf@cygnus.com> + + * Makefile.in (dumper): Change logic for libbfd and libintl so that + they will be found either in the build tree or the installed directory. + * mkpasswd.c (enum_users): Add a comment as a password for NT. + 2001-09-03 Michael A Chase <mchase@ix.netcom.com> * mount.cc (mount_commands): Don't write /cygdrive/u mount points. diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index c5e5855..12e1cbd 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -37,9 +37,9 @@ include $(srcdir)/../Makefile.common MINGW_INCLUDES:=-I$(mingw_source)/include -I$(cygwin_source)/include -I$(w32api_include) -libbfd:=$(bupdir2)/bfd/libbfd.a -libintl:=$(bupdir2)/intl/libintl.a -build_dumper:=${shell test -r $(libbfd) -a -r $(libintl) -a -d $(updir1)/include && echo 1} +libbfd:=${shell $(CC) -L$(bupdir2)/bfd --print-file-name=libbfd.a} +libintl:=${shell $(CC) -L$(bupdir2)/intl --print-file-name=libintl.a} +build_dumper:=${shell test -r $(libbfd) && test -r ${libintl} && echo 1} DUMPER_INCLUDES:=-I$(bupdir2)/bfd -I$(updir1)/include @@ -59,7 +59,7 @@ ALL_LDLIBS:=${patsubst $(w32api_lib)/lib%.a,-l%,\ ${filter-out $(libcygwin), $(ALL_DEP_LDLIBS)}}}} MINGW_LIB:=$(mingw_build)/libmingw32.a -DUMPER_LIB:=-L$(bupdir2)/bfd -lbfd -L$(bupdir1)/libiberty -liberty -L$(bupdir2)/intl -lintl +DUMPER_LIB:=${libbfd} ${libintl} -L$(bupdir1)/libiberty -liberty MINGW_LDLIBS:=$(ALL_LDLIBS) $(MINGW_LIB) MINGW_DEP_LDLIBS:=${ALL_DEP_LDLIBS} ${MINGW_LIB} ALL_LDFLAGS:=-B$(newlib_build)/libc/ -B$(newlib_build)/libm/ -B$(w32api_lib)/ \ diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c index 1a49698..e16edcf 100644 --- a/winsup/utils/mkpasswd.c +++ b/winsup/utils/mkpasswd.c @@ -206,7 +206,7 @@ enum_users (LPWSTR servername, int print_sids, int print_cygpath, } } } - printf ("%s::%d:%d:%s%s%s:%s:/bin/bash\n", username, + printf ("%s:This_field_is_not_used_by_cygwin_on_nt/2000/xp:%d:%d:%s%s%s:%s:/bin/bash\n", username, uid + id_offset, gid + id_offset, fullname, |