From owner-cvs-gnu Sun Feb 11 10:15:12 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA17691 for cvs-gnu-outgoing; Sun, 11 Feb 1996 10:15:12 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA17684 Sun, 11 Feb 1996 10:15:11 -0800 (PST) Date: Sun, 11 Feb 1996 10:15:11 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199602111815.KAA17684@freefall.freebsd.org> To: CVS-committers, cvs-gnu Subject: cvs commit: src/gnu/lib/libmalloc COPYING.LIB ChangeLog Makefile Makefile.gnu OChangeLog README VERSION calloc.c cfree.c getpagesize.h gmalloc-head.c malloc.c malloc.h mcheck.c mem-limits.h memalign.c morecore.c mstats.c mtrace.awk mtrace.c ralloc.c valloc.c vm-limit.c Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk phk 96/02/11 10:15:10 Removed: gnu/lib/libmalloc COPYING.LIB ChangeLog Makefile Makefile.gnu OChangeLog README VERSION calloc.c cfree.c getpagesize.h gmalloc-head.c malloc.c malloc.h mcheck.c mem-limits.h memalign.c morecore.c mstats.c mtrace.awk mtrace.c ralloc.c valloc.c vm-limit.c Log: Remove libgnumalloc. From owner-cvs-gnu Sun Feb 11 10:16:14 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA17782 for cvs-gnu-outgoing; Sun, 11 Feb 1996 10:16:14 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA17775 Sun, 11 Feb 1996 10:16:12 -0800 (PST) Date: Sun, 11 Feb 1996 10:16:12 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199602111816.KAA17775@freefall.freebsd.org> To: CVS-committers, cvs-gnu Subject: cvs commit: src/gnu/lib Makefile Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk phk 96/02/11 10:16:12 Modified: gnu/lib Makefile Log: gnumalloc is gone. Revision Changes Path 1.11 +2 -2 src/gnu/lib/Makefile From owner-cvs-gnu Sun Feb 11 14:38:21 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA03273 for cvs-gnu-outgoing; Sun, 11 Feb 1996 14:38:21 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA03252 Sun, 11 Feb 1996 14:38:08 -0800 (PST) Date: Sun, 11 Feb 1996 14:38:08 -0800 (PST) From: Mike Pritchard Message-Id: <199602112238.OAA03252@freefall.freebsd.org> To: cvs-bin, CVS-committers, cvs-gnu, cvs-lib, cvs-libexec, cvs-sbin, cvs-share, cvs-usrbin, cvs-usrsbin Subject: cvs commit: src/usr.sbin/IPXrouted IPXrouted.8 src/bin/hostname hostname.1 src/lib/libc/compat-43 gethostid.3 src/usr.bin/logname logname.1 src/libexec/makekey makekey.8 src/usr.bin/mkfifo mkfifo.1 src/usr.sbin/mtree mtree.8 src/usr.sbin/named named.8 src/usr.sbin/ncrcontrol ncrcontrol.8 src/usr.bin/pagesize pagesize.1 src/usr.sbin/pcvt/ispcvt ispcvt.8 src/sbin/rdisc rdisc.8 src/sbin/reboot reboot.8 src/share/man/man4 cd.4 esis.4 fpa.4 intro.4 src/share/man/man8/man8.i386 MAKEDEV.8 src/usr.bin/symorder symorder.1 src/share/termcap termcap.5 src/usr.bin/vacation vacation.1 src/usr.sbin/ypbind ypbind.8 src/usr.bin/ypcat ypcat.1 src/usr.bin/ypmatch ypmatch.1 src/usr.sbin/yppush yppush.8 src/usr.sbin/ypserv ypserv.8 src/libexec/ypxfr ypxfr.8 src/usr.sbin/kbdmap kbdmap.1 src/lib/libc/gen Makefile.inc err.3 exec.3 getbootfile.3 getdomainname.3 gethostname.3 getloadavg.3 getpwent.3 setjmp.3 tcgetpgrp.3 tcsetpgrp.3 src/lib/libc/locale euc.4 src/lib/libc/net ethers.3 src/lib/libc/stdlib abort.3 alloca.3 malloc.3 src/lib/libc/stdtime time2posix.3 src/lib/libc/sys execve.2 getgid.2 getpid.2 getrlimit.2 getsockopt.2 listen.2 mmap.2 munmap.2 rtprio.2 setsid.2 wait.2 src/lib/libcompat/4.1 ftime.3 vtimes.3 src/lib/libcompat/4.4 cuserid.3 src/lib/libipx ipx.3 src/usr.sbin/lpr/lpd lpd.8 src/usr.sbin/pcvt/loadfont loadfont.1 src/usr.sbin/pcvt/scon scon.1 src/usr.sbin/rtprio rtprio.1 src/usr.sbin/sendmail/src sendmail.8 src/share/man/man4/man4.i386 fdc.4 fe.4 lpt.4 src/usr.bin/showmount showmount.8 src/gnu/usr.sbin/yppasswdd yppasswdd.8 Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk mpp 96/02/11 14:38:07 Modified: usr.sbin/IPXrouted IPXrouted.8 bin/hostname hostname.1 usr.sbin/kbdmap kbdmap.1 lib/libc/compat-43 gethostid.3 lib/libc/gen Makefile.inc err.3 exec.3 getbootfile.3 getdomainname.3 gethostname.3 getloadavg.3 getpwent.3 setjmp.3 tcgetpgrp.3 tcsetpgrp.3 lib/libc/locale euc.4 lib/libc/net ethers.3 lib/libc/stdlib abort.3 alloca.3 malloc.3 lib/libc/stdtime time2posix.3 lib/libc/sys execve.2 getgid.2 getpid.2 getrlimit.2 getsockopt.2 listen.2 mmap.2 munmap.2 rtprio.2 setsid.2 wait.2 lib/libcompat/4.1 ftime.3 vtimes.3 lib/libcompat/4.4 cuserid.3 lib/libipx ipx.3 usr.bin/logname logname.1 usr.sbin/lpr/lpd lpd.8 libexec/makekey makekey.8 usr.bin/mkfifo mkfifo.1 usr.sbin/mtree mtree.8 usr.sbin/named named.8 usr.sbin/ncrcontrol ncrcontrol.8 usr.bin/pagesize pagesize.1 usr.sbin/pcvt/ispcvt ispcvt.8 usr.sbin/pcvt/loadfont loadfont.1 usr.sbin/pcvt/scon scon.1 sbin/rdisc rdisc.8 sbin/reboot reboot.8 usr.sbin/rtprio rtprio.1 usr.sbin/sendmail/src sendmail.8 share/man/man4 cd.4 esis.4 fpa.4 intro.4 share/man/man4/man4.i386 fdc.4 fe.4 lpt.4 share/man/man8/man8.i386 MAKEDEV.8 usr.bin/showmount showmount.8 usr.bin/symorder symorder.1 share/termcap termcap.5 usr.bin/vacation vacation.1 usr.sbin/ypbind ypbind.8 usr.bin/ypcat ypcat.1 usr.bin/ypmatch ypmatch.1 gnu/usr.sbin/yppasswdd yppasswdd.8 usr.sbin/yppush yppush.8 usr.sbin/ypserv ypserv.8 libexec/ypxfr ypxfr.8 Log: Correct a bunch of man page cross references and generally try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however. Revision Changes Path 1.2 +1 -1 src/usr.sbin/IPXrouted/IPXrouted.8 1.3 +2 -2 src/bin/hostname/hostname.1 1.3 +3 -3 src/usr.sbin/kbdmap/kbdmap.1 1.2 +2 -2 src/lib/libc/compat-43/gethostid.3 1.18 +2 -2 src/lib/libc/gen/Makefile.inc 1.3 +3 -2 src/lib/libc/gen/err.3 1.2 +2 -3 src/lib/libc/gen/exec.3 1.2 +3 -3 src/lib/libc/gen/getbootfile.3 1.2 +3 -3 src/lib/libc/gen/getdomainname.3 1.2 +2 -2 src/lib/libc/gen/gethostname.3 1.2 +2 -2 src/lib/libc/gen/getloadavg.3 1.4 +3 -3 src/lib/libc/gen/getpwent.3 1.2 +2 -1 src/lib/libc/gen/setjmp.3 1.2 +1 -1 src/lib/libc/gen/tcgetpgrp.3 1.2 +1 -1 src/lib/libc/gen/tcsetpgrp.3 1.2 +1 -1 src/lib/libc/locale/euc.4 1.2 +3 -3 src/lib/libc/net/ethers.3 1.2 +1 -1 src/lib/libc/stdlib/abort.3 1.2 +2 -2 src/lib/libc/stdlib/alloca.3 1.5 +2 -2 src/lib/libc/stdlib/malloc.3 1.2 +1 -1 src/lib/libc/stdtime/time2posix.3 1.3 +2 -1 src/lib/libc/sys/execve.2 1.2 +1 -1 src/lib/libc/sys/getgid.2 1.2 +1 -1 src/lib/libc/sys/getpid.2 1.3 +2 -1 src/lib/libc/sys/getrlimit.2 1.4 +3 -3 src/lib/libc/sys/getsockopt.2 1.5 +3 -3 src/lib/libc/sys/listen.2 1.3 +2 -2 src/lib/libc/sys/mmap.2 1.3 +2 -2 src/lib/libc/sys/munmap.2 1.4 +3 -3 src/lib/libc/sys/rtprio.2 1.2 +1 -1 src/lib/libc/sys/setsid.2 1.2 +5 -4 src/lib/libc/sys/wait.2 1.2 +1 -1 src/lib/libcompat/4.1/ftime.3 1.3 +2 -2 src/lib/libcompat/4.1/vtimes.3 1.2 +2 -2 src/lib/libcompat/4.4/cuserid.3 1.2 +2 -2 src/lib/libipx/ipx.3 1.2 +1 -1 src/usr.bin/logname/logname.1 1.4 +3 -3 src/usr.sbin/lpr/lpd/lpd.8 1.3 +0 -1 src/libexec/makekey/makekey.8 1.2 +2 -1 src/usr.bin/mkfifo/mkfifo.1 1.7 +3 -3 src/usr.sbin/mtree/mtree.8 1.5 +1 -1 src/usr.sbin/named/named.8 1.4 +3 -2 src/usr.sbin/ncrcontrol/ncrcontrol.8 1.2 +2 -2 src/usr.bin/pagesize/pagesize.1 1.3 +1 -1 src/usr.sbin/pcvt/ispcvt/ispcvt.8 1.4 +2 -1 src/usr.sbin/pcvt/loadfont/loadfont.1 1.2 +1 -1 src/usr.sbin/pcvt/scon/scon.1 1.3 +3 -3 src/sbin/rdisc/rdisc.8 1.3 +2 -2 src/sbin/reboot/reboot.8 1.5 +3 -2 src/usr.sbin/rtprio/rtprio.1 1.5 +2 -2 src/usr.sbin/sendmail/src/sendmail.8 1.5 +2 -2 src/share/man/man4/cd.4 1.2 +1 -1 src/share/man/man4/esis.4 1.2 +1 -2 src/share/man/man4/fpa.4 1.2 +2 -2 src/share/man/man4/intro.4 1.3 +1 -1 src/share/man/man4/man4.i386/fdc.4 1.2 +4 -4 src/share/man/man4/man4.i386/fe.4 1.4 +3 -3 src/share/man/man4/man4.i386/lpt.4 1.3 +1 -1 src/share/man/man8/man8.i386/MAKEDEV.8 1.3 +1 -1 src/usr.bin/showmount/showmount.8 1.6 +3 -3 src/usr.bin/symorder/symorder.1 1.2 +1 -1 src/share/termcap/termcap.5 1.3 +3 -2 src/usr.bin/vacation/vacation.1 1.4 +4 -4 src/usr.sbin/ypbind/ypbind.8 1.3 +2 -2 src/usr.bin/ypcat/ypcat.1 1.3 +2 -2 src/usr.bin/ypmatch/ypmatch.1 1.4 +4 -4 src/gnu/usr.sbin/yppasswdd/yppasswdd.8 1.3 +3 -3 src/usr.sbin/yppush/yppush.8 1.3 +5 -5 src/usr.sbin/ypserv/ypserv.8 1.2 +3 -3 src/libexec/ypxfr/ypxfr.8 From owner-cvs-gnu Sun Feb 11 20:57:06 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA23303 for cvs-gnu-outgoing; Sun, 11 Feb 1996 20:57:06 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA23296 Sun, 11 Feb 1996 20:57:04 -0800 (PST) Date: Sun, 11 Feb 1996 20:57:04 -0800 (PST) From: Mike Pritchard Message-Id: <199602120457.UAA23296@freefall.freebsd.org> To: CVS-committers, cvs-gnu, cvs-lib, cvs-sbin, cvs-share, cvs-user, cvs-usrbin, cvs-usrsbin Subject: cvs commit: src/usr.bin/checknr checknr.1 src/gnu/usr.bin/cvs/mkmodules mkmodules.1 src/usr.bin/dnsquery dnsquery.1 src/usr.bin/gprof gprof.1 src/gnu/usr.bin/groff/tmac Makefile src/usr.bin/lex lexdoc.1 src/lib/libc/gen Makefile.inc fnmatch.3 src/lib/libc/rpc rstat_svc.8 src/lib/libtermcap Makefile src/usr.bin/ncftp ncftp.1 src/gnu/usr.bin/rcs/ci ci.1 src/sbin/route route.8 src/usr.sbin/routed routed.8 src/share/man/man7 mdoc.samples.7 src/share/man/man9 devfs_add_devsw.9 devfs_link.9 src/usr.bin/uuencode uuencode.1 uuencode.format.5 src/gnu/usr.bin/as as.1 src/gnu/usr.bin/awk awk.1 src/gnu/usr.bin/groff/addftinfo addftinfo.man src/gnu/usr.bin/groff/groff groff.man src/gnu/usr.bin/groff/grops grops.man src/gnu/usr.bin/groff/grotty grotty.man src/gnu/usr.bin/gzip gzip.1 src/lib/libc/string Makefile.inc src/secure/lib/libcipher Makefile src/lib/libipx ipx.3 src/lib/libncurses curs_inopts.3 src/usr.sbin/pkg_install/add pkg_add.1 src/usr.sbin/pkg_install/create pkg_create.1 src/usr.sbin/pkg_install/delete pkg_delete.1 src/usr.sbin/pkg_install/info pkg_info.1 src/gnu/usr.bin/texinfo/info info.1 Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk mpp 96/02/11 20:57:04 Modified: gnu/usr.bin/as as.1 gnu/usr.bin/awk awk.1 usr.bin/checknr checknr.1 gnu/usr.bin/cvs/mkmodules mkmodules.1 usr.bin/dnsquery dnsquery.1 usr.bin/gprof gprof.1 gnu/usr.bin/groff/addftinfo addftinfo.man gnu/usr.bin/groff/groff groff.man gnu/usr.bin/groff/grops grops.man gnu/usr.bin/groff/grotty grotty.man gnu/usr.bin/groff/tmac Makefile gnu/usr.bin/gzip gzip.1 usr.bin/lex lexdoc.1 lib/libc/gen Makefile.inc fnmatch.3 lib/libc/rpc rstat_svc.8 lib/libc/string Makefile.inc secure/lib/libcipher Makefile lib/libipx ipx.3 lib/libncurses curs_inopts.3 lib/libtermcap Makefile usr.bin/ncftp ncftp.1 usr.sbin/pkg_install/add pkg_add.1 usr.sbin/pkg_install/create pkg_create.1 usr.sbin/pkg_install/delete pkg_delete.1 usr.sbin/pkg_install/info pkg_info.1 gnu/usr.bin/rcs/ci ci.1 sbin/route route.8 usr.sbin/routed routed.8 share/man/man7 mdoc.samples.7 share/man/man9 devfs_add_devsw.9 devfs_link.9 gnu/usr.bin/texinfo/info info.1 usr.bin/uuencode uuencode.1 uuencode.format.5 Log: Another round of man page cleanups. Down to only about 100 items left to cleanup! :-) Revision Changes Path 1.4 +1 -1 src/gnu/usr.bin/as/as.1 1.3 +52 -52 src/gnu/usr.bin/awk/awk.1 1.2 +1 -1 src/usr.bin/checknr/checknr.1 1.2 +3 -3 src/gnu/usr.bin/cvs/mkmodules/mkmodules.1 1.2 +1 -2 src/usr.bin/dnsquery/dnsquery.1 1.4 +3 -3 src/usr.bin/gprof/gprof.1 1.2 +0 -1 src/gnu/usr.bin/groff/addftinfo/addftinfo.man 1.3 +2 -2 src/gnu/usr.bin/groff/groff/groff.man 1.3 +1 -1 src/gnu/usr.bin/groff/grops/grops.man 1.4 +1 -2 src/gnu/usr.bin/groff/grotty/grotty.man 1.8 +2 -2 src/gnu/usr.bin/groff/tmac/Makefile 1.5 +1 -1 src/gnu/usr.bin/gzip/gzip.1 1.3 +2 -2 src/usr.bin/lex/lexdoc.1 1.19 +1 -1 src/lib/libc/gen/Makefile.inc 1.2 +1 -2 src/lib/libc/gen/fnmatch.3 1.3 +2 -2 src/lib/libc/rpc/rstat_svc.8 1.6 +1 -1 src/lib/libc/string/Makefile.inc 1.4 +3 -3 src/secure/lib/libcipher/Makefile 1.3 +1 -3 src/lib/libipx/ipx.3 1.4 +3 -3 src/lib/libncurses/curs_inopts.3 1.15 +1 -1 src/lib/libtermcap/Makefile 1.7 +3 -3 src/usr.bin/ncftp/ncftp.1 1.13 +9 -9 src/usr.sbin/pkg_install/add/pkg_add.1 1.15 +6 -6 src/usr.sbin/pkg_install/create/pkg_create.1 1.6 +8 -8 src/usr.sbin/pkg_install/delete/pkg_delete.1 1.11 +5 -5 src/usr.sbin/pkg_install/info/pkg_info.1 1.3 +1 -2 src/gnu/usr.bin/rcs/ci/ci.1 1.2 +3 -2 src/sbin/route/route.8 1.4 +3 -2 src/usr.sbin/routed/routed.8 1.3 +1 -1 src/share/man/man7/mdoc.samples.7 1.3 +2 -2 src/share/man/man9/devfs_add_devsw.9 1.2 +2 -2 src/share/man/man9/devfs_link.9 1.2 +2 -1 src/gnu/usr.bin/texinfo/info/info.1 1.2 +1 -2 src/usr.bin/uuencode/uuencode.1 1.2 +0 -1 src/usr.bin/uuencode/uuencode.format.5 From owner-cvs-gnu Sun Feb 11 22:39:51 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA01642 for cvs-gnu-outgoing; Sun, 11 Feb 1996 22:39:51 -0800 (PST) Received: (from nate@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA01636 Sun, 11 Feb 1996 22:39:49 -0800 (PST) Date: Sun, 11 Feb 1996 22:39:49 -0800 (PST) From: Nate Williams Message-Id: <199602120639.WAA01636@freefall.freebsd.org> To: CVS-committers, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/sort - Imported sources Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk nate 96/02/11 22:39:49 src/gnu/usr.bin/sort - Imported sources Update of /home/ncvs/src/gnu/usr.bin/sort In directory freefall.freebsd.org:/a/nate/work/srt Revision/Branch: 1.1.1 Log Message: Sort from GNU textutils 1.14 Status: Vendor Tag: gnu Release Tags: textutils_1_14 U src/gnu/usr.bin/sort/COPYING C src/gnu/usr.bin/sort/error.c C src/gnu/usr.bin/sort/getopt.c C src/gnu/usr.bin/sort/getopt.h C src/gnu/usr.bin/sort/getopt1.c C src/gnu/usr.bin/sort/long-options.c C src/gnu/usr.bin/sort/long-options.h C src/gnu/usr.bin/sort/sort.1 C src/gnu/usr.bin/sort/sort.c C src/gnu/usr.bin/sort/system.h C src/gnu/usr.bin/sort/version.c C src/gnu/usr.bin/sort/version.h I src/gnu/usr.bin/sort/version.o N src/gnu/usr.bin/sort/xstrtod.h N src/gnu/usr.bin/sort/xstrtod.c N src/gnu/usr.bin/sort/error.h N src/gnu/usr.bin/sort/config.h 11 conflicts created by this import. Use the following command to help the merge: cvs checkout -jgnu:yesterday -jgnu src/gnu/usr.bin/sort From owner-cvs-gnu Sun Feb 11 22:45:48 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA02337 for cvs-gnu-outgoing; Sun, 11 Feb 1996 22:45:48 -0800 (PST) Received: (from nate@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA02328 Sun, 11 Feb 1996 22:45:46 -0800 (PST) Date: Sun, 11 Feb 1996 22:45:46 -0800 (PST) From: Nate Williams Message-Id: <199602120645.WAA02328@freefall.freebsd.org> To: CVS-committers, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/sort Makefile error.c getopt.c getopt.h getopt1.c long-options.c long-options.h sort.1 sort.c system.h version.c Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk nate 96/02/11 22:45:46 Modified: gnu/usr.bin/sort Makefile error.c getopt.c getopt.h getopt1.c long-options.c long-options.h sort.1 sort.c system.h version.c Log: Merged in FreeBSD changes. Revision Changes Path 1.4 +2 -7 src/gnu/usr.bin/sort/Makefile 1.4 +64 -51 src/gnu/usr.bin/sort/error.c 1.2 +141 -128 src/gnu/usr.bin/sort/getopt.c 1.2 +6 -6 src/gnu/usr.bin/sort/getopt.h 1.2 +2 -9 src/gnu/usr.bin/sort/getopt1.c 1.3 +6 -14 src/gnu/usr.bin/sort/long-options.c 1.2 +10 -1 src/gnu/usr.bin/sort/long-options.h 1.5 +2 -2 src/gnu/usr.bin/sort/sort.1 1.4 +623 -374 src/gnu/usr.bin/sort/sort.c 1.5 +49 -46 src/gnu/usr.bin/sort/system.h 1.2 +1 -11 src/gnu/usr.bin/sort/version.c From owner-cvs-gnu Mon Feb 12 06:48:47 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA03560 for cvs-gnu-outgoing; Mon, 12 Feb 1996 06:48:47 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA03553 Mon, 12 Feb 1996 06:48:45 -0800 (PST) Date: Mon, 12 Feb 1996 06:48:45 -0800 (PST) From: Bill Paul Message-Id: <199602121448.GAA03553@freefall.freebsd.org> To: CVS-committers, cvs-gnu Subject: cvs commit: src/gnu/usr.sbin Makefile Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk wpaul 96/02/12 06:48:45 Modified: gnu/usr.sbin Makefile Log: Remove yppasswdd. (It's going away in a minute.) Revision Changes Path 1.3 +2 -2 src/gnu/usr.sbin/Makefile From owner-cvs-gnu Mon Feb 12 06:50:26 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA03714 for cvs-gnu-outgoing; Mon, 12 Feb 1996 06:50:26 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA03707 Mon, 12 Feb 1996 06:50:24 -0800 (PST) Date: Mon, 12 Feb 1996 06:50:24 -0800 (PST) From: Bill Paul Message-Id: <199602121450.GAA03707@freefall.freebsd.org> To: CVS-committers, cvs-gnu Subject: cvs commit: src/gnu/usr.sbin/yppasswdd Makefile pw_copy.c pw_util.c update.c yppasswd.h yppasswdd.8 yppasswdd.c yppwupdate Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk wpaul 96/02/12 06:50:24 Removed: gnu/usr.sbin/yppasswdd Makefile pw_copy.c pw_util.c update.c yppasswd.h yppasswdd.8 yppasswdd.c yppwupdate Log: Toss the old yppasswdd into the attic. From owner-cvs-gnu Mon Feb 12 11:25:22 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA20325 for cvs-gnu-outgoing; Mon, 12 Feb 1996 11:25:22 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA20318 Mon, 12 Feb 1996 11:25:20 -0800 (PST) Date: Mon, 12 Feb 1996 11:25:20 -0800 (PST) From: Mike Pritchard Message-Id: <199602121925.LAA20318@freefall.freebsd.org> To: CVS-committers, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/groff/tmac doc-syms Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk mpp 96/02/12 11:25:19 Modified: gnu/usr.bin/groff/tmac doc-syms Log: Added a ".Fx" macro to the mdoc package. Usage: .Fx version.rel { , . ; : ( ) [ ] Example: The .Nm xyzzy command first appeared in .Fx 2.2 . Produces: The xyzzy command first appeared in FreeBSD 2.2. Suggested by wollman. Revision Changes Path 1.4 +18 -0 src/gnu/usr.bin/groff/tmac/doc-syms From owner-cvs-gnu Mon Feb 12 11:33:27 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA21414 for cvs-gnu-outgoing; Mon, 12 Feb 1996 11:33:27 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA21405 Mon, 12 Feb 1996 11:33:25 -0800 (PST) Date: Mon, 12 Feb 1996 11:33:25 -0800 (PST) From: Mike Pritchard Message-Id: <199602121933.LAA21405@freefall.freebsd.org> To: CVS-committers, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/groff/tmac doc-syms Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk mpp 96/02/12 11:33:25 Branch: gnu/usr.bin/groff/tmac RELENG_2_1_0 Modified: gnu/usr.bin/groff/tmac doc-syms Log: Brought in changes from main branch: added .Fx macro. Revision Changes Path 1.1.1.1.4.2 +18 -0 src/gnu/usr.bin/groff/tmac/doc-syms From owner-cvs-gnu Tue Feb 13 05:17:53 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA10695 for cvs-gnu-outgoing; Tue, 13 Feb 1996 05:17:53 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA10685 Tue, 13 Feb 1996 05:17:51 -0800 (PST) Date: Tue, 13 Feb 1996 05:17:51 -0800 (PST) From: Joerg Wunsch Message-Id: <199602131317.FAA10685@freefall.freebsd.org> To: CVS-committers, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk joerg 96/02/13 05:17:50 Modified: gnu/usr.bin/perl/lib Makefile Added: gnu/usr.bin/perl/lib gethostname.pl Log: Add a small `gethostname' package. It uses __sysctl(2), and thus avoids the kludgy backquotes that are required by now (`hostname`). Usage: require "gethostname.pl"; $thishost = &gethostname'gethostname; Revision Changes Path 1.8 +3 -3 src/gnu/usr.bin/perl/lib/Makefile From owner-cvs-gnu Tue Feb 13 05:30:45 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA11291 for cvs-gnu-outgoing; Tue, 13 Feb 1996 05:30:45 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA11280 Tue, 13 Feb 1996 05:30:43 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id FAA16387; Tue, 13 Feb 1996 05:30:33 -0800 To: Joerg Wunsch cc: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile In-reply-to: Your message of "Tue, 13 Feb 1996 05:17:51 PST." <199602131317.FAA10685@freefall.freebsd.org> Date: Tue, 13 Feb 1996 05:30:33 -0800 Message-ID: <16385.824218233@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk > require "gethostname.pl"; > $thishost = &gethostname'gethostname; Only in perl could you have a construct so chillingly bizarre as this and get away with it! :-) Jordan From owner-cvs-gnu Tue Feb 13 05:55:51 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12281 for cvs-gnu-outgoing; Tue, 13 Feb 1996 05:55:51 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA12276 Tue, 13 Feb 1996 05:55:49 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0tmLCt-0003wkC; Tue, 13 Feb 96 05:55 PST Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id OAA00450; Tue, 13 Feb 1996 14:55:44 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: "Jordan K. Hubbard" cc: Joerg Wunsch , CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile In-reply-to: Your message of "Tue, 13 Feb 1996 05:30:33 PST." <16385.824218233@time.cdrom.com> Date: Tue, 13 Feb 1996 14:55:44 +0100 Message-ID: <448.824219744@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk > > require "gethostname.pl"; > > $thishost = &gethostname'gethostname; > > Only in perl could you have a construct so chillingly bizarre as this > and get away with it! :-) On the other hand, the fact that perl programs compress less than say, C or tcl, is an indication of a more well balanced use of the character set. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-gnu Tue Feb 13 08:40:36 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA21725 for cvs-gnu-outgoing; Tue, 13 Feb 1996 08:40:36 -0800 (PST) Received: from xanadu.umiacs.UMD.EDU (xanadu.umiacs.umd.edu [128.8.120.51]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA21704 Tue, 13 Feb 1996 08:40:24 -0800 (PST) Received: by xanadu.umiacs.UMD.EDU (8.7.3/UMIACS-0.9/04-05-88) id LAA19791; Tue, 13 Feb 1996 11:40:11 -0500 (EST) Date: Tue, 13 Feb 1996 11:40:11 -0500 (EST) From: Mike Grupenhoff To: Poul-Henning Kamp cc: "Jordan K. Hubbard" , Joerg Wunsch , CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile In-Reply-To: <448.824219744@critter.tfs.com> Message-ID: X-Phase-of-the-Moon: Waning Crescent (38% of Full) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk > > > require "gethostname.pl"; > > > $thishost = &gethostname'gethostname; Perhaps you should just name the sub "main'gethostname", so calls would simply be require 'gethostname.pl'; $thishost = &gethostname; mike From owner-cvs-gnu Tue Feb 13 09:37:31 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA25545 for cvs-gnu-outgoing; Tue, 13 Feb 1996 09:37:31 -0800 (PST) Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA25540 Tue, 13 Feb 1996 09:37:27 -0800 (PST) Received: from localhost.shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.3/8.7.3) with SMTP id JAA04698; Tue, 13 Feb 1996 09:36:55 -0800 (PST) Message-Id: <199602131736.JAA04698@precipice.shockwave.com> To: Joerg Wunsch cc: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile In-reply-to: Your message of "Tue, 13 Feb 1996 05:17:51 PST." <199602131317.FAA10685@freefall.freebsd.org> Date: Tue, 13 Feb 1996 09:36:55 -0800 From: Paul Traina Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk This is non-standard (albiet nice to have), which will make porting away from FBSD more difficult. Caveat Emptor. From: Joerg Wunsch Subject: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile joerg 96/02/13 05:17:50 Modified: gnu/usr.bin/perl/lib Makefile Added: gnu/usr.bin/perl/lib gethostname.pl Log: Add a small `gethostname' package. It uses __sysctl(2), and thus avoids the kludgy backquotes that are required by now (`hostname`). Usage: require "gethostname.pl"; $thishost = &gethostname'gethostname; Revision Changes Path 1.8 +3 -3 src/gnu/usr.bin/perl/lib/Makefile From owner-cvs-gnu Tue Feb 13 09:47:58 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA25813 for cvs-gnu-outgoing; Tue, 13 Feb 1996 09:47:58 -0800 (PST) Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA25800 Tue, 13 Feb 1996 09:47:48 -0800 (PST) Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id KAA22891; Tue, 13 Feb 1996 10:50:27 -0700 Date: Tue, 13 Feb 1996 10:50:27 -0700 From: Nate Williams Message-Id: <199602131750.KAA22891@rocky.sri.MT.net> To: Paul Traina Cc: Joerg Wunsch , CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile In-Reply-To: <199602131736.JAA04698@precipice.shockwave.com> References: <199602131317.FAA10685@freefall.freebsd.org> <199602131736.JAA04698@precipice.shockwave.com> Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk Paul Traina writes: > This is non-standard (albiet nice to have), which will make porting away > from FBSD more difficult. Caveat Emptor. Unless you bring in the package with anything exported from FreeBSD. Nate From owner-cvs-gnu Tue Feb 13 14:35:17 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA13634 for cvs-gnu-outgoing; Tue, 13 Feb 1996 14:35:17 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA13622 Tue, 13 Feb 1996 14:35:06 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA06308; Tue, 13 Feb 1996 23:35:01 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA18849; Tue, 13 Feb 1996 23:35:00 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id XAA05878; Tue, 13 Feb 1996 23:22:32 +0100 (MET) From: J Wunsch Message-Id: <199602132222.XAA05878@uriah.heep.sax.de> Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile To: kashmir@umiacs.UMD.EDU (Mike Grupenhoff) Date: Tue, 13 Feb 1996 23:22:31 +0100 (MET) Cc: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Mike Grupenhoff" at Feb 13, 96 11:40:11 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk As Mike Grupenhoff wrote: > > > > > > require "gethostname.pl"; > > > > $thishost = &gethostname'gethostname; > > Perhaps you should just name the sub "main'gethostname", so calls would > simply be > > require 'gethostname.pl'; > $thishost = &gethostname; I though ``package main;'' is reserved for the base source file? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-gnu Tue Feb 13 15:21:44 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA17405 for cvs-gnu-outgoing; Tue, 13 Feb 1996 15:21:44 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA17397 Tue, 13 Feb 1996 15:21:33 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA07812; Wed, 14 Feb 1996 00:21:28 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id AAA19138; Wed, 14 Feb 1996 00:21:28 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id AAA06395; Wed, 14 Feb 1996 00:00:29 +0100 (MET) From: J Wunsch Message-Id: <199602132300.AAA06395@uriah.heep.sax.de> Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile To: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Date: Wed, 14 Feb 1996 00:00:29 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199602131750.KAA22891@rocky.sri.MT.net> from "Nate Williams" at Feb 13, 96 10:50:27 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk As Nate Williams wrote: > > Paul Traina writes: > > This is non-standard (albiet nice to have), which will make porting away > > from FBSD more difficult. Caveat Emptor. > > Unless you bring in the package with anything exported from FreeBSD. The problem is that there's no generic way for hooking gethostname(3) into a Perl script. I rather consider this an omission of Perl. Anyway, the simple solution: ------8<-----8<-----8<-----8<-----8<----- package gethostname; sub gethostname { return `hostname`; } 1; ------8<-----8<-----8<-----8<-----8<----- should always do the trick. My concern was to avoid the overhead from the additional process, and the fact that i don't like to call unneeded external programs at all in setuid scripts. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-gnu Tue Feb 13 15:27:51 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA17737 for cvs-gnu-outgoing; Tue, 13 Feb 1996 15:27:51 -0800 (PST) Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA17732 Tue, 13 Feb 1996 15:27:48 -0800 (PST) Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id QAA24492; Tue, 13 Feb 1996 16:30:19 -0700 Date: Tue, 13 Feb 1996 16:30:19 -0700 From: Nate Williams Message-Id: <199602132330.QAA24492@rocky.sri.MT.net> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile In-Reply-To: <199602132300.AAA06395@uriah.heep.sax.de> References: <199602131750.KAA22891@rocky.sri.MT.net> <199602132300.AAA06395@uriah.heep.sax.de> Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk > > Paul Traina writes: > > > This is non-standard (albiet nice to have), which will make porting away > > > from FBSD more difficult. Caveat Emptor. > > > > Unless you bring in the package with anything exported from FreeBSD. > > The problem is that there's no generic way for hooking gethostname(3) > into a Perl script. > > should always do the trick. My concern was to avoid the overhead from > the additional process, and the fact that i don't like to call > unneeded external programs at all in setuid scripts. Isn't calling sysctl an additiona/external program? Nate From owner-cvs-gnu Tue Feb 13 16:21:53 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA20025 for cvs-gnu-outgoing; Tue, 13 Feb 1996 16:21:53 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA20014 Tue, 13 Feb 1996 16:21:46 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id BAA09070; Wed, 14 Feb 1996 01:21:38 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id BAA20157; Wed, 14 Feb 1996 01:21:37 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id AAA09609; Wed, 14 Feb 1996 00:55:17 +0100 (MET) From: J Wunsch Message-Id: <199602132355.AAA09609@uriah.heep.sax.de> Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile To: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Date: Wed, 14 Feb 1996 00:55:15 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199602132330.QAA24492@rocky.sri.MT.net> from "Nate Williams" at Feb 13, 96 04:30:19 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk As Nate Williams wrote: > > My concern was to avoid the overhead from > > the additional process, and the fact that i don't like to call > > unneeded external programs at all in setuid scripts. > > Isn't calling sysctl an additiona/external program? I'm using __sysctl(2). It took me half an hour to figure out how to use it from Perl, and i'd like to save this time for other people needing the same. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-gnu Tue Feb 13 17:39:18 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA24436 for cvs-gnu-outgoing; Tue, 13 Feb 1996 17:39:18 -0800 (PST) Received: from xanadu.umiacs.UMD.EDU (xanadu.umiacs.umd.edu [128.8.120.51]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA24423 Tue, 13 Feb 1996 17:39:14 -0800 (PST) Received: by xanadu.umiacs.UMD.EDU (8.7.3/UMIACS-0.9/04-05-88) id UAA22702; Tue, 13 Feb 1996 20:39:04 -0500 (EST) Date: Tue, 13 Feb 1996 20:39:04 -0500 (EST) From: Mike Grupenhoff To: Joerg Wunsch cc: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile In-Reply-To: <199602132222.XAA05878@uriah.heep.sax.de> Message-ID: X-Phase-of-the-Moon: Waning Crescent (38% of Full) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk On Tue, 13 Feb 1996, J Wunsch wrote: > > Perhaps you should just name the sub "main'gethostname", so calls would > > simply be > > > > require 'gethostname.pl'; > > $thishost = &gethostname; > > I though ``package main;'' is reserved for the base source file? Actually, I meant for you to keep the package name as "gethostname", but name the sub within it "main'gethostname". This "pushes" the sub into the main package. See open2.pl (in the perl lib dir) for an example. Also, if you don't need any variables outside of the sub itself, a package isn't even necessary. See find.pl. mike From owner-cvs-gnu Tue Feb 13 19:18:12 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA00724 for cvs-gnu-outgoing; Tue, 13 Feb 1996 19:18:12 -0800 (PST) Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA00699 Tue, 13 Feb 1996 19:17:58 -0800 (PST) Received: from localhost.shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.3/8.7.3) with SMTP id TAA09897; Tue, 13 Feb 1996 19:17:14 -0800 (PST) Message-Id: <199602140317.TAA09897@precipice.shockwave.com> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile In-reply-to: Your message of "Wed, 14 Feb 1996 00:00:29 +0100." <199602132300.AAA06395@uriah.heep.sax.de> Date: Tue, 13 Feb 1996 19:17:14 -0800 From: Paul Traina Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk Why don't you just add it to perl? :-) From: J Wunsch Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile As Nate Williams wrote: > > Paul Traina writes: > > This is non-standard (albiet nice to have), which will make porting away > > from FBSD more difficult. Caveat Emptor. > > Unless you bring in the package with anything exported from FreeBSD. The problem is that there's no generic way for hooking gethostname(3) into a Perl script. I rather consider this an omission of Perl. Anyway, the simple solution: ------8<-----8<-----8<-----8<-----8<----- package gethostname; sub gethostname { return `hostname`; } 1; ------8<-----8<-----8<-----8<-----8<----- should always do the trick. My concern was to avoid the overhead from the additional process, and the fact that i don't like to call unneeded external programs at all in setuid scripts. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-gnu Tue Feb 13 23:53:01 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA22034 for cvs-gnu-outgoing; Tue, 13 Feb 1996 23:53:01 -0800 (PST) Received: from irz201.inf.tu-dresden.de (irz201.inf.tu-dresden.de [141.76.1.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id XAA21988 Tue, 13 Feb 1996 23:52:43 -0800 (PST) Received: from sax.sax.de by irz201.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA08826; Wed, 14 Feb 1996 08:51:52 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA22583; Wed, 14 Feb 1996 08:51:52 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id IAA13566; Wed, 14 Feb 1996 08:35:42 +0100 (MET) From: J Wunsch Message-Id: <199602140735.IAA13566@uriah.heep.sax.de> Subject: Re: cvs commit: src/gnu/usr.bin/perl/lib gethostname.pl Makefile To: CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Date: Wed, 14 Feb 1996 08:35:41 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Mike Grupenhoff" at Feb 13, 96 08:39:04 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-gnu@FreeBSD.ORG Precedence: bulk As Mike Grupenhoff wrote: > > > I though ``package main;'' is reserved for the base source file? > > Actually, I meant for you to keep the package name as "gethostname", but name > the sub within it "main'gethostname". This "pushes" the sub into the main > package. See open2.pl (in the perl lib dir) for an example. > > Also, if you don't need any variables outside of the sub itself, a package > isn't even necessary. See find.pl. Well, thanks, i think i'll change it. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)