]> git.pld-linux.org Git - packages/cups.git/commitdiff
- Fix bug with options with leading spaces (patch from CNV).
authorkloczek <kloczek@pld-linux.org>
Tue, 23 Oct 2001 09:26:12 +0000 (09:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups-options.patch -> 1.1

cups-options.patch [new file with mode: 0644]

diff --git a/cups-options.patch b/cups-options.patch
new file mode 100644 (file)
index 0000000..39eb0af
--- /dev/null
@@ -0,0 +1,18 @@
+*** cups-1.1.10/cups/options.c~  Wed Sep 13 19:47:00 2000
+--- cups-1.1.10/cups/options.c   Sat Sep 30 21:29:57 2000
+***************
+*** 442,447 ****
+--- 442,454 ----
+    copyarg     = strdup(arg);
+    ptr         = copyarg;
+  
++   /*
++    * skip leading spaces
++    */
++ 
++   while (isspace(*ptr))
++     ++ptr;
++ 
+    while (*ptr != '\0')
+    {
+     /*
\ No newline at end of file
This page took 0.096957 seconds and 4 git commands to generate.