a2ps-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: a2ps/lib liba2ps.h,1.1.1.1.2.2,1.1.1.1.2.3 options.c,1.1.1.1,1.1.1.


From: Franck Lombardi <address@hidden>
Subject: CVS: a2ps/lib liba2ps.h,1.1.1.1.2.2,1.1.1.1.2.3 options.c,1.1.1.1,1.1.1.1.2.1
Date: Wed, 04 Sep 2002 05:15:46 -0400

Update of /cvsroot/a2ps/a2ps/lib
In directory subversions:/tmp/cvs-serv23890/lib

Modified Files:
      Tag: a2ps-4-1x
        liba2ps.h options.c 
Log Message:
* lib/options.c: If `-SFeature' then remove Feature



Index: liba2ps.h
===================================================================
RCS file: /cvsroot/a2ps/a2ps/lib/liba2ps.h,v
retrieving revision 1.1.1.1.2.2
retrieving revision 1.1.1.1.2.3
diff -C2 -r1.1.1.1.2.2 -r1.1.1.1.2.3

Index: options.c
===================================================================
RCS file: /cvsroot/a2ps/a2ps/lib/options.c,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -r1.1.1.1 -r1.1.1.1.2.1
*** options.c   4 Mar 2002 18:46:25 -0000       1.1.1.1
--- options.c   4 Sep 2002 09:15:43 -0000       1.1.1.1.2.1
***************
*** 462,468 ****
          char *value;
          value = optarg + strcspn (optarg, " \t:=");
!         /* If `-SFeature:' then remove Feature,
!            If `-SFeature', pass the empty value to libppd,
!            it may decide the right thing to do,
             otherwise (-SFeature:value) pass to libppd */
          if (*value)
--- 462,466 ----
          char *value;
          value = optarg + strcspn (optarg, " \t:=");
!         /* If `-SFeature:' or `-SFeature' then remove Feature,
             otherwise (-SFeature:value) pass to libppd */
          if (*value)
***************
*** 470,482 ****
              *value = '\0';
              value ++;
-             if (*value)
-               setpagedevice (job, optarg, value);
-             else
-               delpagedevice (job, optarg);
            }
          else
!           {
!             setpagedevice (job, optarg, NULL);
!           }
        }
        break;
--- 468,476 ----
              *value = '\0';
              value ++;
            }
+         if (*value)
+           setpagedevice (job, optarg, value);
          else
!           delpagedevice (job, optarg);
        }
        break;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]