Skip to content

Commit 41cde2a

Browse files
committed
Don't call DEBUG_printf from thread initializer (Issue #1529)
1 parent 614e48e commit 41cde2a

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Changes in CUPS v2.4.17 (YYYY-MM-DD)
3636
- Fixed a bug in the IPP backend when SNMP was disabled.
3737
- Fixed a crash bug in the rastertoepson filter.
3838
- Fixed a bug in cgiCheckVariables.
39+
- Fixed a debug printf bug on Windows (Issue #1529)
3940

4041

4142
Changes in CUPS v2.4.16 (2025-12-04)

cups/globals.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Global variable access routines for CUPS.
33
*
4-
* Copyright © 2020-2024 by OpenPrinting.
4+
* Copyright © 2020-2026 by OpenPrinting.
55
* Copyright © 2007-2019 by Apple Inc.
66
* Copyright © 1997-2007 by Easy Software Products, all rights reserved.
77
*
@@ -281,8 +281,6 @@ cups_globals_alloc(void)
281281
// User profile (home) directory
282282
char *homeptr; // Pointer into homedir
283283

284-
DEBUG_printf(("cups_globals_alloc: USERPROFILE=\"%s\"", userprofile));
285-
286284
if (!strncmp(userprofile, "C:\\", 3))
287285
userprofile += 2;
288286

@@ -293,8 +291,6 @@ cups_globals_alloc(void)
293291
if (*homeptr == '\\')
294292
*homeptr = '/';
295293
}
296-
297-
DEBUG_printf(("cups_globals_alloc: homedir=\"%s\"", homedir));
298294
}
299295

300296
cg->home = homedir;

0 commit comments

Comments
 (0)