summaryrefslogtreecommitdiff
path: root/comms/scmxx/patches
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2002-03-28 07:53:49 +0000
committerkleink <kleink@pkgsrc.org>2002-03-28 07:53:49 +0000
commit1b33fe7e026137fb7749a01dbb1da4fe20a3fea7 (patch)
tree1c17c146178d0a26eaf315b2b10429db393d024e /comms/scmxx/patches
parent06c065be8c21f03801d49a0050e4abdb32c21dd1 (diff)
downloadpkgsrc-1b33fe7e026137fb7749a01dbb1da4fe20a3fea7.tar.gz
Update scmxx to 0.5.16.1; changes since last revision include:
0.5.16.1 (2002-03-28) changed some variable name to be C89 compliant (see stdin(3)) direct messages to stderr instead of stdout so only data goes to stdout print a slot number message line when receiving bmp,mid,vcs,vcf (especially with "all")
Diffstat (limited to 'comms/scmxx/patches')
-rw-r--r--comms/scmxx/patches/patch-aa56
-rw-r--r--comms/scmxx/patches/patch-ab14
2 files changed, 0 insertions, 70 deletions
diff --git a/comms/scmxx/patches/patch-aa b/comms/scmxx/patches/patch-aa
deleted file mode 100644
index 875f5c629e4..00000000000
--- a/comms/scmxx/patches/patch-aa
+++ /dev/null
@@ -1,56 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2002/03/27 22:44:29 kleink Exp $
-
---- common.c.orig Wed Mar 27 22:34:02 2002
-+++ common.c Wed Mar 27 23:34:49 2002
-@@ -198,19 +198,19 @@
- int open_myFile_ro(){
- int myfd;
- char *myFILE_p=myFILE;
-- static int stdin = 0;
-+ static int use_stdin = 0;
-
- if (!strcmp(myFILE,"-")) {
-- stdin=1;
-+ use_stdin=1;
- }
-- if (strlen(myFILE)!=0 && !stdin){
-+ if (strlen(myFILE)!=0 && !use_stdin){
- myfd=open(myFILE,O_RDONLY);
- if(myfd==-1){errexit("Could not access %s, aborting\n",myFILE);}
- else{myprintf(0,"Accessing %s\n",myFILE);}
- }else{
-- myfd=0;
-+ myfd=STDIN_FILENO;
- sprintf(myFILE_p,"stdin");
-- stdin=1;
-+ use_stdin=1;
- }
- return(myfd);
- }
-@@ -218,21 +218,21 @@
- int open_myFile_rw(){
- int myfd;
- char *myFILE_p=myFILE;
-- static int stdout = 0;
-+ static int use_stdout = 0;
-
- if (!strcmp(myFILE,"-")) {
-- stdout=1;
-+ use_stdout=1;
- }
-- if (strlen(myFILE)!=0 && !stdout){
-+ if (strlen(myFILE)!=0 && !use_stdout){
- myfd=open(myFILE ,O_RDWR|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR|S_IRGRP);
- if (myfd==-1){
- close(myfd);
- errexit("%s could not be created.\n",myFILE);
- }else{myprintf(0,"%s created.\n",myFILE);}
- }else{
-- myfd=1;
-+ myfd=STDOUT_FILENO;
- sprintf(myFILE_p,"stdout");
-- stdout=1;
-+ use_stdout=1;
- }
- return(myfd);
- }
diff --git a/comms/scmxx/patches/patch-ab b/comms/scmxx/patches/patch-ab
deleted file mode 100644
index 6e2176a54be..00000000000
--- a/comms/scmxx/patches/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2002/03/27 22:44:29 kleink Exp $
-
---- scmxx.c.orig Wed Mar 27 22:34:03 2002
-+++ scmxx.c Wed Mar 27 23:40:15 2002
-@@ -345,8 +345,7 @@
- va_list arg_list;
- va_start(arg_list,output);
- if (verbose_level<=SET_VERBOSE) {
-- vfprintf(stdout,output,arg_list);
-+ vfprintf(stderr,output,arg_list);
- }
- va_end(arg_list);
-- fflush(stdout);
- }