Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Jobs query shows inexplicable result #4652

Closed

Description

@michaelrsweet

Version: 1.7.2
CUPS.org User: hungerburg

A search for "152134" from the jobs page (calls jobs.cgi) returns the job from attached file. For no obvious reason, the string is not there� Not serious, interesting still.

Activity

  1. michaelrsweet commented on Jun 30, 2015

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    The time-at-completed value is 1435152134, which is getting matched...

    Need to mask off any time-at-xxx values.

  2. michaelrsweet commented on Jun 30, 2015

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Fixed in Subversion repository.

  3. michaelrsweet commented on Jun 30, 2015

    @michaelrsweet
    ContributorAuthor

    "str4652.patch":

    Index: cgi-bin/ipp-var.c

    --- cgi-bin/ipp-var.c (revision 12766)
    +++ cgi-bin/ipp-var.c (working copy)
    @@ -222,6 +222,9 @@
    break;

           case IPP_TAG_INTEGER :
    
    •     if (!strncmp(ippGetName(attr), "time-at-", 8))
      
    •       break;          /\* Ignore time-at-xxx _/
      
      • for (i = 0; !add && i < attr->num_values; i ++)
        {
          char    buf[255];   /_ Number buffer */
        
  4. added this to the Stable milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions