File: spelling-errors

package info (click to toggle)
libprivileges-drop-perl 1.03-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 128 kB
  • sloc: perl: 63; makefile: 7
file content (26 lines) | stat: -rw-r--r-- 1,162 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Fix spelling errors in the perldoc
 Fix a few spelling errors in the perldoc of Privileges::Drop.
Author: Michael Stapelberg <michael@stapelberg.de>
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=75669
Last-Updated: 2012-03-10

--- libprivileges-drop-perl-1.03.orig/lib/Privileges/Drop.pm
+++ libprivileges-drop-perl-1.03/lib/Privileges/Drop.pm
@@ -29,7 +29,7 @@ this, currently only test on on Linux.
   drop_uidgid(1000, 1000);
 
   # Drop privileges to user nobody looking up gid and uid with getpwname
-  # This also set the enviroment variables USER, LOGNAME, HOME and SHELL. 
+  # This also set the environment variables USER, LOGNAME, HOME and SHELL. 
   drop_privileges('nobody');
 
 =head1 METHODS
@@ -155,7 +155,7 @@ sub drop_privileges {
 
 =head1 NOTES
 
-As this module only uses Perl's build in function, it relies on them to work
+As this module only uses Perl's built-in functions, it relies on them to work
 correctly. That means setting $GID and $EGID should also call setgroups(),
 something that might not have been the case before Perl 5.004. So if you are 
 running an older version, Proc::UID might be a better choice.