Comments (6)
From [email protected]
Possible documentation bug in perlipc.
(Please ignore this if it's been fixed or if I'm wrong!)
In the section "Unix-Domain TCP Clients and Servers" the following example
is used:
unless ( -S '/dev/log' ) {
die "something's wicked with the print system";
}
I could be wrong, but IIRC /dev/log belongs to syslogd and is unrelated
to the print system (/var/run/printer on my system).
Perl Info
Site configuration information for perl 5.00503:
Configured by markm at $Date: 1999/05/05 19:42:40 $.
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=freebsd, osvers=4.0-current, archname=i386-freebsd
uname='freebsd freefall.freebsd.org 4.0-current freebsd 4.0-current #0: $Date: 1999/05/05 19:42:40 $'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='undef', gccversion=egcs-2.91.66 19990314 (egcs-1.1.2 release)
cppflags=''
ccflags =''
stdchar='char', d_stdstdio=undef, usevfork=true
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E'
libpth=/usr/lib
libs=-lm -lc -lcrypt
libc=/usr/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.3
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fpic', lddlflags='-shared'
Locally applied patches:
@INC for perl 5.00503:
/usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005
.
Environment for perl 5.00503:
HOME=/home/lyonsm
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/home/lyonsm/bin
PERL_BADLANG (unset)
SHELL=/bin/bash
from perl5.
From @rspier
[cleaning up old tickets]
patch against perl-current
Inline Patch
--- perlipc.pod.orig Wed Jul 19 23:26:14 2000
+++ perlipc.pod Wed Jul 19 23:27:17 2000
@@ -839,3 +839,3 @@
unless ( -S '/dev/log' ) {
- die "something's wicked with the print system";
+ die "something's wicked with the log system";
}
from perl5.
From @floatingatoll
R.
diff -c /root/perl-current/pod/ /root/perl-patched/pod/perlipc.pod
*** /root/perl-current/pod/perlipc.pod Fri Apr 28 11:19:06 2000
--- /root/perl-patched/pod/perlipc.pod Sun Jul 23 01:25:31 2000
***************
*** 837,843 ****
You can test for these with Perl's B<-S> file test:
unless ( -S '/dev/log' ) {
! die "something's wicked with the print system";
}
Here's a sample Unix-domain client:
--- 837,843 ----
You can test for these with Perl's B<-S> file test:
unless ( -S '/dev/log' ) {
! die "something's wicked with the log system";
}
Here's a sample Unix-domain client:
from perl5.
From @jhi
unless \( \-S '/dev/log' \) \{
! die "something's wicked with the log system";
Thanks.
from perl5.
From [Unknown Contact. See original ticket]
patch submitted to p5p
from perl5.
From The RT System itself
patch submitted to p5p
from perl5.
Related Issues (20)
- [doc] join with undef values HOT 7
- The Perl debugger does not honor 'use strict' for expression evaluation HOT 2
- perl5db.pl: handling of undefined watch_expressions in _DB__handle_watch_expressions() HOT 1
- tests fail when building [email protected] with intel oneapi C compiler
- UNIVERSAL.pm docfix HOT 1
- [MSWin] win32/GNUmakefile CFLAGS needs "-Wno-error=implicit-function-declaration" if building perl with gcc-14.1.0 HOT 10
- ExtUtils::CBuilder fails to compile modules with warnings when -Wall is part of Perl's compile time flags HOT 4
- [doc] Don't use two dashes at the top of man pages HOT 1
- [doc] perlsyn doesn't have any "push my ..." examples HOT 10
- feature 'extra_paired_delimiters': Please remove U+0706/U+0707 from the list HOT 2
- B::Deparse: blead incorrectly deparses __LINE__ HOT 5
- perldb requires Term::Rendezvous if the 'noTTY' option is set, but it is unavailable (anywhere?) HOT 2
- perlpolicy supported version updates have been very inconsistent
- makerel should always set --format=ustar
- Perl on Solaris Sparc incorrectly adds -L/usr/lib/sparcv9 into ldflags and lddlflags HOT 4
- Makefiles are missing targets, can't run `make distclean` HOT 15
- [doc] Deëxperimented features are not mentioned in perldelta HOT 1
- `local $h{$k}` doesn't remove previously non-existing key from shared hashes HOT 2
- [doc] use VERSION - "use 5.12;" vs. "use strict;" and "use 5.35.0;" vs. "use warnings;" HOT 3
- `call_argv` fails to call `SAVETMP`/`FREETMP` when creating mortal argument HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perl5.