diff options
Diffstat (limited to 'sysutils/LPRng/files')
-rw-r--r-- | sysutils/LPRng/files/patch-src-common-lpf.c | 23 | ||||
-rw-r--r-- | sysutils/LPRng/files/patch-src-common-user_auth.c | 12 |
2 files changed, 12 insertions, 23 deletions
diff --git a/sysutils/LPRng/files/patch-src-common-lpf.c b/sysutils/LPRng/files/patch-src-common-lpf.c deleted file mode 100644 index 8177fa57d687..000000000000 --- a/sysutils/LPRng/files/patch-src-common-lpf.c +++ /dev/null @@ -1,23 +0,0 @@ ---- src/common/lpf.c.orig Wed Apr 16 03:37:42 2003 -+++ src/common/lpf.c Thu Dec 18 18:58:29 2003 -@@ -188,7 +188,7 @@ - int crlf; /* change lf to CRLF */ - - void getargs( int argc, char *argv[], char *envp[] ); --void log( char *msg, ... ); -+void lpf_log( char *msg, ... ); - void logerr( char *msg, ... ); - void logerr_die( char *msg, ... ); - void fatal( char *msg, ... ); -@@ -312,9 +312,9 @@ - } - - #ifdef HAVE_STDARGS --void log(char *msg, ...) -+void lpf_log(char *msg, ...) - #else --void log( va_alist ) va_dcl -+void lpf_log( va_alist ) va_dcl - #endif - { - #ifndef HAVE_STDARGS 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; |