|
|
1.1 ! root 1: /* GNU Emacs password definition file. ! 2: Copyright (C) 1986 Free Software Foundation. ! 3: ! 4: This file is part of GNU Emacs. ! 5: ! 6: GNU Emacs is distributed in the hope that it will be useful, ! 7: but WITHOUT ANY WARRANTY. No author or distributor ! 8: accepts responsibility to anyone for the consequences of using it ! 9: or for whether it serves any particular purpose or works at all, ! 10: unless he says so in writing. Refer to the GNU Emacs General Public ! 11: License for full details. ! 12: ! 13: Everyone is granted permission to copy, modify and redistribute ! 14: GNU Emacs, but only under the conditions described in the ! 15: GNU Emacs General Public License. A copy of this license is ! 16: supposed to have been given to you along with GNU Emacs so you ! 17: can know your rights and responsibilities. It should be in a ! 18: file named COPYING. Among other things, the copyright notice ! 19: and this notice must be preserved on all copies. */ ! 20: ! 21: #ifdef VMS ! 22: /* On VMS, we read the UAF file and emulate some of the necessary ! 23: fields for Emacs. */ ! 24: #include "uaf.h" ! 25: ! 26: struct passwd { ! 27: char pw_name[UAF$S_USERNAME+1]; ! 28: char pw_passwd[UAF$S_PWD]; ! 29: short pw_uid; ! 30: short pw_gid; ! 31: char pw_gecos[UAF$S_OWNER+1]; ! 32: char pw_dir[UAF$S_DEFDEV+UAF$S_DEFDIR+1]; ! 33: char pw_shell[UAF$S_DEFCLI+1]; ! 34: }; ! 35: #endif /* VMS */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.