annotate nt/inc/pwd.h @ 108125:13415f222ad9

Use $CRT_DIR in more places. * configure.in (--with-crt-dir): Doc fix (now valid for all platforms). (CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64. On hpux10-20, default to /lib. * src/m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around, since the defaults (set by the system file) are fine in most cases. [GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__]: Remove sections. * src/m/ibms390x.h (START_FILES, LIB_STANDARD): * src/m/macppc.h (START_FILES, LIB_STANDARD) [GNU_LINUX]: * src/m/sparc.h (START_FILES, LIB_STANDARD) [__linux__]: Remove definitions, since they are set correctly in s/gnu-linux.h. * src/s/freebsd.h (START_FILES, LIB_STANDARD): * src/s/gnu-linux.h (START_FILES, LIB_STANDARD): * src/s/hpux10-20.h (START_FILES): * src/s/netbsd.h (START_FILES, LIB_STANDARD, START_FILES_1, END_FILES_1): Use $CRT_DIR in place of fixed /usr/lib, /lib directories. * src/Makefile.in: Comment.
author Glenn Morris <rgm@gnu.org>
date Mon, 26 Apr 2010 20:14:14 -0700
parents 06ca3efb355b
children ef719132ddfa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
1 #ifndef _PWD_H_
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
2 #define _PWD_H_
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
3 /*
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
4 * pwd.h doesn't exist on NT, so we put together our own.
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
5 */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
6
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
7 struct passwd {
102670
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
8 char *pw_name;
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
9 char *pw_passwd;
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
10 unsigned pw_uid; /* Vista's TrustedInstaller has a very large RID */
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
11 unsigned pw_gid;
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
12 int pw_quota;
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
13 char *pw_gecos;
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
14 char *pw_dir;
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
15 char *pw_shell;
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
16 };
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
17
102670
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
18 typedef unsigned uid_t;
39823
6df655ed941d (uid_t, gid_t): New typedefs.
Andrew Innes <andrewi@gnu.org>
parents: 11766
diff changeset
19 typedef uid_t gid_t;
6df655ed941d (uid_t, gid_t): New typedefs.
Andrew Innes <andrewi@gnu.org>
parents: 11766
diff changeset
20
63019
2d45521f8f6d (getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
21 struct passwd * getpwnam (char *);
102670
06ca3efb355b inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
Eli Zaretskii <eliz@gnu.org>
parents: 63019
diff changeset
22 struct passwd * getpwuid (unsigned);
63019
2d45521f8f6d (getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
23
2d45521f8f6d (getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
24
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
25 #endif /* _PWD_H_ */
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 39823
diff changeset
26
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 39823
diff changeset
27 /* arch-tag: 68308424-cb2b-49ed-bb52-b347fee416bf
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 39823
diff changeset
28 (do not change this comment) */