]> git.ipfire.org Git - thirdparty/cups.git/commit - berkeley/lpc.c
The command-line applications did not convert command-line
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 5 Sep 2006 19:43:11 +0000 (19:43 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 5 Sep 2006 19:43:11 +0000 (19:43 +0000)
commit156dd8aa898f68df90aca210ff73cf4278438a6d
treeac0816d85ea16b6554db019e63d553447bdeb463
parenta30100598698ba13ae6acb69f810f2cbb50acd8c
The command-line applications did not convert command-line
strings to UTF-8 as needed (STR #1958)

berkeley/lpc.c:
berkeley/lpq.c:
berkeley/lpr.c:
berkeley/lprm.c:
systemv/accept.c:
systemv/cancel.c:
systemv/cupsaddsmb.c:
systemv/cupstestdsc.c:
systemv/cupstestppd.c:
systemv/lp.c:
systemv/lpadmin.c:
systemv/lpinfo.c:
systemv/lpmove.c:
systemv/lpoptions.c:
systemv/lppasswd.c:
systemv/lpstat.c:
    - main(): Add argv to _cupsSetLocale() call.

cups/i18n.h:
    - Add argv argument to _cupsSetLocale().

cups/langprintf.c:
    - _cupsSetLocale(): Add argv argument and code to convert
      argv[1] to argv[argc-1] to UTF-8 as needed.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5925 7a7537e8-13f0-0310-91df-b6672ffda945
18 files changed:
berkeley/lpc.c
berkeley/lpq.c
berkeley/lpr.c
berkeley/lprm.c
cups/i18n.h
cups/langprintf.c
systemv/accept.c
systemv/cancel.c
systemv/cupsaddsmb.c
systemv/cupstestdsc.c
systemv/cupstestppd.c
systemv/lp.c
systemv/lpadmin.c
systemv/lpinfo.c
systemv/lpmove.c
systemv/lpoptions.c
systemv/lppasswd.c
systemv/lpstat.c