aboutsummaryrefslogtreecommitdiff
path: root/sysutils/LPRng/files/patch-src-common-user_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/LPRng/files/patch-src-common-user_auth.c')
-rw-r--r--sysutils/LPRng/files/patch-src-common-user_auth.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/LPRng/files/patch-src-common-user_auth.c b/sysutils/LPRng/files/patch-src-common-user_auth.c
new file mode 100644
index 000000000000..e62fd9994e11
--- /dev/null
+++ b/sysutils/LPRng/files/patch-src-common-user_auth.c
@@ -0,0 +1,12 @@
+--- src/common/user_auth.c.orig Fri Nov 14 05:05:33 2003
++++ src/common/user_auth.c Sat Feb 28 17:09:30 2004
+@@ -1043,8 +1043,8 @@
+ DEBUG1("Pgp_get_pgppassfd: PGPPASS '%s'", s );
+ *pgppass = s;
+ } else if( (s = getenv( "PGPPASSFD" )) ){
+- t = 0;
+ char buffer[128];
++ t = 0;
+ pgppassfd = strtol(s,&t,10);
+ if( pgppassfd <= 0 || !t || *t || fstat(pgppassfd, &statb) ){
+ Errorcode = JABORT;