Dear all:
In vertion DCMTK3.6.2,dcmprscu.cc
updateJoblist() is a little different, what is the purpose of the following code?
currentName.find_first_not_of("1234567890",prefixSize) == (currentName.size() - postfixSize)
Best regards
DCMTK3.6.2 dcmprscu updateJobList
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: DCMTK3.6.2 dcmprscu updateJobList
It prevents an error that could otherwise occur if there was a print job with a file name that is effictively a prefix of the file name of another print job. In that case one of the print jobs could be processed twice while the other one would not be processed at all, leading to an error and a dealock.
Who is online
Users browsing this forum: No registered users and 1 guest