1 diff -Nru enlightenment-0.16.6/src/E.h enlightenment-0.16.6.new/src/E.h
2 --- enlightenment-0.16.6/src/E.h Fri Jul 28 19:23:34 2000
3 +++ enlightenment-0.16.6.new/src/E.h Fri Jul 20 05:34:54 2001
5 #define Esetenv(var, val, overwrite) \
7 static char envvar[FILEPATH_LEN_MAX]; \
8 - Esnprintf(envvar, FILEPATH_LEN_MAX, "%s=%s", var, val);\
9 + snprintf(envvar, FILEPATH_LEN_MAX, "%s=%s", var, val);\
13 diff -Nru enlightenment-0.16.6/src/actions.c enlightenment-0.16.6.new/src/actions.c
14 --- enlightenment-0.16.6/src/actions.c Fri Jul 28 21:13:13 2000
15 +++ enlightenment-0.16.6.new/src/actions.c Fri Jul 20 05:18:15 2001
20 - Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
21 + snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
22 ActionClassToRemove->ref_count);
23 DIALOG_OK(_("ActionClass Error!"), stuff);
29 - Esnprintf(stuff, sizeof(stuff), _("About Enlightenment %s"),
30 + snprintf(stuff, sizeof(stuff), _("About Enlightenment %s"),
31 ENLIGHTENMENT_VERSION);
32 DialogSetTitle(d, stuff);
35 ibl = ListAllIconboxes(&num);
38 - Esnprintf(s, sizeof(s), "_IB_%i", num);
39 + snprintf(s, sizeof(s), "_IB_%i", num);
40 AUDIO_PLAY("SOUND_NEW_ICONBOX");
41 ib = CreateIconbox(s);
47 - Esnprintf(s, sizeof(s), "%s/.zoom_warn", UserEDir());
48 + snprintf(s, sizeof(s), "%s/.zoom_warn", UserEDir());
52 diff -Nru enlightenment-0.16.6/src/alert.c enlightenment-0.16.6.new/src/alert.c
53 --- enlightenment-0.16.6/src/alert.c Fri Jul 28 19:23:34 2000
54 +++ enlightenment-0.16.6.new/src/alert.c Fri Jul 20 05:16:12 2001
59 - Evsnprintf(text, 10240, fmt, ap);
60 + snprintf(text, 10240, fmt, ap);
62 AUDIO_PLAY("SOUND_ALERT");
64 diff -Nru enlightenment-0.16.6/src/borders.c enlightenment-0.16.6.new/src/borders.c
65 --- enlightenment-0.16.6/src/borders.c Fri Jul 28 21:13:13 2000
66 +++ enlightenment-0.16.6.new/src/borders.c Fri Jul 20 05:18:21 2001
68 if (b->part[i].iclass->external)
70 ewin->bits[i].win = 0;
71 - Esnprintf(s, sizeof(s), "request imageclass %s",
72 + snprintf(s, sizeof(s), "request imageclass %s",
73 b->part[i].iclass->name);
75 await = Emalloc(sizeof(AwaitIclass));
80 - Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
81 + snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
83 DIALOG_OK(_("Border Error!"), stuff);
85 diff -Nru enlightenment-0.16.6/src/buttons.c enlightenment-0.16.6.new/src/buttons.c
86 --- enlightenment-0.16.6/src/buttons.c Fri Jul 28 19:23:34 2000
87 +++ enlightenment-0.16.6.new/src/buttons.c Fri Jul 20 05:20:09 2001
92 - Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
93 + snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
95 DIALOG_OK(_("Button Error!"), stuff);
97 diff -Nru enlightenment-0.16.6/src/cmclass.c enlightenment-0.16.6.new/src/cmclass.c
98 --- enlightenment-0.16.6/src/cmclass.c Fri Jul 28 19:23:34 2000
99 +++ enlightenment-0.16.6.new/src/cmclass.c Fri Jul 20 05:19:23 2001
104 - Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
105 + snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
107 DIALOG_OK(_("ColorModClass Error!"), stuff);
109 diff -Nru enlightenment-0.16.6/src/comms.c enlightenment-0.16.6.new/src/comms.c
110 --- enlightenment-0.16.6/src/comms.c Fri Jul 28 19:23:34 2000
111 +++ enlightenment-0.16.6.new/src/comms.c Fri Jul 20 05:20:06 2001
114 comms_win = XCreateSimpleWindow(disp, root.win, -100, -100, 5, 5, 0, 0, 0);
115 XSelectInput(disp, comms_win, StructureNotifyMask | SubstructureNotifyMask);
116 - Esnprintf(s, sizeof(s), "WINID %8x", (int)comms_win);
117 + snprintf(s, sizeof(s), "WINID %8x", (int)comms_win);
118 XA_ENLIGHTENMENT_COMMS = XInternAtom(disp, "ENLIGHTENMENT_COMMS", False);
119 XChangeProperty(disp, comms_win, XA_ENLIGHTENMENT_COMMS, XA_STRING, 8,
120 PropModeReplace, (unsigned char *)s, strlen(s));
122 ev.xclient.format = 8;
123 for (i = 0; i < len + 1; i += 12)
125 - Esnprintf(ss, sizeof(ss), "%8x", (int)comms_win);
126 + snprintf(ss, sizeof(ss), "%8x", (int)comms_win);
127 for (j = 0; j < 12; j++)
129 ss[8 + j] = s[i + j];
131 cl = MakeClient(win);
134 - Esnprintf(st, sizeof(st), "%8x", (int)win);
135 + snprintf(st, sizeof(st), "%8x", (int)win);
136 cl->name = duplicate(st);
137 AddItem((void *)cl, st, cl->win, LIST_TYPE_CLIENT);
138 XSelectInput(disp, win, StructureNotifyMask | SubstructureNotifyMask);
142 SetDefaultTheme(buf);
143 - Esnprintf(sss, sizeof(sss), "restart_theme %s", buf);
144 + snprintf(sss, sizeof(sss), "restart_theme %s", buf);
150 if (desks.desk[i].bg == bg)
152 - Esnprintf(buf2, sizeof(buf2), "%i\n", i);
153 + snprintf(buf2, sizeof(buf2), "%i\n", i);
157 @@ -684,11 +684,11 @@
158 (Mod5Mask | ControlMask | ShiftMask)) mod =
160 if (a->action->params)
161 - Esnprintf(buf2, sizeof(buf2), "%s %i %i %s\n",
162 + snprintf(buf2, sizeof(buf2), "%s %i %i %s\n",
163 key, mod, a->action->Type,
166 - Esnprintf(buf2, sizeof(buf2), "%s %i %i\n", key,
167 + snprintf(buf2, sizeof(buf2), "%s %i %i\n", key,
168 mod, a->action->Type);
172 sscanf(s, "%*s %1000s", w);
173 bg = (Background *) FindItem(w, 0, LIST_FINDBY_NAME,
174 LIST_TYPE_BACKGROUND);
175 - Esnprintf(buf, sizeof(buf), "(null)");
176 + snprintf(buf, sizeof(buf), "(null)");
177 if ((bg) && (bg->cmclass))
178 - Esnprintf(buf, sizeof(buf), "%s", bg->cmclass->name);
179 + snprintf(buf, sizeof(buf), "%s", bg->cmclass->name);
182 else if (!strcmp(w, "del_colmod"))
184 sscanf(s, "%*s %1000s", w);
185 cm = (ColorModifierClass *) FindItem(w, 0, LIST_FINDBY_NAME,
186 LIST_TYPE_COLORMODIFIER);
187 - Esnprintf(buf, sizeof(buf), "(null)");
188 + snprintf(buf, sizeof(buf), "(null)");
192 @@ -872,33 +872,33 @@
193 sscanf(s, "%*s %1000s", w);
194 cm = (ColorModifierClass *) FindItem(w, 0, LIST_FINDBY_NAME,
195 LIST_TYPE_COLORMODIFIER);
196 - Esnprintf(buf, sizeof(buf), "(null)");
197 + snprintf(buf, sizeof(buf), "(null)");
200 - Esnprintf(buf, sizeof(buf), "%i", (int)(cm->red.num));
201 + snprintf(buf, sizeof(buf), "%i", (int)(cm->red.num));
202 for (i = 0; i < cm->red.num; i++)
204 - Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->red.px[i]));
205 + snprintf(buf2, sizeof(buf2), " %i", (int)(cm->red.px[i]));
207 - Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->red.py[i]));
208 + snprintf(buf2, sizeof(buf2), " %i", (int)(cm->red.py[i]));
211 - Esnprintf(buf2, sizeof(buf2), "\n%i", (int)(cm->green.num));
212 + snprintf(buf2, sizeof(buf2), "\n%i", (int)(cm->green.num));
214 for (i = 0; i < cm->green.num; i++)
216 - Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->green.px[i]));
217 + snprintf(buf2, sizeof(buf2), " %i", (int)(cm->green.px[i]));
219 - Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->green.py[i]));
220 + snprintf(buf2, sizeof(buf2), " %i", (int)(cm->green.py[i]));
223 - Esnprintf(buf2, sizeof(buf2), "\n%i", (int)(cm->red.num));
224 + snprintf(buf2, sizeof(buf2), "\n%i", (int)(cm->red.num));
226 for (i = 0; i < cm->blue.num; i++)
228 - Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->blue.px[i]));
229 + snprintf(buf2, sizeof(buf2), " %i", (int)(cm->blue.px[i]));
231 - Esnprintf(buf2, sizeof(buf2), " %i", (int)(cm->blue.py[i]));
232 + snprintf(buf2, sizeof(buf2), " %i", (int)(cm->blue.py[i]));
236 @@ -991,11 +991,11 @@
237 sscanf(s, "%*s %1000s", w);
238 bg = (Background *) FindItem(w, 0, LIST_FINDBY_NAME,
239 LIST_TYPE_BACKGROUND);
240 - Esnprintf(buf, sizeof(buf), "(null)");
241 + snprintf(buf, sizeof(buf), "(null)");
244 if ((bg->bg.file) && (bg->top.file))
245 - Esnprintf(buf, sizeof(buf),
246 + snprintf(buf, sizeof(buf),
247 "%s %i %i %i %s %i %i %i %i %i %i %s %i %i %i %i %i",
248 bg->name, bg->bg.solid.r, bg->bg.solid.g,
249 bg->bg.solid.b, bg->bg.file, bg->bg.tile,
250 @@ -1004,7 +1004,7 @@
251 bg->top.keep_aspect, bg->top.xjust, bg->top.yjust,
252 bg->top.xperc, bg->top.yperc);
253 else if ((!(bg->bg.file)) && (bg->top.file))
254 - Esnprintf(buf, sizeof(buf),
255 + snprintf(buf, sizeof(buf),
256 "%s %i %i %i %s %i %i %i %i %i %i %s %i %i %i %i %i",
257 bg->name, bg->bg.solid.r, bg->bg.solid.g,
258 bg->bg.solid.b, "(null)", bg->bg.tile,
259 @@ -1013,7 +1013,7 @@
260 bg->top.keep_aspect, bg->top.xjust, bg->top.yjust,
261 bg->top.xperc, bg->top.yperc);
262 else if ((bg->bg.file) && (!(bg->top.file)))
263 - Esnprintf(buf, sizeof(buf),
264 + snprintf(buf, sizeof(buf),
265 "%s %i %i %i %s %i %i %i %i %i %i %s %i %i %i %i %i",
266 bg->name, bg->bg.solid.r, bg->bg.solid.g,
267 bg->bg.solid.b, bg->bg.file, bg->bg.tile,
268 @@ -1022,7 +1022,7 @@
269 bg->top.keep_aspect, bg->top.xjust, bg->top.yjust,
270 bg->top.xperc, bg->top.yperc);
271 else if ((!(bg->bg.file)) && (!(bg->top.file)))
272 - Esnprintf(buf, sizeof(buf),
273 + snprintf(buf, sizeof(buf),
274 "%s %i %i %i %s %i %i %i %i %i %i %s %i %i %i %i %i",
275 bg->name, bg->bg.solid.r, bg->bg.solid.g,
276 bg->bg.solid.b, "(null)", bg->bg.tile,
277 @@ -1491,7 +1491,7 @@
281 - Esnprintf(buf, sizeof(buf),
282 + snprintf(buf, sizeof(buf),
283 "FOCUSMODE: %i\n" "DOCKAPP_SUPPORT: %i\n" "DOCKDIRMODE: %i\n"
284 "ICONDIRMODE: %i\n" "MOVEMODE: %i\n" "RESIZEMODE: %i\n"
285 "SLIDEMODE: %i\n" "CLEANUPSLIDE: %i\n" "MAPSLIDE: %i\n"
286 @@ -1555,7 +1555,7 @@
287 char buf[FILEPATH_LEN_MAX];
290 - Esnprintf(buf, sizeof(buf), "Number of desks is %d\n",
291 + snprintf(buf, sizeof(buf), "Number of desks is %d\n",
295 @@ -1607,7 +1607,7 @@
296 ewin->client.icon_name = none;
299 - Esnprintf(buf, sizeof(buf),
300 + snprintf(buf, sizeof(buf),
301 "***CLIENT***\n" "CLIENT_WIN_ID: %8x\n"
302 "FRAME_WIN_ID: %8x\n"
303 "FRAME_X,Y: %5i , %5i\n"
304 @@ -1686,7 +1686,7 @@
308 - Esnprintf(buf, sizeof(buf),
309 + snprintf(buf, sizeof(buf),
310 "***CLIENT***\n" "CLIENT_WIN_ID: %8x\n"
311 "FRAME_WIN_ID: %8x\n"
312 "FRAME_X,Y: %5i , %5i\n"
313 @@ -1775,7 +1775,7 @@
317 - Esnprintf(buf, sizeof(buf), "No matching EWin found\n");
318 + snprintf(buf, sizeof(buf), "No matching EWin found\n");
322 @@ -1791,22 +1791,22 @@
323 char buf4[FILEPATH_LEN_MAX];
324 char buf5[FILEPATH_LEN_MAX];
326 - Esnprintf(buf, sizeof(buf), "stuff:\n");
327 + snprintf(buf, sizeof(buf), "stuff:\n");
330 - Esnprintf(buf2, sizeof(buf2), "mode.ewin - %8x\n",
331 + snprintf(buf2, sizeof(buf2), "mode.ewin - %8x\n",
332 mode.ewin->client.win);
337 - Esnprintf(buf3, sizeof(buf3), "mode.focuswin - %8x\n",
338 + snprintf(buf3, sizeof(buf3), "mode.focuswin - %8x\n",
339 mode.focuswin->client.win);
342 if (mode.realfocuswin)
344 - Esnprintf(buf4, sizeof(buf4), "mode.realfocuswin - %8x\n",
345 + snprintf(buf4, sizeof(buf4), "mode.realfocuswin - %8x\n",
346 mode.realfocuswin->client.win);
349 @@ -1816,7 +1816,7 @@
351 if (mode.context_ewin)
353 - Esnprintf(buf5, sizeof(buf5), "context_ewin - %8x\n",
354 + snprintf(buf5, sizeof(buf5), "context_ewin - %8x\n",
355 mode.context_ewin->client.win);
358 @@ -1846,7 +1846,7 @@
359 lst[i]->client.icon_name = none;
362 - Esnprintf(buf, sizeof(buf),
363 + snprintf(buf, sizeof(buf),
364 "***CLIENT***\n" "CLIENT_WIN_ID: %8x\n"
365 "FRAME_WIN_ID: %8x\n"
366 "FRAME_X,Y: %5i , %5i\n"
367 @@ -1928,7 +1928,7 @@
371 - Esnprintf(buf, sizeof(buf),
372 + snprintf(buf, sizeof(buf),
373 "***CLIENT***\n" "CLIENT_WIN_ID: %8x\n"
374 "FRAME_WIN_ID: %8x\n"
375 "FRAME_X,Y: %5i , %5i\n"
376 @@ -2049,7 +2049,7 @@
378 char buf[FILEPATH_LEN_MAX];
380 - Esnprintf(buf, sizeof(buf),
381 + snprintf(buf, sizeof(buf),
382 _("Received Unknown Client Message.\n"
383 "Client Name: %s\n" "Client Version: %s\n"
384 "Message Contents:\n\n" "%s\n"), s1, s2, s);
385 diff -Nru enlightenment-0.16.6/src/config.c enlightenment-0.16.6.new/src/config.c
386 --- enlightenment-0.16.6/src/config.c Thu Aug 9 19:37:20 2001
387 +++ enlightenment-0.16.6.new/src/config.c Fri Jul 20 05:20:52 2001
388 @@ -3261,7 +3261,7 @@
392 - Esnprintf(execline, sizeof(execline), "%s " "-P " "-nostdinc " "-undef "
393 + snprintf(execline, sizeof(execline), "%s " "-P " "-nostdinc " "-undef "
395 "-include %s/config/definitions " "-I%s "
396 "-D ENLIGHTENMENT_VERSION=%s " "-D ENLIGHTENMENT_ROOT=%s "
397 @@ -3289,7 +3289,7 @@
398 root.h, root.depth, def_user, def_home, def_shell, path,
401 - Esnprintf(execline, sizeof(execline), "%s/cached/cfg/%s.preparsed",
402 + snprintf(execline, sizeof(execline), "%s/cached/cfg/%s.preparsed",
405 fpin = fopen(execline, "r");
406 @@ -3523,20 +3523,20 @@
408 /* look in ~/.enlightenment first */
410 - Esnprintf(s, sizeof(s), "%s/%s", UserEDir(), file);
411 + snprintf(s, sizeof(s), "%s/%s", UserEDir(), file);
412 if (findLocalizedFile(s) || isfile(s))
413 EDBUG_RETURN(duplicate(s));
415 /* look in theme dir */
416 - Esnprintf(s, sizeof(s), "%s/%s", themepath, file);
417 + snprintf(s, sizeof(s), "%s/%s", themepath, file);
418 if (findLocalizedFile(s) || isfile(s))
419 EDBUG_RETURN(duplicate(s));
421 /* look in system config dir */
423 - Esnprintf(s, sizeof(s), "%s/%s", CONFIGDATADIR, file);
424 + snprintf(s, sizeof(s), "%s/config/%s", ENLIGHTENMENT_ROOT, file);
426 - Esnprintf(s, sizeof(s), "%s/config/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
427 + snprintf(s, sizeof(s), "%s/config/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
430 if (findLocalizedFile(s) || isfile(s))
431 @@ -3573,15 +3573,15 @@
434 /* look in ~/.enlightenment first */
435 - Esnprintf(s, sizeof(s), "%s/%s", UserEDir(), file);
436 + snprintf(s, sizeof(s), "%s/%s", UserEDir(), file);
437 if (findLocalizedFile(s) || isfile(s))
438 EDBUG_RETURN(duplicate(s));
440 /* look in system config dir */
442 - Esnprintf(s, sizeof(s), "%s/%s", CONFIGDATADIR, file);
443 + snprintf(s, sizeof(s), "%s/config/%s", ENLIGHTENMENT_ROOT, file);
445 - Esnprintf(s, sizeof(s), "%s/config/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
446 + snprintf(s, sizeof(s), "%s/config/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
449 if (findLocalizedFile(s) || isfile(s))
450 @@ -3602,7 +3602,7 @@
452 EDBUG(5, "LoadConfigFile");
454 - Esnprintf(s, sizeof(s), "%s", f);
455 + snprintf(s, sizeof(s), "%s", f);
459 @@ -3621,7 +3621,7 @@
463 - Esnprintf(s, sizeof(s), "%s/cached/cfg/%s.preparsed", UserCacheDir(), s2);
464 + snprintf(s, sizeof(s), "%s/cached/cfg/%s.preparsed", UserCacheDir(), s2);
466 if (strstr(f, "control.cfg"))
468 @@ -3664,14 +3664,14 @@
469 EDBUG(5, "LoadEConfig");
472 - Esnprintf(s, sizeof(s), "%s/", UserEDir());
473 + snprintf(s, sizeof(s), "%s/", UserEDir());
475 Fnlib_add_dir(pFnlibData, s);
478 - Esnprintf(s, sizeof(s), "%s/", CONFIGDATADIR);
479 + snprintf(s, sizeof(s), "%s/config/", ENLIGHTENMENT_ROOT);
481 - Esnprintf(s, sizeof(s), "%s/config/", __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
482 + snprintf(s, sizeof(s), "%s/config/", __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
485 Fnlib_add_dir(pFnlibData, s);
486 @@ -3686,7 +3686,7 @@
487 fprintf(f, "%s\n", themelocation);
490 - Esnprintf(ss, sizeof(ss), "%s/user_theme.cfg", UserEDir());
491 + snprintf(ss, sizeof(ss), "%s/user_theme.cfg", UserEDir());
495 @@ -3725,7 +3725,7 @@
498 strcpy(themepath, theme);
499 - Esnprintf(s, sizeof(s), "%s/", theme);
500 + snprintf(s, sizeof(s), "%s/", theme);
502 Fnlib_add_dir(pFnlibData, s);
504 diff -Nru enlightenment-0.16.6/src/coords.c enlightenment-0.16.6.new/src/coords.c
505 --- enlightenment-0.16.6/src/coords.c Wed Jul 26 20:00:46 2000
506 +++ enlightenment-0.16.6.new/src/coords.c Fri Jul 20 05:22:18 2001
511 - Esnprintf(s, sizeof(s), "%i x %i (%i, %i)", w, h, x, y);
512 + snprintf(s, sizeof(s), "%i x %i (%i, %i)", w, h, x, y);
513 TextSize(tc, 0, 0, 0, s, &cw, &ch, 17);
515 cw += (ic->padding.left + ic->padding.right);
516 diff -Nru enlightenment-0.16.6/src/cursors.c enlightenment-0.16.6.new/src/cursors.c
517 --- enlightenment-0.16.6/src/cursors.c Wed Jul 26 20:00:46 2000
518 +++ enlightenment-0.16.6.new/src/cursors.c Fri Jul 20 05:22:27 2001
523 - Esnprintf(msk, sizeof(msk), "%s.mask", img);
524 + snprintf(msk, sizeof(msk), "%s.mask", img);
532 - Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
533 + snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
535 DIALOG_OK(_("ECursor Error!"), stuff);
537 diff -Nru enlightenment-0.16.6/src/desktops.c enlightenment-0.16.6.new/src/desktops.c
538 --- enlightenment-0.16.6/src/desktops.c Fri Jul 28 21:13:13 2000
539 +++ enlightenment-0.16.6.new/src/desktops.c Fri Jul 20 05:23:08 2001
544 - Esnprintf(s, sizeof(s),
545 + snprintf(s, sizeof(s),
546 "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c"
547 "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c"
548 "%c%c%c%c%c%c" "%c%c%c%c%c%c" "%c%c%c%c%c%c",
553 - Esnprintf(s, sizeof(s), "%i", i);
554 + snprintf(s, sizeof(s), "%i", i);
562 - Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
563 + snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
565 DIALOG_OK(_("Background Error!"), stuff);
567 @@ -1047,7 +1047,7 @@
569 for (i = 0; i < ENLIGHTENMENT_CONF_NUM_DESKTOPS; i++)
571 - Esnprintf(s, sizeof(s), "DRAGBAR_DESKTOP_%i", i);
572 + snprintf(s, sizeof(s), "DRAGBAR_DESKTOP_%i", i);
573 ac = FindItem(s, 0, LIST_FINDBY_NAME, LIST_TYPE_ACLASS);
576 @@ -1056,15 +1056,15 @@
577 a = CreateAction(EVENT_MOUSE_DOWN, 0, 0, 0, 1, 0, NULL, NULL);
580 - Esnprintf(param, 3, "%i", i);
581 + snprintf(param, 3, "%i", i);
582 AddToAction(a, ACTION_DESKTOP_DRAG, param);
583 a = CreateAction(EVENT_MOUSE_DOWN, 0, 0, 0, 3, 0, NULL, NULL);
585 - Esnprintf(s, sizeof(s), "deskmenu");
586 + snprintf(s, sizeof(s), "deskmenu");
587 AddToAction(a, ACTION_SHOW_MENU, duplicate(s));
588 a = CreateAction(EVENT_MOUSE_DOWN, 0, 0, 0, 2, 0, NULL, NULL);
590 - Esnprintf(s, sizeof(s), "taskmenu");
591 + snprintf(s, sizeof(s), "taskmenu");
592 AddToAction(a, ACTION_SHOW_MENU, duplicate(s));
595 @@ -1090,7 +1090,7 @@
596 "applications currently running.\n"));
599 - Esnprintf(s, sizeof(s), "RAISEBUTTON_DESKTOP_%i", i);
600 + snprintf(s, sizeof(s), "RAISEBUTTON_DESKTOP_%i", i);
601 ac2 = FindItem(s, 0, LIST_FINDBY_NAME, LIST_TYPE_ACLASS);
604 @@ -1099,14 +1099,14 @@
605 a = CreateAction(EVENT_MOUSE_UP, 1, 0, 1, 0, 0, NULL, NULL);
608 - Esnprintf(param, 3, "%i", i);
609 + snprintf(param, 3, "%i", i);
610 AddToAction(a, ACTION_DESKTOP_RAISE, param);
613 ("Click here to raise this desktop\n"
616 - Esnprintf(s, sizeof(s), "LOWERBUTTON_DESKTOP_%i", i);
617 + snprintf(s, sizeof(s), "LOWERBUTTON_DESKTOP_%i", i);
618 ac3 = FindItem(s, 0, LIST_FINDBY_NAME, LIST_TYPE_ACLASS);
621 @@ -1115,7 +1115,7 @@
622 a = CreateAction(EVENT_MOUSE_UP, 1, 0, 1, 0, 0, NULL, NULL);
625 - Esnprintf(param, 3, "%i", i);
626 + snprintf(param, 3, "%i", i);
627 AddToAction(a, ACTION_DESKTOP_LOWER, param);
630 diff -Nru enlightenment-0.16.6/src/dialog.c enlightenment-0.16.6.new/src/dialog.c
631 --- enlightenment-0.16.6/src/dialog.c Fri Jul 28 21:13:13 2000
632 +++ enlightenment-0.16.6.new/src/dialog.c Fri Jul 20 05:16:32 2001
637 - Evsnprintf(text, 10240, fmt, ap);
638 + snprintf(text, 10240, fmt, ap);
646 - Evsnprintf(text, 10240, fmt, ap);
647 + snprintf(text, 10240, fmt, ap);
649 ASSIGN_ALERT(_("Attention !!!"), _("OK"), " ", " ");
655 - Evsnprintf(text, 10240, fmt, ap);
656 + snprintf(text, 10240, fmt, ap);
658 DialogSetText(d, text);
660 diff -Nru enlightenment-0.16.6/src/dock.c enlightenment-0.16.6.new/src/dock.c
661 --- enlightenment-0.16.6/src/dock.c Wed Jul 26 20:00:46 2000
662 +++ enlightenment-0.16.6.new/src/dock.c Fri Jul 20 05:24:34 2001
667 - Esnprintf(id, sizeof(id), "%i", ewin->client.win);
668 + snprintf(id, sizeof(id), "%i", ewin->client.win);
670 ic = FindItem("DEFAULT_DOCK_BUTTON", 0, LIST_FINDBY_NAME, LIST_TYPE_ICLASS);
671 if (mode.dockstartx >= 0)
672 diff -Nru enlightenment-0.16.6/src/draw.c enlightenment-0.16.6.new/src/draw.c
673 --- enlightenment-0.16.6/src/draw.c Fri Jul 28 21:13:13 2000
674 +++ enlightenment-0.16.6.new/src/draw.c Fri Jul 20 05:23:46 2001
678 XDrawLine(disp, root.win, gc, x1, y1, x2, y1); \
679 - Esnprintf(str, sizeof(str), "%i", (x2) - (x1) + 1); \
680 + snprintf(str, sizeof(str), "%i", (x2) - (x1) + 1); \
681 XDrawString(disp, root.win, gc, ((x1) + (x2)) / 2, (y1) - 10, str, strlen(str)); \
683 #define DRAW_V_ARROW(y1, y2, x1) \
687 XDrawLine(disp, root.win, gc, x1, y1, x1, y2); \
688 - Esnprintf(str, sizeof(str), "%i", (y2) - (y1) + 1); \
689 + snprintf(str, sizeof(str), "%i", (y2) - (y1) + 1); \
690 XDrawString(disp, root.win, gc, x1 + 10, ((y1) + (y2)) / 2, str, strlen(str)); \
692 #define DO_DRAW_MODE_1(aa, bb, cc, dd) \
693 diff -Nru enlightenment-0.16.6/src/file.c enlightenment-0.16.6.new/src/file.c
694 --- enlightenment-0.16.6/src/file.c Fri Jul 28 21:13:13 2000
695 +++ enlightenment-0.16.6.new/src/file.c Fri Jul 20 05:24:41 2001
699 n_calls = (unsigned long)time(NULL) + (unsigned long)getpid();
700 - Esnprintf(s, 1024, "%s/TMP_%Xl", UserEDir(), n_calls);
701 + snprintf(s, 1024, "%s/TMP_%Xl", UserEDir(), n_calls);
705 diff -Nru enlightenment-0.16.6/src/gnome.c enlightenment-0.16.6.new/src/gnome.c
706 --- enlightenment-0.16.6/src/gnome.c Wed Jul 26 20:00:46 2000
707 +++ enlightenment-0.16.6.new/src/gnome.c Fri Jul 20 05:24:28 2001
709 atom_set = XInternAtom(disp, XA_WIN_WORKSPACE_NAMES, False);
710 for (i = 0; i < mode.numdesktops; i++)
712 - Esnprintf(s, sizeof(s), "%i", i);
713 + snprintf(s, sizeof(s), "%i", i);
714 names[i] = duplicate(s);
716 if (XStringListToTextProperty(names, mode.numdesktops, &text))
717 diff -Nru enlightenment-0.16.6/src/groups.c enlightenment-0.16.6.new/src/groups.c
718 --- enlightenment-0.16.6/src/groups.c Wed Jul 26 20:00:46 2000
719 +++ enlightenment-0.16.6.new/src/groups.c Fri Jul 20 05:24:38 2001
724 - Esnprintf(s, sizeof(s), "%s/...e_session-XXXXXX.groups.%i", UserEDir(),
725 + snprintf(s, sizeof(s), "%s/...e_session-XXXXXX.groups.%i", UserEDir(),
733 - Esnprintf(s, sizeof(s), "%s/...e_session-XXXXXX.groups.%i", UserEDir(),
734 + snprintf(s, sizeof(s), "%s/...e_session-XXXXXX.groups.%i", UserEDir(),
738 diff -Nru enlightenment-0.16.6/src/iclass.c enlightenment-0.16.6.new/src/iclass.c
739 --- enlightenment-0.16.6/src/iclass.c Wed Jul 26 20:00:46 2000
740 +++ enlightenment-0.16.6.new/src/iclass.c Fri Jul 20 05:25:42 2001
745 - Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
746 + snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
748 DIALOG_OK(_("ImageClass Error!"), stuff);
750 diff -Nru enlightenment-0.16.6/src/iconify.c enlightenment-0.16.6.new/src/iconify.c
751 --- enlightenment-0.16.6/src/iconify.c Fri Jul 28 19:23:35 2000
752 +++ enlightenment-0.16.6.new/src/iconify.c Fri Jul 20 05:25:36 2001
753 @@ -1029,7 +1029,7 @@
757 - Esnprintf(s, sizeof(s), "%s/icondefs.cfg", UserEDir());
758 + snprintf(s, sizeof(s), "%s/icondefs.cfg", UserEDir());
762 @@ -2376,7 +2376,7 @@
763 p_menu->name = duplicate("__IBOX_MENU");
765 FindItem("DEFAULT", 0, LIST_FINDBY_NAME, LIST_TYPE_MENU_STYLE);
766 - Esnprintf(s, sizeof(s), "iconbox %s", ib->name);
767 + snprintf(s, sizeof(s), "iconbox %s", ib->name);
768 mi = CreateMenuItem(_("This Iconbox Settings..."), NULL, ACTION_CONFIG, s,
770 AddItemToMenu(p_menu, mi);
771 @@ -2386,7 +2386,7 @@
773 AddItemToMenu(p_menu, mi);
774 AddItem(p_menu, p_menu->name, 0, LIST_TYPE_MENU);
775 - Esnprintf(s, sizeof(s), "named %s", p_menu->name);
776 + snprintf(s, sizeof(s), "named %s", p_menu->name);
780 diff -Nru enlightenment-0.16.6/src/ipc.c enlightenment-0.16.6.new/src/ipc.c
781 --- enlightenment-0.16.6/src/ipc.c Fri Jul 28 21:13:13 2000
782 +++ enlightenment-0.16.6.new/src/ipc.c Fri Jul 20 05:25:39 2001
785 for (i = 0; cfg_panels[i]; i += 2)
787 - Esnprintf(buf2, sizeof(buf2), "%s : %s\n", cfg_panels[i],
788 + snprintf(buf2, sizeof(buf2), "%s : %s\n", cfg_panels[i],
792 @@ -737,10 +737,10 @@
796 - Esnprintf(buf, sizeof(buf), "Error: no window found");
797 + snprintf(buf, sizeof(buf), "Error: no window found");
800 - Esnprintf(buf, sizeof(buf), "Error: no parameters");
801 + snprintf(buf, sizeof(buf), "Error: no parameters");
805 @@ -771,20 +771,20 @@
807 if (mode.kde_support)
809 - Esnprintf(buf, sizeof(buf), "kde: active");
810 + snprintf(buf, sizeof(buf), "kde: active");
814 - Esnprintf(buf, sizeof(buf), "kde: inactive");
815 + snprintf(buf, sizeof(buf), "kde: inactive");
820 - Esnprintf(buf, sizeof(buf), "Error: unknown state specified");
821 + snprintf(buf, sizeof(buf), "Error: unknown state specified");
825 - Esnprintf(buf, sizeof(buf), "Error: no state specified");
826 + snprintf(buf, sizeof(buf), "Error: no state specified");
834 - Esnprintf(buf, sizeof(buf), "Error: no module specified");
835 + snprintf(buf, sizeof(buf), "Error: no module specified");
843 - Esnprintf(buf, sizeof(buf), "Error: no module specified");
844 + snprintf(buf, sizeof(buf), "Error: no module specified");
849 strcat(buf, ModuleErrorCodeToString(returncode));
852 - Esnprintf(buf, sizeof(buf), "");
853 + snprintf(buf, sizeof(buf), "");
857 @@ -853,18 +853,18 @@
858 strcat(buf, ModuleListAsString());
861 - Esnprintf(buf, sizeof(buf), "no modules loaded");
862 + snprintf(buf, sizeof(buf), "no modules loaded");
867 - Esnprintf(buf, sizeof(buf),
868 + snprintf(buf, sizeof(buf),
869 "Error: unknown module operation specified");
874 - Esnprintf(buf, sizeof(buf), "Error: no module operation specified");
875 + snprintf(buf, sizeof(buf), "Error: no module operation specified");
881 if (!strcmp(param2, "?"))
883 - Esnprintf(buf, sizeof(buf), "dock_startposition: %d %d",
884 + snprintf(buf, sizeof(buf), "dock_startposition: %d %d",
885 mode.dockstartx, mode.dockstarty);
892 - Esnprintf(buf, sizeof(buf),
893 + snprintf(buf, sizeof(buf),
894 "Error: no y coordinate");
901 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
902 + snprintf(buf, sizeof(buf), "Error: no operation specified");
905 else if (!strcmp(param1, "direction"))
906 @@ -932,23 +932,23 @@
908 if (mode.dockdirmode == DOCK_LEFT)
910 - Esnprintf(buf, sizeof(buf), "dock_dir: left");
911 + snprintf(buf, sizeof(buf), "dock_dir: left");
913 else if (mode.dockdirmode == DOCK_RIGHT)
915 - Esnprintf(buf, sizeof(buf), "dock_dir: right");
916 + snprintf(buf, sizeof(buf), "dock_dir: right");
918 else if (mode.dockdirmode == DOCK_UP)
920 - Esnprintf(buf, sizeof(buf), "dock_dir: up");
921 + snprintf(buf, sizeof(buf), "dock_dir: up");
923 else if (mode.dockdirmode == DOCK_DOWN)
925 - Esnprintf(buf, sizeof(buf), "dock_dir: down");
926 + snprintf(buf, sizeof(buf), "dock_dir: down");
930 - Esnprintf(buf, sizeof(buf),
931 + snprintf(buf, sizeof(buf),
932 "Error: I have NO " "idea what direction "
933 "this thing is going");
935 @@ -971,13 +971,13 @@
939 - Esnprintf(buf, sizeof(buf),
940 + snprintf(buf, sizeof(buf),
941 "Error: unknown direction " "specified");
946 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
947 + snprintf(buf, sizeof(buf), "Error: no operation specified");
950 else if (!strcmp(param1, "support"))
953 if (!strcmp(param2, "?"))
955 - Esnprintf(buf, sizeof(buf), "dockapp support: %s",
956 + snprintf(buf, sizeof(buf), "dockapp support: %s",
957 (mode.dockapp_support) ? "enabled" :
960 @@ -994,28 +994,28 @@
961 || (!strcmp(param2, "enable")))
963 mode.dockapp_support = 1;
964 - Esnprintf(buf, sizeof(buf), "dockapp support: enabled");
965 + snprintf(buf, sizeof(buf), "dockapp support: enabled");
967 else if ((!strcmp(param2, "off"))
968 || (!strcmp(param2, "disable")))
970 mode.dockapp_support = 0;
971 - Esnprintf(buf, sizeof(buf), "dockapp support: disabled");
972 + snprintf(buf, sizeof(buf), "dockapp support: disabled");
977 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
978 + snprintf(buf, sizeof(buf), "Error: no operation specified");
983 - Esnprintf(buf, sizeof(buf), "Error: unknown mode");
984 + snprintf(buf, sizeof(buf), "Error: unknown mode");
989 - Esnprintf(buf, sizeof(buf), "Error: no mode given");
990 + snprintf(buf, sizeof(buf), "Error: no mode given");
994 @@ -1037,16 +1037,16 @@
996 if (!strcmp(params, "screen_size"))
998 - Esnprintf(buf, sizeof(buf), "screen_size: %d %d", root.w, root.h);
999 + snprintf(buf, sizeof(buf), "screen_size: %d %d", root.w, root.h);
1003 - Esnprintf(buf, sizeof(buf), "Error: unknown info requested");
1004 + snprintf(buf, sizeof(buf), "Error: unknown info requested");
1009 - Esnprintf(buf, sizeof(buf), "Error: no info requested");
1010 + snprintf(buf, sizeof(buf), "Error: no info requested");
1014 @@ -1102,22 +1102,22 @@
1015 (Button *) FindItem(param1, 0, LIST_FINDBY_NAME,
1018 - Esnprintf(buf, sizeof(buf), "%u references remain",
1019 + snprintf(buf, sizeof(buf), "%u references remain",
1024 - Esnprintf(buf, sizeof(buf), "Error: no cursor specified");
1025 + snprintf(buf, sizeof(buf), "Error: no cursor specified");
1030 - Esnprintf(buf, sizeof(buf), "Error: unknown operation specified");
1031 + snprintf(buf, sizeof(buf), "Error: unknown operation specified");
1036 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
1037 + snprintf(buf, sizeof(buf), "Error: no operation specified");
1041 @@ -1158,7 +1158,7 @@
1045 - Esnprintf(buf, sizeof(buf),
1046 + snprintf(buf, sizeof(buf),
1047 "%s ref_count %u\n" " bg.solid\t %i %i %i \n"
1048 " bg.file\t %s \ttop.file\t %s \n"
1050 @@ -1176,7 +1176,7 @@
1054 - Esnprintf(buf, sizeof(buf),
1055 + snprintf(buf, sizeof(buf),
1056 "Error: background '%s' does not exist.", name);
1059 @@ -1195,7 +1195,7 @@
1060 AddItem(bg, bg->name, 0, LIST_TYPE_BACKGROUND);
1063 - Esnprintf(buf, sizeof(buf),
1064 + snprintf(buf, sizeof(buf),
1065 "Error: could not create background '%s'.",
1068 @@ -1275,7 +1275,7 @@
1072 - Esnprintf(buf, sizeof(buf),
1073 + snprintf(buf, sizeof(buf),
1074 "Error: unknown background value type '%s'.",
1077 @@ -1298,12 +1298,12 @@
1081 - Esnprintf(buf, sizeof(buf),
1082 + snprintf(buf, sizeof(buf),
1083 "Error: ref_count for background '%s' is %u.",
1084 name, bg->ref_count);
1087 - Esnprintf(buf, sizeof(buf),
1088 + snprintf(buf, sizeof(buf),
1089 "Error: background '%s' does not exist.", name);
1092 @@ -1322,7 +1322,7 @@
1093 for (i = 0; i < num; i++)
1096 - Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1097 + snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1099 buf3 = realloc(buf3, strlen(buf3) + strlen(buf2) + 1);
1101 @@ -1393,22 +1393,22 @@
1102 (Border *) FindItem(param1, 0, LIST_FINDBY_NAME,
1105 - Esnprintf(buf, sizeof(buf), "%u references remain",
1106 + snprintf(buf, sizeof(buf), "%u references remain",
1111 - Esnprintf(buf, sizeof(buf), "Error: no cursor specified");
1112 + snprintf(buf, sizeof(buf), "Error: no cursor specified");
1117 - Esnprintf(buf, sizeof(buf), "Error: unknown operation specified");
1118 + snprintf(buf, sizeof(buf), "Error: unknown operation specified");
1123 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
1124 + snprintf(buf, sizeof(buf), "Error: no operation specified");
1128 @@ -1463,22 +1463,22 @@
1129 (ECursor *) FindItem(param1, 0, LIST_FINDBY_NAME,
1132 - Esnprintf(buf, sizeof(buf), "%u references remain",
1133 + snprintf(buf, sizeof(buf), "%u references remain",
1138 - Esnprintf(buf, sizeof(buf), "Error: no cursor specified");
1139 + snprintf(buf, sizeof(buf), "Error: no cursor specified");
1144 - Esnprintf(buf, sizeof(buf), "Error: unknown operation specified");
1145 + snprintf(buf, sizeof(buf), "Error: unknown operation specified");
1150 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
1151 + snprintf(buf, sizeof(buf), "Error: no operation specified");
1155 @@ -1580,13 +1580,13 @@
1158 TextSize(t, 0, 0, STATE_NORMAL, txt, &w, &h, 17);
1159 - Esnprintf(buf, sizeof(buf), "%i %i", w, h);
1160 + snprintf(buf, sizeof(buf), "%i %i", w, h);
1163 - Esnprintf(buf, sizeof(buf), "0 0");
1164 + snprintf(buf, sizeof(buf), "0 0");
1167 - Esnprintf(buf, sizeof(buf), "TextClass %s not found",
1168 + snprintf(buf, sizeof(buf), "TextClass %s not found",
1171 else if (!strcmp(param2, "query"))
1172 @@ -1597,9 +1597,9 @@
1173 (TextClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
1176 - Esnprintf(buf, sizeof(buf), "TextClass %s found", t->name);
1177 + snprintf(buf, sizeof(buf), "TextClass %s found", t->name);
1179 - Esnprintf(buf, sizeof(buf), "TextClass %s not found",
1180 + snprintf(buf, sizeof(buf), "TextClass %s not found",
1183 else if (!strcmp(param2, "ref_count"))
1184 @@ -1610,23 +1610,23 @@
1185 (TextClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
1188 - Esnprintf(buf, sizeof(buf), "%u references remain.",
1189 + snprintf(buf, sizeof(buf), "%u references remain.",
1194 - Esnprintf(buf, sizeof(buf),
1195 + snprintf(buf, sizeof(buf),
1196 "Error: unknown operation specified");
1201 - Esnprintf(buf, sizeof(buf), "Error: no class specified");
1202 + snprintf(buf, sizeof(buf), "Error: no class specified");
1207 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
1208 + snprintf(buf, sizeof(buf), "Error: no operation specified");
1212 @@ -1683,23 +1683,23 @@
1214 LIST_TYPE_COLORMODIFIER);
1216 - Esnprintf(buf, sizeof(buf), "%u references remain.",
1217 + snprintf(buf, sizeof(buf), "%u references remain.",
1222 - Esnprintf(buf, sizeof(buf),
1223 + snprintf(buf, sizeof(buf),
1224 "Error: unknown operation specified");
1229 - Esnprintf(buf, sizeof(buf), "Error: no class specified");
1230 + snprintf(buf, sizeof(buf), "Error: no class specified");
1235 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
1236 + snprintf(buf, sizeof(buf), "Error: no operation specified");
1240 @@ -1754,23 +1754,23 @@
1241 (ActionClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
1244 - Esnprintf(buf, sizeof(buf), "%u references remain.",
1245 + snprintf(buf, sizeof(buf), "%u references remain.",
1250 - Esnprintf(buf, sizeof(buf),
1251 + snprintf(buf, sizeof(buf),
1252 "Error: unknown operation specified");
1257 - Esnprintf(buf, sizeof(buf), "Error: no class specified");
1258 + snprintf(buf, sizeof(buf), "Error: no class specified");
1263 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
1264 + snprintf(buf, sizeof(buf), "Error: no operation specified");
1268 @@ -1833,11 +1833,11 @@
1269 (ImageClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
1272 - Esnprintf(buf, sizeof(buf), "%i %i %i %i",
1273 + snprintf(buf, sizeof(buf), "%i %i %i %i",
1274 iclass->padding.left, iclass->padding.right,
1275 iclass->padding.top, iclass->padding.bottom);
1277 - Esnprintf(buf, sizeof(buf),
1278 + snprintf(buf, sizeof(buf),
1279 "Error: Imageclass does not exist");
1281 else if (!strcmp(param2, "get_image_size"))
1282 @@ -1863,20 +1863,20 @@
1286 - Esnprintf(buf, sizeof(buf), "%i %i",
1287 + snprintf(buf, sizeof(buf), "%i %i",
1288 im->rgb_width, im->rgb_height);
1289 Imlib_destroy_image(id, im);
1292 - Esnprintf(buf, sizeof(buf),
1293 + snprintf(buf, sizeof(buf),
1294 "Error: Image does not exist");
1297 - Esnprintf(buf, sizeof(buf),
1298 + snprintf(buf, sizeof(buf),
1299 "Error: Image does not exist");
1302 - Esnprintf(buf, sizeof(buf),
1303 + snprintf(buf, sizeof(buf),
1304 "Error: Imageclass does not exist");
1306 else if (!strcmp(param2, "apply"))
1307 @@ -1941,7 +1941,7 @@
1310 if (!(hptr = atword(params, 6)))
1311 - Esnprintf(buf, sizeof(buf),
1312 + snprintf(buf, sizeof(buf),
1313 "Error: missing width and/or height");
1316 @@ -1953,7 +1953,7 @@
1317 IclassApplyCopy(iclass, win, w, h, 0, 0, st, &pmap,
1320 - Esnprintf(buf, sizeof(buf), "0x%08x 0x%08x", pmap,
1321 + snprintf(buf, sizeof(buf), "0x%08x 0x%08x", pmap,
1325 @@ -1966,7 +1966,7 @@
1326 (ImageClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
1329 - Esnprintf(buf, sizeof(buf), "%u references remain",
1330 + snprintf(buf, sizeof(buf), "%u references remain",
1333 else if (!strcmp(param2, "query"))
1334 @@ -1977,26 +1977,26 @@
1335 (ImageClass *) FindItem(param1, 0, LIST_FINDBY_NAME,
1338 - Esnprintf(buf, sizeof(buf), "ImageClass %s found",
1339 + snprintf(buf, sizeof(buf), "ImageClass %s found",
1342 - Esnprintf(buf, sizeof(buf), "ImageClass %s not found",
1343 + snprintf(buf, sizeof(buf), "ImageClass %s not found",
1348 - Esnprintf(buf, sizeof(buf),
1349 + snprintf(buf, sizeof(buf),
1350 "Error: unknown operation specified");
1355 - Esnprintf(buf, sizeof(buf), "Error: no class specified");
1356 + snprintf(buf, sizeof(buf), "Error: no class specified");
1361 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
1362 + snprintf(buf, sizeof(buf), "Error: no operation specified");
1366 @@ -2039,7 +2039,7 @@
1370 - Esnprintf(buf, sizeof(buf), "Error: no file specified");
1371 + snprintf(buf, sizeof(buf), "Error: no file specified");
1374 else if (!strcmp(param1, "delete"))
1375 @@ -2050,18 +2050,18 @@
1379 - Esnprintf(buf, sizeof(buf),
1380 + snprintf(buf, sizeof(buf),
1381 "Error: unknown operation specified");
1386 - Esnprintf(buf, sizeof(buf), "Error: no class specified");
1387 + snprintf(buf, sizeof(buf), "Error: no class specified");
1392 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
1393 + snprintf(buf, sizeof(buf), "Error: no operation specified");
1397 @@ -2085,11 +2085,11 @@
1399 ApplySclass(soundtoplay);
1401 - Esnprintf(buf, sizeof(buf), "Error: unknown soundclass selected");
1402 + snprintf(buf, sizeof(buf), "Error: unknown soundclass selected");
1406 - Esnprintf(buf, sizeof(buf), "Error: no soundclass selected");
1407 + snprintf(buf, sizeof(buf), "Error: no soundclass selected");
1411 @@ -2118,7 +2118,7 @@
1412 for (i = 0; i < num; i++)
1415 - Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1416 + snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1418 buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
1420 @@ -2139,7 +2139,7 @@
1421 for (i = 0; i < num; i++)
1424 - Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1425 + snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1427 buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
1429 @@ -2160,7 +2160,7 @@
1430 for (i = 0; i < num; i++)
1433 - Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1434 + snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1436 buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
1438 @@ -2181,7 +2181,7 @@
1439 for (i = 0; i < num; i++)
1442 - Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1443 + snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1445 buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
1447 @@ -2202,7 +2202,7 @@
1448 for (i = 0; i < num; i++)
1451 - Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1452 + snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1454 buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
1456 @@ -2223,7 +2223,7 @@
1457 for (i = 0; i < num; i++)
1460 - Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1461 + snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1463 buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
1465 @@ -2244,7 +2244,7 @@
1466 for (i = 0; i < num; i++)
1469 - Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1470 + snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1472 buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
1474 @@ -2265,7 +2265,7 @@
1475 for (i = 0; i < num; i++)
1478 - Esnprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1479 + snprintf(buf2, sizeof(buf2), "%s\n", lst[i]->name);
1481 buf = realloc(buf, strlen(buf) + strlen(buf2) + 1);
1483 @@ -2304,7 +2304,7 @@
1484 DIALOG_OK(_("Message"), params);
1487 - Esnprintf(buf, sizeof(buf), "Error: No text for dialog specified");
1488 + snprintf(buf, sizeof(buf), "Error: No text for dialog specified");
1492 @@ -2329,12 +2329,12 @@
1493 my_focused_win = GetFocusEwin();
1496 - Esnprintf(buf, sizeof(buf), "focused: %8x",
1497 + snprintf(buf, sizeof(buf), "focused: %8x",
1498 my_focused_win->client.win);
1502 - Esnprintf(buf, sizeof(buf), "focused: none");
1503 + snprintf(buf, sizeof(buf), "focused: none");
1507 @@ -2349,7 +2349,7 @@
1511 - Esnprintf(buf, sizeof(buf), "Error: no window selected");
1512 + snprintf(buf, sizeof(buf), "Error: no window selected");
1516 @@ -2390,16 +2390,16 @@
1518 if (mode.all_new_windows_get_focus)
1520 - Esnprintf(buf, sizeof(buf), "new_window_focus: on");
1521 + snprintf(buf, sizeof(buf), "new_window_focus: on");
1525 - Esnprintf(buf, sizeof(buf), "new_window_focus: off");
1526 + snprintf(buf, sizeof(buf), "new_window_focus: off");
1531 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1532 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1535 else if (!strcmp(param1, "focus_list"))
1536 @@ -2416,16 +2416,16 @@
1538 if (mode.display_warp)
1540 - Esnprintf(buf, sizeof(buf), "focus_list: on");
1541 + snprintf(buf, sizeof(buf), "focus_list: on");
1545 - Esnprintf(buf, sizeof(buf), "focus_list: off");
1546 + snprintf(buf, sizeof(buf), "focus_list: off");
1551 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1552 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1555 else if (!strcmp(param1, "new_popup_window_focus"))
1556 @@ -2442,18 +2442,18 @@
1558 if (mode.new_transients_get_focus)
1560 - Esnprintf(buf, sizeof(buf),
1561 + snprintf(buf, sizeof(buf),
1562 "new_popup_window_focus: on");
1566 - Esnprintf(buf, sizeof(buf),
1567 + snprintf(buf, sizeof(buf),
1568 "new_popup_window_focus: off");
1573 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1574 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1577 else if (!strcmp(param1, "new_popup_of_owner_focus"))
1578 @@ -2470,18 +2470,18 @@
1580 if (mode.new_transients_get_focus_if_group_focused)
1582 - Esnprintf(buf, sizeof(buf),
1583 + snprintf(buf, sizeof(buf),
1584 "new_popup_of_owner_focus: on");
1588 - Esnprintf(buf, sizeof(buf),
1589 + snprintf(buf, sizeof(buf),
1590 "new_popup_of_owner_focus: off");
1595 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1596 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1599 else if (!strcmp(param1, "raise_on_keyboard_focus_switch"))
1600 @@ -2498,18 +2498,18 @@
1602 if (mode.raise_on_next_focus)
1604 - Esnprintf(buf, sizeof(buf),
1605 + snprintf(buf, sizeof(buf),
1606 "raise_on_keyboard_focus_switch: on");
1610 - Esnprintf(buf, sizeof(buf),
1611 + snprintf(buf, sizeof(buf),
1612 "raise_on_keyboard_focus_switch: off");
1617 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1618 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1621 else if (!strcmp(param1, "raise_after_keyboard_focus_switch"))
1622 @@ -2526,18 +2526,18 @@
1624 if (mode.raise_after_next_focus)
1626 - Esnprintf(buf, sizeof(buf),
1627 + snprintf(buf, sizeof(buf),
1628 "raise_after_keyboard_focus_switch: on");
1632 - Esnprintf(buf, sizeof(buf),
1633 + snprintf(buf, sizeof(buf),
1634 "raise_after_keyboard_focus_switch: off");
1639 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1640 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1643 else if (!strcmp(param1, "display_warp"))
1644 @@ -2554,16 +2554,16 @@
1646 if (mode.display_warp)
1648 - Esnprintf(buf, sizeof(buf), "display_warp: on");
1649 + snprintf(buf, sizeof(buf), "display_warp: on");
1653 - Esnprintf(buf, sizeof(buf), "display_warp: off");
1654 + snprintf(buf, sizeof(buf), "display_warp: off");
1659 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1660 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1663 else if (!strcmp(param1, "pointer_to_keyboard_focus_window"))
1664 @@ -2580,18 +2580,18 @@
1666 if (mode.warp_on_next_focus)
1668 - Esnprintf(buf, sizeof(buf),
1669 + snprintf(buf, sizeof(buf),
1670 "pointer_to_keyboard_focus_window: on");
1674 - Esnprintf(buf, sizeof(buf),
1675 + snprintf(buf, sizeof(buf),
1676 "pointer_to_keyboard_focus_window: off");
1681 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1682 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1685 else if (!strcmp(param1, "pointer_after_keyboard_focus_window"))
1686 @@ -2608,18 +2608,18 @@
1688 if (mode.warp_after_next_focus)
1690 - Esnprintf(buf, sizeof(buf),
1691 + snprintf(buf, sizeof(buf),
1692 "pointer_after_keyboard_focus_window: on");
1696 - Esnprintf(buf, sizeof(buf),
1697 + snprintf(buf, sizeof(buf),
1698 "pointer_after_keyboard_focus_window: off");
1703 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1704 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1707 else if (!strcmp(param1, "transients_follow_leader"))
1708 @@ -2636,18 +2636,18 @@
1710 if (mode.transientsfollowleader)
1712 - Esnprintf(buf, sizeof(buf),
1713 + snprintf(buf, sizeof(buf),
1714 "transients_follow_leader: on");
1718 - Esnprintf(buf, sizeof(buf),
1719 + snprintf(buf, sizeof(buf),
1720 "transients_follow_leader: off");
1725 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1726 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1729 else if (!strcmp(param1, "switch_to_popup_location"))
1730 @@ -2664,18 +2664,18 @@
1732 if (mode.switchfortransientmap)
1734 - Esnprintf(buf, sizeof(buf),
1735 + snprintf(buf, sizeof(buf),
1736 "switch_to_popup_location: on");
1740 - Esnprintf(buf, sizeof(buf),
1741 + snprintf(buf, sizeof(buf),
1742 "switch_to_popup_location: off");
1747 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1748 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1751 else if (!strcmp(param1, "manual_placement"))
1752 @@ -2692,16 +2692,16 @@
1754 if (mode.manual_placement)
1756 - Esnprintf(buf, sizeof(buf), "manual_placement: on");
1757 + snprintf(buf, sizeof(buf), "manual_placement: on");
1761 - Esnprintf(buf, sizeof(buf), "manual_placement: off");
1762 + snprintf(buf, sizeof(buf), "manual_placement: off");
1767 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1768 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1771 else if (!strcmp(param1, "manual_placement_mouse_pointer"))
1772 @@ -2718,28 +2718,28 @@
1774 if (mode.manual_placement_mouse_pointer)
1776 - Esnprintf(buf, sizeof(buf),
1777 + snprintf(buf, sizeof(buf),
1778 "manual_placement_mouse_pointer: on");
1782 - Esnprintf(buf, sizeof(buf),
1783 + snprintf(buf, sizeof(buf),
1784 "manual_placement_mouse_pointer: off");
1789 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1790 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1795 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1796 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1801 - Esnprintf(buf, sizeof(buf), "Error: no mode selected");
1802 + snprintf(buf, sizeof(buf), "Error: no mode selected");
1806 @@ -2771,7 +2771,7 @@
1810 - Esnprintf(buf2, sizeof(buf2), "%8x\n",
1811 + snprintf(buf2, sizeof(buf2), "%8x\n",
1812 lst[i]->client.win);
1815 @@ -2783,7 +2783,7 @@
1819 - Esnprintf(buf2, sizeof(buf2), "%8x\n",
1820 + snprintf(buf2, sizeof(buf2), "%8x\n",
1821 lst[i]->client.win);
1824 @@ -2795,7 +2795,7 @@
1828 - Esnprintf(buf2, sizeof(buf2), "%8x\n",
1829 + snprintf(buf2, sizeof(buf2), "%8x\n",
1830 lst[i]->client.win);
1833 @@ -2807,7 +2807,7 @@
1835 if (lst[i]->internal)
1837 - Esnprintf(buf2, sizeof(buf2), "%8x\n",
1838 + snprintf(buf2, sizeof(buf2), "%8x\n",
1839 lst[i]->client.win);
1842 @@ -2815,7 +2815,7 @@
1846 - Esnprintf(buf, sizeof(buf),
1847 + snprintf(buf, sizeof(buf),
1848 "Error: unknown internal list specified");
1851 @@ -2858,11 +2858,11 @@
1853 if (mode.show_pagers)
1855 - Esnprintf(buf, sizeof(buf), "pager: on");
1856 + snprintf(buf, sizeof(buf), "pager: on");
1860 - Esnprintf(buf, sizeof(buf), "pager: off");
1861 + snprintf(buf, sizeof(buf), "pager: off");
1864 else if (!strcmp(param1, "hiq"))
1865 @@ -2872,11 +2872,11 @@
1869 - Esnprintf(buf, sizeof(buf), "pager_hiq: on");
1870 + snprintf(buf, sizeof(buf), "pager_hiq: on");
1874 - Esnprintf(buf, sizeof(buf), "pager_hiq: off");
1875 + snprintf(buf, sizeof(buf), "pager_hiq: off");
1878 else if (!strcmp(param2, "on"))
1879 @@ -2889,7 +2889,7 @@
1883 - Esnprintf(buf, sizeof(buf), "Error: unknown mode selected");
1884 + snprintf(buf, sizeof(buf), "Error: unknown mode selected");
1888 @@ -2919,13 +2919,13 @@
1892 - Esnprintf(buf, sizeof(buf),
1893 + snprintf(buf, sizeof(buf),
1894 "Error: unknown mode selected");
1899 - Esnprintf(buf, sizeof(buf), "Error: no mode selected");
1900 + snprintf(buf, sizeof(buf), "Error: no mode selected");
1903 else if (!strcmp(param1, "title"))
1904 @@ -2954,7 +2954,7 @@
1908 - Esnprintf(buf, sizeof(buf), "Error: no mode selected");
1909 + snprintf(buf, sizeof(buf), "Error: no mode selected");
1913 @@ -2965,7 +2965,7 @@
1915 if (!strcmp(param2, "?"))
1917 - Esnprintf(buf, sizeof(buf), "pager_scanrate: %d",
1918 + snprintf(buf, sizeof(buf), "pager_scanrate: %d",
1919 mode.pager_scanspeed);
1922 @@ -2975,7 +2975,7 @@
1926 - Esnprintf(buf, sizeof(buf), "Error: no scanrate specified.");
1927 + snprintf(buf, sizeof(buf), "Error: no scanrate specified.");
1930 else if (!strcmp(param1, "snap"))
1931 @@ -2985,11 +2985,11 @@
1935 - Esnprintf(buf, sizeof(buf), "pager_snap: on");
1936 + snprintf(buf, sizeof(buf), "pager_snap: on");
1940 - Esnprintf(buf, sizeof(buf), "pager_snap: off");
1941 + snprintf(buf, sizeof(buf), "pager_snap: off");
1944 else if (!strcmp(param2, "on"))
1945 @@ -3025,12 +3025,12 @@
1947 else if (!strcmp(param3, "?"))
1949 - Esnprintf(buf, sizeof(buf), "Desk %s: %i pagers", param2,
1950 + snprintf(buf, sizeof(buf), "Desk %s: %i pagers", param2,
1951 PagerForDesktop(atoi(param2)));
1955 - Esnprintf(buf, sizeof(buf),
1956 + snprintf(buf, sizeof(buf),
1957 "Error: unknown mode specified");
1960 @@ -3038,22 +3038,22 @@
1964 - Esnprintf(buf, sizeof(buf), "Error: no mode specified");
1965 + snprintf(buf, sizeof(buf), "Error: no mode specified");
1969 - Esnprintf(buf, sizeof(buf), "Error: no desk specified");
1970 + snprintf(buf, sizeof(buf), "Error: no desk specified");
1976 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
1977 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
1982 - Esnprintf(buf, sizeof(buf), "Error: no mode specified");
1983 + snprintf(buf, sizeof(buf), "Error: no mode specified");
1987 @@ -3102,29 +3102,29 @@
1990 if (mode.movemode == 1)
1991 - Esnprintf(buf, sizeof(buf), "movemode: lined");
1992 + snprintf(buf, sizeof(buf), "movemode: lined");
1993 else if (mode.movemode == 2)
1994 - Esnprintf(buf, sizeof(buf), "movemode: box");
1995 + snprintf(buf, sizeof(buf), "movemode: box");
1996 else if (mode.movemode == 3)
1997 - Esnprintf(buf, sizeof(buf), "movemode: shaded");
1998 + snprintf(buf, sizeof(buf), "movemode: shaded");
1999 else if (mode.movemode == 4)
2000 - Esnprintf(buf, sizeof(buf), "movemode: semi-solid");
2001 + snprintf(buf, sizeof(buf), "movemode: semi-solid");
2002 else if (mode.movemode == 5)
2003 - Esnprintf(buf, sizeof(buf), "movemode: translucent");
2004 + snprintf(buf, sizeof(buf), "movemode: translucent");
2008 - Esnprintf(buf, sizeof(buf), "movemode: opaque");
2009 + snprintf(buf, sizeof(buf), "movemode: opaque");
2014 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2015 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2020 - Esnprintf(buf, sizeof(buf), "Error: no mode specified");
2021 + snprintf(buf, sizeof(buf), "Error: no mode specified");
2025 @@ -3169,27 +3169,27 @@
2026 if (mode.resizemode)
2028 if (mode.resizemode == 1)
2029 - Esnprintf(buf, sizeof(buf), "resizemode: lined");
2030 + snprintf(buf, sizeof(buf), "resizemode: lined");
2031 else if (mode.resizemode == 2)
2032 - Esnprintf(buf, sizeof(buf), "resizemode: box");
2033 + snprintf(buf, sizeof(buf), "resizemode: box");
2034 else if (mode.resizemode == 3)
2035 - Esnprintf(buf, sizeof(buf), "resizemode: shaded");
2036 + snprintf(buf, sizeof(buf), "resizemode: shaded");
2037 else if (mode.resizemode == 4)
2038 - Esnprintf(buf, sizeof(buf), "resizemode: semi-solid");
2039 + snprintf(buf, sizeof(buf), "resizemode: semi-solid");
2043 - Esnprintf(buf, sizeof(buf), "resizemode: opaque");
2044 + snprintf(buf, sizeof(buf), "resizemode: opaque");
2049 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2050 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2055 - Esnprintf(buf, sizeof(buf), "Error: no mode specified");
2056 + snprintf(buf, sizeof(buf), "Error: no mode specified");
2060 @@ -3226,23 +3226,23 @@
2061 if (mode.geominfomode)
2063 if (mode.geominfomode == 1)
2064 - Esnprintf(buf, sizeof(buf), "geominfomode: center");
2065 + snprintf(buf, sizeof(buf), "geominfomode: center");
2066 else if (mode.geominfomode == 2)
2067 - Esnprintf(buf, sizeof(buf), "geominfomode: corner");
2068 + snprintf(buf, sizeof(buf), "geominfomode: corner");
2072 - Esnprintf(buf, sizeof(buf), "geominfomode: never");
2073 + snprintf(buf, sizeof(buf), "geominfomode: never");
2078 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2079 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2084 - Esnprintf(buf, sizeof(buf), "Error: no mode specified");
2085 + snprintf(buf, sizeof(buf), "Error: no mode specified");
2089 @@ -3283,13 +3283,13 @@
2090 else if (!strcmp(word2, "?"))
2092 if (FX_IsOn("ripples"))
2093 - Esnprintf(buf, sizeof(buf), "ripples: on");
2094 + snprintf(buf, sizeof(buf), "ripples: on");
2096 - Esnprintf(buf, sizeof(buf), "ripples: off");
2097 + snprintf(buf, sizeof(buf), "ripples: off");
2101 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2102 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2105 else if (!strcmp(word1, "deskslide"))
2106 @@ -3306,13 +3306,13 @@
2107 else if (!strcmp(word2, "?"))
2110 - Esnprintf(buf, sizeof(buf), "deskslide: on");
2111 + snprintf(buf, sizeof(buf), "deskslide: on");
2113 - Esnprintf(buf, sizeof(buf), "deskslide: off");
2114 + snprintf(buf, sizeof(buf), "deskslide: off");
2118 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2119 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2122 else if (!strcmp(word1, "mapslide"))
2123 @@ -3329,13 +3329,13 @@
2124 else if (!strcmp(word2, "?"))
2127 - Esnprintf(buf, sizeof(buf), "mapslide: on");
2128 + snprintf(buf, sizeof(buf), "mapslide: on");
2130 - Esnprintf(buf, sizeof(buf), "mapslide: off");
2131 + snprintf(buf, sizeof(buf), "mapslide: off");
2135 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2136 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2139 else if (!strcmp(word1, "raindrops"))
2140 @@ -3354,13 +3354,13 @@
2141 else if (!strcmp(word2, "?"))
2143 if (FX_IsOn("raindrops"))
2144 - Esnprintf(buf, sizeof(buf), "raindrops: on");
2145 + snprintf(buf, sizeof(buf), "raindrops: on");
2147 - Esnprintf(buf, sizeof(buf), "raindrops: off");
2148 + snprintf(buf, sizeof(buf), "raindrops: off");
2152 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2153 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2156 else if (!strcmp(word1, "menu_animate"))
2157 @@ -3377,13 +3377,13 @@
2158 else if (!strcmp(word2, "?"))
2161 - Esnprintf(buf, sizeof(buf), "menu_animate: on");
2162 + snprintf(buf, sizeof(buf), "menu_animate: on");
2164 - Esnprintf(buf, sizeof(buf), "menu_animate: off");
2165 + snprintf(buf, sizeof(buf), "menu_animate: off");
2169 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2170 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2173 else if (!strcmp(word1, "waves"))
2174 @@ -3402,13 +3402,13 @@
2175 else if (!strcmp(word2, "?"))
2177 if (FX_IsOn("waves"))
2178 - Esnprintf(buf, sizeof(buf), "waves: on");
2179 + snprintf(buf, sizeof(buf), "waves: on");
2181 - Esnprintf(buf, sizeof(buf), "waves: off");
2182 + snprintf(buf, sizeof(buf), "waves: off");
2186 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2187 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2190 else if (!strcmp(word1, "animate_win_shading"))
2191 @@ -3425,13 +3425,13 @@
2192 else if (!strcmp(word2, "?"))
2194 if (mode.animate_shading)
2195 - Esnprintf(buf, sizeof(buf), "animate_win_shading: on");
2196 + snprintf(buf, sizeof(buf), "animate_win_shading: on");
2198 - Esnprintf(buf, sizeof(buf), "animate_win_shading: off");
2199 + snprintf(buf, sizeof(buf), "animate_win_shading: off");
2203 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2204 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2207 else if (!strcmp(word1, "window_shade_speed"))
2208 @@ -3441,12 +3441,12 @@
2210 if (mode.animate_shading)
2212 - Esnprintf(buf, sizeof(buf), "shadespeed: %d seconds",
2213 + snprintf(buf, sizeof(buf), "shadespeed: %d seconds",
2218 - Esnprintf(buf, sizeof(buf), "shadespeed: off");
2219 + snprintf(buf, sizeof(buf), "shadespeed: off");
2223 @@ -3501,29 +3501,29 @@
2225 if (desks.dragdir == 1)
2227 - Esnprintf(buf, sizeof(buf), "Dragbar: right");
2228 + snprintf(buf, sizeof(buf), "Dragbar: right");
2230 else if (desks.dragdir == 2)
2232 - Esnprintf(buf, sizeof(buf), "Dragbar: top");
2233 + snprintf(buf, sizeof(buf), "Dragbar: top");
2235 else if (desks.dragdir == 3)
2237 - Esnprintf(buf, sizeof(buf), "Dragbar: bottom");
2238 + snprintf(buf, sizeof(buf), "Dragbar: bottom");
2242 - Esnprintf(buf, sizeof(buf), "Dragbar: left");
2243 + snprintf(buf, sizeof(buf), "Dragbar: left");
2248 - Esnprintf(buf, sizeof(buf), "Dragbar: off");
2249 + snprintf(buf, sizeof(buf), "Dragbar: off");
2254 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2255 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2259 @@ -3564,12 +3564,12 @@
2263 - Esnprintf(buf, sizeof(buf), "tooltips: %f seconds",
2264 + snprintf(buf, sizeof(buf), "tooltips: %f seconds",
2269 - Esnprintf(buf, sizeof(buf), "tooltips: off");
2270 + snprintf(buf, sizeof(buf), "tooltips: off");
2274 @@ -3594,13 +3594,13 @@
2276 if (mode.edge_flip_resistance >= 0)
2278 - Esnprintf(buf, sizeof(buf),
2279 + snprintf(buf, sizeof(buf),
2280 "edge_resistance: %d / 100 seconds",
2281 mode.edge_flip_resistance);
2285 - Esnprintf(buf, sizeof(buf), "edge_resistance: off");
2286 + snprintf(buf, sizeof(buf), "edge_resistance: off");
2290 @@ -3610,7 +3610,7 @@
2294 - Esnprintf(buf, sizeof(buf), "Error: no time given");
2295 + snprintf(buf, sizeof(buf), "Error: no time given");
2298 else if (!strcmp(word1, "edge_snap_distance"))
2299 @@ -3620,7 +3620,7 @@
2301 if (!strcmp(word2, "?"))
2303 - Esnprintf(buf, sizeof(buf), "edge_snap_distance: %d",
2304 + snprintf(buf, sizeof(buf), "edge_snap_distance: %d",
2305 mode.edge_snap_dist);
2308 @@ -3630,7 +3630,7 @@
2312 - Esnprintf(buf, sizeof(buf), "Error: no pixel distance given");
2313 + snprintf(buf, sizeof(buf), "Error: no pixel distance given");
2316 else if (!strcmp(word1, "autoraise"))
2317 @@ -3648,12 +3648,12 @@
2321 - Esnprintf(buf, sizeof(buf), "autoraise: %f seconds",
2322 + snprintf(buf, sizeof(buf), "autoraise: %f seconds",
2323 mode.autoraisetime);
2327 - Esnprintf(buf, sizeof(buf), "autoraise: off");
2328 + snprintf(buf, sizeof(buf), "autoraise: off");
2332 @@ -3705,23 +3705,23 @@
2333 else if (!strcmp(word2, "?"))
2336 - Esnprintf(buf, sizeof(buf), "audio: on");
2337 + snprintf(buf, sizeof(buf), "audio: on");
2339 - Esnprintf(buf, sizeof(buf), "audio: off");
2340 + snprintf(buf, sizeof(buf), "audio: off");
2344 - Esnprintf(buf, sizeof(buf), "Error: unknown mode specified");
2345 + snprintf(buf, sizeof(buf), "Error: unknown mode specified");
2350 - Esnprintf(buf, sizeof(buf), "Error: unknown effect specified");
2351 + snprintf(buf, sizeof(buf), "Error: unknown effect specified");
2356 - Esnprintf(buf, sizeof(buf), "Error: no effect specified");
2357 + snprintf(buf, sizeof(buf), "Error: no effect specified");
2361 @@ -3761,25 +3761,25 @@
2363 if (mode.activenetwork)
2365 - Esnprintf(buf, sizeof(buf), "Active network: on");
2366 + snprintf(buf, sizeof(buf), "Active network: on");
2370 - Esnprintf(buf, sizeof(buf), "Active network: off");
2371 + snprintf(buf, sizeof(buf), "Active network: off");
2376 - Esnprintf(buf, sizeof(buf), "Error: unknown state.");
2377 + snprintf(buf, sizeof(buf), "Error: unknown state.");
2381 - Esnprintf(buf, sizeof(buf),
2382 + snprintf(buf, sizeof(buf),
2383 "Active Network not compiled into this version of E");
2387 - Esnprintf(buf, sizeof(buf), "Error: no state specified");
2388 + snprintf(buf, sizeof(buf), "Error: no state specified");
2392 @@ -3820,7 +3820,7 @@
2393 lst[i]->client.title = none;
2396 - Esnprintf(buf, sizeof(buf),
2397 + snprintf(buf, sizeof(buf),
2398 "%8x : %s :: %d : %d %d : %d %d\n",
2399 lst[i]->client.win, lst[i]->client.title,
2400 lst[i]->desktop, lst[i]->area_x, lst[i]->area_y,
2401 @@ -3828,7 +3828,7 @@
2405 - Esnprintf(buf, sizeof(buf), "%8x : %s\n", lst[i]->client.win,
2406 + snprintf(buf, sizeof(buf), "%8x : %s\n", lst[i]->client.win,
2407 lst[i]->client.title);
2410 @@ -3871,7 +3871,7 @@
2414 - Esnprintf(buf, sizeof(buf), "Error: no area specified");
2415 + snprintf(buf, sizeof(buf), "Error: no area specified");
2419 @@ -3919,7 +3919,7 @@
2420 else if (!strcmp(param1, "?"))
2422 GetCurrentArea(&a, &b);
2423 - Esnprintf(buf, sizeof(buf), "Current Area: %d %d", a, b);
2424 + snprintf(buf, sizeof(buf), "Current Area: %d %d", a, b);
2428 @@ -3975,7 +3975,7 @@
2429 word(params, 2, operation);
2432 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
2433 + snprintf(buf, sizeof(buf), "Error: no operation specified");
2437 @@ -3984,7 +3984,7 @@
2438 ewin = FindEwinByChildren(win);
2441 - Esnprintf(buf, sizeof(buf), "Error: no such window: %8x",
2442 + snprintf(buf, sizeof(buf), "Error: no such window: %8x",
2446 @@ -4021,15 +4021,15 @@
2447 else if (!strcmp(param1, "?"))
2449 if (ewin->iconified)
2450 - Esnprintf(buf, sizeof(buf),
2451 + snprintf(buf, sizeof(buf),
2452 "window iconified: yes");
2454 - Esnprintf(buf, sizeof(buf),
2455 + snprintf(buf, sizeof(buf),
2456 "window iconified: no");
2460 - Esnprintf(buf, sizeof(buf),
2461 + snprintf(buf, sizeof(buf),
2462 "Error: unknown mode specified");
2465 @@ -4059,15 +4059,15 @@
2466 else if (!strcmp(param1, "?"))
2469 - Esnprintf(buf, sizeof(buf),
2470 + snprintf(buf, sizeof(buf),
2471 "window shaded: yes");
2473 - Esnprintf(buf, sizeof(buf),
2474 + snprintf(buf, sizeof(buf),
2475 "window shaded: no");
2479 - Esnprintf(buf, sizeof(buf),
2480 + snprintf(buf, sizeof(buf),
2481 "Error: unknown mode specified");
2484 @@ -4097,15 +4097,15 @@
2485 else if (!strcmp(param1, "?"))
2488 - Esnprintf(buf, sizeof(buf),
2489 + snprintf(buf, sizeof(buf),
2490 "window sticky: yes");
2492 - Esnprintf(buf, sizeof(buf),
2493 + snprintf(buf, sizeof(buf),
2494 "window sticky: no");
2498 - Esnprintf(buf, sizeof(buf),
2499 + snprintf(buf, sizeof(buf),
2500 "Error: unknown mode specified");
2503 @@ -4132,7 +4132,7 @@
2504 if (!strncmp(ptr, "?", 1))
2506 /* return the window title */
2507 - Esnprintf(buf, sizeof(buf),
2508 + snprintf(buf, sizeof(buf),
2510 ewin->client.title);
2512 @@ -4155,7 +4155,7 @@
2516 - Esnprintf(buf, sizeof(buf),
2517 + snprintf(buf, sizeof(buf),
2518 "Error: no title specified");
2521 @@ -4203,7 +4203,7 @@
2523 if (ewin->border->name)
2525 - Esnprintf(buf, sizeof(buf),
2526 + snprintf(buf, sizeof(buf),
2527 "window border: %s",
2528 ewin->border->name);
2530 @@ -4228,7 +4228,7 @@
2534 - Esnprintf(buf, sizeof(buf),
2535 + snprintf(buf, sizeof(buf),
2536 "Error: no border specified");
2539 @@ -4255,7 +4255,7 @@
2541 else if (!strcmp(param1, "?"))
2543 - Esnprintf(buf, sizeof(buf), "window desk: %d",
2544 + snprintf(buf, sizeof(buf), "window desk: %d",
2548 @@ -4269,7 +4269,7 @@
2552 - Esnprintf(buf, sizeof(buf),
2553 + snprintf(buf, sizeof(buf),
2554 "Error: no desktop supplied");
2557 @@ -4282,7 +4282,7 @@
2559 if (!strcmp(param1, "?"))
2561 - Esnprintf(buf, sizeof(buf),
2562 + snprintf(buf, sizeof(buf),
2563 "window area: %d %d", ewin->area_x,
2566 @@ -4294,7 +4294,7 @@
2570 - Esnprintf(buf, sizeof(buf),
2571 + snprintf(buf, sizeof(buf),
2572 "Error: no area supplied");
2575 @@ -4315,13 +4315,13 @@
2577 if (!strcmp(param1, "?"))
2579 - Esnprintf(buf, sizeof(buf),
2580 + snprintf(buf, sizeof(buf),
2581 "window location: %d %d", ewin->x,
2584 else if (!strcmp(param1, "??"))
2586 - Esnprintf(buf, sizeof(buf),
2587 + snprintf(buf, sizeof(buf),
2588 "client location: %d %d",
2589 ewin->x + ewin->border->border.left,
2590 ewin->y + ewin->border->border.top);
2591 @@ -4335,7 +4335,7 @@
2595 - Esnprintf(buf, sizeof(buf),
2596 + snprintf(buf, sizeof(buf),
2597 "Error: no coords supplied");
2600 @@ -4348,13 +4348,13 @@
2602 if (!strcmp(param1, "?"))
2604 - Esnprintf(buf, sizeof(buf),
2605 + snprintf(buf, sizeof(buf),
2606 "window size: %d %d", ewin->client.w,
2609 else if (!strcmp(param1, "??"))
2611 - Esnprintf(buf, sizeof(buf),
2612 + snprintf(buf, sizeof(buf),
2613 "frame size: %d %d", ewin->w,
2616 @@ -4399,11 +4399,11 @@
2618 if (ewin == GetFocusEwin())
2620 - Esnprintf(buf, sizeof(buf), "focused: yes");
2621 + snprintf(buf, sizeof(buf), "focused: yes");
2625 - Esnprintf(buf, sizeof(buf), "focused: no");
2626 + snprintf(buf, sizeof(buf), "focused: no");
2630 @@ -4413,14 +4413,14 @@
2634 - Esnprintf(buf, sizeof(buf), "Error: unknown operation");
2635 + snprintf(buf, sizeof(buf), "Error: unknown operation");
2642 - Esnprintf(buf, sizeof(buf), "Error: no window specified");
2643 + snprintf(buf, sizeof(buf), "Error: no window specified");
2647 @@ -4444,7 +4444,7 @@
2650 GetAreaSize(&ax, &ay);
2651 - Esnprintf(buf, sizeof(buf), "Number of Areas: %d %d", ax, ay);
2652 + snprintf(buf, sizeof(buf), "Number of Areas: %d %d", ax, ay);
2656 @@ -4457,7 +4457,7 @@
2660 - Esnprintf(buf, sizeof(buf), "Error: number of areas not given");
2661 + snprintf(buf, sizeof(buf), "Error: number of areas not given");
2665 @@ -4478,7 +4478,7 @@
2667 if (!strcmp(params, "?"))
2669 - Esnprintf(buf, sizeof(buf), "Number of Desks: %d",
2670 + snprintf(buf, sizeof(buf), "Number of Desks: %d",
2674 @@ -4488,7 +4488,7 @@
2678 - Esnprintf(buf, sizeof(buf), "Error: number of desks not given");
2679 + snprintf(buf, sizeof(buf), "Error: number of desks not given");
2683 @@ -4527,7 +4527,7 @@
2685 else if (!strcmp(params, "?"))
2687 - Esnprintf(buf, sizeof(buf), "Focus Mode: ");
2688 + snprintf(buf, sizeof(buf), "Focus Mode: ");
2689 if (mode.focusmode == 2)
2691 if (mode.click_focus_grabbed)
2692 @@ -4554,12 +4554,12 @@
2696 - Esnprintf(buf, sizeof(buf), "Error: unknown focus type");
2697 + snprintf(buf, sizeof(buf), "Error: unknown focus type");
2702 - Esnprintf(buf, sizeof(buf), "Error: no focus type given");
2703 + snprintf(buf, sizeof(buf), "Error: no focus type given");
2707 @@ -4590,7 +4590,7 @@
2709 else if (!strcmp(params, "?"))
2711 - Esnprintf(buf, sizeof(buf), "Icons: ");
2712 + snprintf(buf, sizeof(buf), "Icons: ");
2716 @@ -4598,13 +4598,13 @@
2720 - Esnprintf(buf, sizeof(buf), "Error: unknown icon statee: %s",
2721 + snprintf(buf, sizeof(buf), "Error: unknown icon statee: %s",
2727 - Esnprintf(buf, sizeof(buf), "Error: no icon state specified");
2728 + snprintf(buf, sizeof(buf), "Error: no icon state specified");
2732 @@ -4622,7 +4622,7 @@
2736 - Esnprintf(buf, sizeof(buf), "Error: no desktop selected");
2737 + snprintf(buf, sizeof(buf), "Error: no desktop selected");
2741 @@ -4636,7 +4636,7 @@
2743 else if (!strcmp(params, "?"))
2745 - Esnprintf(buf, sizeof(buf), "Current Desktop: %d", desks.current);
2746 + snprintf(buf, sizeof(buf), "Current Desktop: %d", desks.current);
2750 @@ -4703,7 +4703,7 @@
2752 if (!strcmp(params, "?"))
2754 - Esnprintf(buf, sizeof(buf), GetSMFile());
2755 + snprintf(buf, sizeof(buf), GetSMFile());
2759 @@ -4712,7 +4712,7 @@
2763 - Esnprintf(buf, sizeof(buf), "Error: no file prefix specified");
2764 + snprintf(buf, sizeof(buf), "Error: no file prefix specified");
2768 @@ -4757,13 +4757,13 @@
2772 - Esnprintf(buf, sizeof(buf), "restart_wm %s", params);
2773 + snprintf(buf, sizeof(buf), "restart_wm %s", params);
2779 - Esnprintf(buf, sizeof(buf), "Error: no window manager specified");
2780 + snprintf(buf, sizeof(buf), "Error: no window manager specified");
2784 @@ -4779,13 +4779,13 @@
2788 - Esnprintf(buf, sizeof(buf), "restart_theme %s", params);
2789 + snprintf(buf, sizeof(buf), "restart_theme %s", params);
2795 - Esnprintf(buf, sizeof(buf), "Error: no theme specified");
2796 + snprintf(buf, sizeof(buf), "Error: no theme specified");
2800 @@ -4818,7 +4818,7 @@
2802 if (!strcmp(params, "?"))
2804 - Esnprintf(buf, sizeof(buf), "%s", GetDefaultTheme());
2805 + snprintf(buf, sizeof(buf), "%s", GetDefaultTheme());
2809 @@ -4827,13 +4827,13 @@
2810 char restartcommand[FILEPATH_LEN_MAX];
2812 SetDefaultTheme(params);
2813 - Esnprintf(restartcommand, sizeof(restartcommand),
2814 + snprintf(restartcommand, sizeof(restartcommand),
2815 "restart_theme %s", params);
2816 doExit(restartcommand);
2820 - Esnprintf(buf, sizeof(buf), "Could not find theme: %s",
2821 + snprintf(buf, sizeof(buf), "Could not find theme: %s",
2825 @@ -4853,7 +4853,7 @@
2829 - Esnprintf(buf, sizeof(buf), themepath);
2830 + snprintf(buf, sizeof(buf), themepath);
2834 @@ -4875,9 +4875,9 @@
2835 if (!strcmp(params, "?"))
2838 - Esnprintf(buf, sizeof(buf), "Autosave : on");
2839 + snprintf(buf, sizeof(buf), "Autosave : on");
2841 - Esnprintf(buf, sizeof(buf), "Autosave : off");
2842 + snprintf(buf, sizeof(buf), "Autosave : off");
2844 else if (!strcmp(params, "on"))
2846 @@ -4889,7 +4889,7 @@
2850 - Esnprintf(buf, sizeof(buf), "Unknown autosave state: %s", params);
2851 + snprintf(buf, sizeof(buf), "Unknown autosave state: %s", params);
2855 @@ -4911,7 +4911,7 @@
2858 numIPC = sizeof(IPCArray) / sizeof(IPCStruct);
2859 - Esnprintf(buf, sizeof(buf), _("Enlightenment IPC Commands Help"));
2860 + snprintf(buf, sizeof(buf), _("Enlightenment IPC Commands Help"));
2864 @@ -5004,7 +5004,7 @@
2865 char buf[FILEPATH_LEN_MAX];
2868 - Esnprintf(buf, sizeof(buf),
2869 + snprintf(buf, sizeof(buf),
2870 "Copyright (C) 2000 Carsten Haitzler and Geoff Harrison,\n"
2871 "with various contributors (Isaac Richards, Sung-Hyun Nam, "
2872 "Kimball Thurston,\n"
2873 @@ -5063,7 +5063,7 @@
2877 - Esnprintf(buf, sizeof(buf),
2878 + snprintf(buf, sizeof(buf),
2879 _("Enlightenment Version : %s\n" "code is current to : %s\n"),
2880 ENLIGHTENMENT_VERSION, E_CHECKOUT_DATE);
2882 @@ -5209,7 +5209,7 @@
2886 - Esnprintf(buf, sizeof(buf), "Error: no such group: %d", index);
2887 + snprintf(buf, sizeof(buf), "Error: no such group: %d", index);
2891 @@ -5217,7 +5217,7 @@
2895 - Esnprintf(buf, sizeof(buf), "Error: no memory");
2896 + snprintf(buf, sizeof(buf), "Error: no memory");
2900 @@ -5228,20 +5228,20 @@
2902 groups = (Group **) ListItemType(&num_groups, LIST_TYPE_GROUP);
2904 - Esnprintf(buf, sizeof(buf), "Number of groups: %d", num_groups);
2905 + snprintf(buf, sizeof(buf), "Number of groups: %d", num_groups);
2908 for (i = 0; i < num_groups; i++)
2910 for (j = 0; j < groups[i]->num_members; j++)
2912 - Esnprintf(tmp, sizeof(tmp), "%d", groups[i]->index);
2913 + snprintf(tmp, sizeof(tmp), "%d", groups[i]->index);
2916 strcat(buf, groups[i]->members[j]->client.title);
2919 - Esnprintf(buf2, sizeof(buf2),
2920 + snprintf(buf2, sizeof(buf2),
2921 " index: %d\n" " num_members: %d\n"
2922 " iconify: %d\n" " kill: %d\n"
2923 " move: %d\n" " raise: %d\n"
2924 @@ -5291,7 +5291,7 @@
2928 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
2929 + snprintf(buf, sizeof(buf), "Error: no operation specified");
2933 @@ -5300,7 +5300,7 @@
2934 ewin = FindEwinByChildren(win);
2937 - Esnprintf(buf, sizeof(buf), "Error: no such window: %8x",
2938 + snprintf(buf, sizeof(buf), "Error: no such window: %8x",
2942 @@ -5308,7 +5308,7 @@
2943 if (!strcmp(operation, "start"))
2945 BuildWindowGroup(&ewin, 1);
2946 - Esnprintf(buf, sizeof(buf), "start %8x", win);
2947 + snprintf(buf, sizeof(buf), "start %8x", win);
2949 else if (!strcmp(operation, "add"))
2951 @@ -5323,7 +5323,7 @@
2954 AddEwinToGroup(ewin, group);
2955 - Esnprintf(buf, sizeof(buf), "add %8x", win);
2956 + snprintf(buf, sizeof(buf), "add %8x", win);
2958 else if (!strcmp(operation, "remove"))
2960 @@ -5338,7 +5338,7 @@
2963 RemoveEwinFromGroup(ewin, group);
2964 - Esnprintf(buf, sizeof(buf), "remove %8x", win);
2965 + snprintf(buf, sizeof(buf), "remove %8x", win);
2967 else if (!strcmp(operation, "break"))
2969 @@ -5353,16 +5353,16 @@
2972 BreakWindowGroup(ewin, group);
2973 - Esnprintf(buf, sizeof(buf), "break %8x", win);
2974 + snprintf(buf, sizeof(buf), "break %8x", win);
2976 else if (!strcmp(operation, "showhide"))
2978 doShowHideGroup(windowid);
2979 - Esnprintf(buf, sizeof(buf), "showhide %8x", win);
2980 + snprintf(buf, sizeof(buf), "showhide %8x", win);
2984 - Esnprintf(buf, sizeof(buf),
2985 + snprintf(buf, sizeof(buf),
2986 "Error: no such operation: %s", operation);
2989 @@ -5371,7 +5371,7 @@
2993 - Esnprintf(buf, sizeof(buf), "Error: no window specified");
2994 + snprintf(buf, sizeof(buf), "Error: no window specified");
2998 @@ -5405,7 +5405,7 @@
3002 - Esnprintf(buf, sizeof(buf), "Error: no operation specified");
3003 + snprintf(buf, sizeof(buf), "Error: no operation specified");
3007 @@ -5416,7 +5416,7 @@
3011 - Esnprintf(buf, sizeof(buf), "Error: no such group: %d",
3012 + snprintf(buf, sizeof(buf), "Error: no such group: %d",
3016 @@ -5431,12 +5431,12 @@
3018 if (onoff == -1 && strcmp(param1, "?"))
3020 - Esnprintf(buf, sizeof(buf),
3021 + snprintf(buf, sizeof(buf),
3022 "Error: unknown mode specified");
3024 else if (!strcmp(operation, "num_members"))
3026 - Esnprintf(buf, sizeof(buf), "num_members: %d",
3027 + snprintf(buf, sizeof(buf), "num_members: %d",
3028 group->num_members);
3031 @@ -5498,7 +5498,7 @@
3035 - Esnprintf(buf, sizeof(buf),
3036 + snprintf(buf, sizeof(buf),
3037 "Error: no such operation: %s",
3040 @@ -5506,19 +5506,19 @@
3044 - Esnprintf(buf, sizeof(buf), "Error: no mode specified");
3045 + snprintf(buf, sizeof(buf), "Error: no mode specified");
3050 - Esnprintf(buf, sizeof(buf), "%s: on", operation);
3051 + snprintf(buf, sizeof(buf), "%s: on", operation);
3052 else if (onoff == 0)
3053 - Esnprintf(buf, sizeof(buf), "%s: off", operation);
3054 + snprintf(buf, sizeof(buf), "%s: off", operation);
3059 - Esnprintf(buf, sizeof(buf), "Error: no group specified");
3060 + snprintf(buf, sizeof(buf), "Error: no group specified");
3064 @@ -5564,7 +5564,7 @@
3065 lst = (Snapshot **) ListItemType(&num, LIST_TYPE_SNAPSHOT);
3068 - Esnprintf(buf, sizeof(buf), "Error: no remembered windows\n");
3069 + snprintf(buf, sizeof(buf), "Error: no remembered windows\n");
3073 @@ -5575,7 +5575,7 @@
3074 if (!lst[i] || (lst[i] && !lst[i]->used))
3077 - Esnprintf(buf, sizeof(buf), "Number of remembered windows: %d\n",
3078 + snprintf(buf, sizeof(buf), "Number of remembered windows: %d\n",
3081 /* strncat(buf, buf2, sizeof(buf)); */
3082 @@ -5585,12 +5585,12 @@
3086 - Esnprintf(buf2, sizeof(buf2), "%s\n",
3087 + snprintf(buf2, sizeof(buf2), "%s\n",
3088 lst[i]->name ? lst[i]->name : nstr);
3092 - Esnprintf(buf2, sizeof(buf2),
3093 + snprintf(buf2, sizeof(buf2),
3095 " Window Title: %s\n"
3096 " Window Name: %s\n"
3097 diff -Nru enlightenment-0.16.6/src/kde.c enlightenment-0.16.6.new/src/kde.c
3098 --- enlightenment-0.16.6/src/kde.c Wed Jul 26 20:00:47 2000
3099 +++ enlightenment-0.16.6.new/src/kde.c Fri Jul 20 05:26:31 2001
3100 @@ -1208,12 +1208,12 @@
3102 if (!KDE_DESKTOP_NAME[i])
3104 - Esnprintf(s, sizeof(s), "KWM_DESKTOP_NAME_%d", i + 1);
3105 + snprintf(s, sizeof(s), "KWM_DESKTOP_NAME_%d", i + 1);
3106 KDE_DESKTOP_NAME[i] = XInternAtom(disp, s, False);
3108 if (!getSimpleHint(root.win, KDE_DESKTOP_NAME[i]))
3110 - Esnprintf(s, sizeof(s), "Desk %d", i);
3111 + snprintf(s, sizeof(s), "Desk %d", i);
3112 XChangeProperty(disp, root.win, KDE_DESKTOP_NAME[i], XA_STRING, 8,
3113 PropModeReplace, (unsigned char *)s,
3115 @@ -1249,7 +1249,7 @@
3117 if (!KDE_DESKTOP_WINDOW_REGION[i])
3119 - Esnprintf(s, sizeof(s), "KWM_WINDOW_REGION_%d", i + 1);
3120 + snprintf(s, sizeof(s), "KWM_WINDOW_REGION_%d", i + 1);
3121 KDE_DESKTOP_WINDOW_REGION[i] = XInternAtom(disp, s, False);
3123 if (a == KDE_DESKTOP_WINDOW_REGION[i])
3124 @@ -1276,7 +1276,7 @@
3128 - /* Esnprintf(s, sizeof(s), "region %d changed to area:\n"
3129 + /* snprintf(s, sizeof(s), "region %d changed to area:\n"
3130 * "X %d to %d\nY to %d to %d\n", i + 1, data[0], data[2],
3131 * data[1], data[3]);
3132 * DIALOG_OK("kde hint",s); */
3133 diff -Nru enlightenment-0.16.6/src/main.c enlightenment-0.16.6.new/src/main.c
3134 --- enlightenment-0.16.6/src/main.c Fri Jul 28 19:23:35 2000
3135 +++ enlightenment-0.16.6.new/src/main.c Fri Jul 20 05:26:34 2001
3140 - Esnprintf(file, sizeof(file), "exec %s/dox %s/E-docs", ENLIGHTENMENT_BIN,
3141 + snprintf(file, sizeof(file), "exec %s/dox %s/E-docs", ENLIGHTENMENT_BIN,
3142 ENLIGHTENMENT_ROOT);
3143 execl(usershell(getuid()), usershell(getuid()), "-c", (char *)file, NULL);
3147 if ((!strcmp("-theme", argv[j])) && (argc - j > 1))
3149 - Esnprintf(themepath, sizeof(themepath), "%s", argv[++j]);
3150 + snprintf(themepath, sizeof(themepath), "%s", argv[++j]);
3152 else if ((!strcmp("-econfdir", argv[j])) && (argc - j > 1))
3158 - Esnprintf(themepath, sizeof(themepath), "%s", s);
3159 + snprintf(themepath, sizeof(themepath), "%s", s);
3164 def = GetDefaultTheme();
3167 - Esnprintf(themepath, sizeof(themepath), "%s", def);
3168 + snprintf(themepath, sizeof(themepath), "%s", def);
3172 diff -Nru enlightenment-0.16.6/src/menus.c enlightenment-0.16.6.new/src/menus.c
3173 --- enlightenment-0.16.6/src/menus.c Fri Jul 28 19:23:35 2000
3174 +++ enlightenment-0.16.6.new/src/menus.c Fri Jul 20 05:28:20 2001
3177 EDestroyWindow(disp, m->win);
3179 - Esnprintf(s, sizeof(s), "__.%s", m->name);
3180 + snprintf(s, sizeof(s), "__.%s", m->name);
3181 RemoveTimerEvent(s);
3182 RemoveItem((char *)m, m->win, LIST_FINDBY_POINTER, LIST_TYPE_MENU);
3184 @@ -1102,7 +1102,7 @@
3188 - Esnprintf(cs, sizeof(cs),
3189 + snprintf(cs, sizeof(cs),
3190 "%s/cached/img/.%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",
3191 UserCacheDir(), chmap[(aa >> 0) & 0x3f],
3192 chmap[(aa >> 6) & 0x3f], chmap[(aa >> 12) & 0x3f],
3193 @@ -1141,7 +1141,7 @@
3197 - Esnprintf(ss, sizeof(ss), "%s/%s", dir, s2);
3198 + snprintf(ss, sizeof(ss), "%s/%s", dir, s2);
3199 im = Imlib_load_image(id, ss);
3202 @@ -1155,7 +1155,7 @@
3203 int maxw = 48, maxh = 48;
3204 int justx = 512, justy = 512;
3206 - Esnprintf(s2, sizeof(s2), "%s/cached/img/%s",
3207 + snprintf(s2, sizeof(s2), "%s/cached/img/%s",
3208 UserCacheDir(), s3);
3209 width = im->rgb_width;
3210 height = im->rgb_height;
3211 @@ -1242,7 +1242,7 @@
3212 ic = CreateIclass();
3213 ic->name = duplicate("`");
3214 ic->norm.normal = CreateImageState();
3215 - Esnprintf(stmp, sizeof(stmp), "%s/cached/img/%s",
3216 + snprintf(stmp, sizeof(stmp), "%s/cached/img/%s",
3217 UserCacheDir(), s3);
3218 ic->norm.normal->im_file = duplicate(stmp);
3219 ic->norm.normal->unloadable = 1;
3220 @@ -1257,7 +1257,7 @@
3221 else if (!strcmp(ss, "EXE"))
3224 - Esnprintf(s, sizeof(s), "%s/%s", dir, ss);
3225 + snprintf(s, sizeof(s), "%s/%s", dir, ss);
3226 mi = CreateMenuItem(NULL, NULL, ACTION_EXEC, s, NULL);
3227 AddItemToMenu(m, mi);
3229 @@ -1266,8 +1266,8 @@
3233 - Esnprintf(s, sizeof(s), "%s/%s:%s", dir, tmp, name);
3234 - Esnprintf(ss, sizeof(ss), "%s/%s", dir, tmp);
3235 + snprintf(s, sizeof(s), "%s/%s:%s", dir, tmp, name);
3236 + snprintf(ss, sizeof(ss), "%s/%s", dir, tmp);
3237 mm = CreateMenuFromDirectory(s, ms, ss);
3239 AddItem(mm, mm->name, mm->win, LIST_TYPE_MENU);
3240 @@ -1280,7 +1280,7 @@
3243 list = ls(dir, &num);
3244 - Esnprintf(s, sizeof(s), "Scanning %s", dir);
3245 + snprintf(s, sizeof(s), "Scanning %s", dir);
3247 p = CreateProgressbar(s, 600, 16);
3249 @@ -1290,15 +1290,15 @@
3252 SetProgressbar(p, (i * 100) / num);
3253 - Esnprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
3254 + snprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
3255 /* skip "dot" files and dirs - senisble */
3256 if ((*(list[i]) != '.') && (stat(ss, &st) >= 0))
3258 ext = FileExtension(ss);
3259 if (S_ISDIR(st.st_mode))
3261 - Esnprintf(s, sizeof(s), "%s/%s:%s", dir, list[i], name);
3262 - Esnprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
3263 + snprintf(s, sizeof(s), "%s/%s:%s", dir, list[i], name);
3264 + snprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
3265 mm = CreateMenuFromDirectory(s, ms, ss);
3267 AddItem(mm, mm->name, mm->win, LIST_TYPE_MENU);
3268 @@ -1351,7 +1351,7 @@
3272 - Esnprintf(s3, sizeof(s3),
3273 + snprintf(s3, sizeof(s3),
3274 ".%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",
3275 chmap[(aa >> 0) & 0x3f], chmap[(aa >> 6) & 0x3f],
3276 chmap[(aa >> 12) & 0x3f], chmap[(aa >> 18) & 0x3f],
3277 @@ -1380,7 +1380,7 @@
3278 int scr_asp, im_asp, w2, h2;
3279 int maxw = 48, maxh = 48;
3281 - Esnprintf(s2, sizeof(s2), "%s/cached/img/%s",
3282 + snprintf(s2, sizeof(s2), "%s/cached/img/%s",
3283 UserCacheDir(), s3);
3284 width = im->rgb_width;
3285 height = im->rgb_height;
3286 @@ -1455,7 +1455,7 @@
3287 ic = CreateIclass();
3288 ic->name = duplicate("`");
3289 ic->norm.normal = CreateImageState();
3290 - Esnprintf(stmp, sizeof(stmp), "%s/cached/img/%s",
3291 + snprintf(stmp, sizeof(stmp), "%s/cached/img/%s",
3292 UserCacheDir(), s3);
3293 ic->norm.normal->im_file = duplicate(stmp);
3294 ic->norm.normal->unloadable = 1;
3295 @@ -1509,7 +1509,7 @@
3296 FillFlatFileMenu(m, m->style, m->name, ff, m);
3298 m->ref_menu = parent;
3299 - Esnprintf(s, sizeof(s), "__.%s", m->name);
3300 + snprintf(s, sizeof(s), "__.%s", m->name);
3301 DoIn(s, 2.0, FileMenuUpdate, 0, m);
3304 @@ -1566,7 +1566,7 @@
3308 - Esnprintf(wd, sizeof(wd), "__FM.%s", icon);
3309 + snprintf(wd, sizeof(wd), "__FM.%s", icon);
3311 FindItem(wd, 0, LIST_FINDBY_NAME, LIST_TYPE_ICLASS);
3313 @@ -1603,7 +1603,7 @@
3315 else if ((act) && (!strcmp(act, "menu")) && (params))
3317 - Esnprintf(wd, sizeof(wd), "__FM.%s.%i", name, count);
3318 + snprintf(wd, sizeof(wd), "__FM.%s.%i", name, count);
3320 mm = CreateMenuFromFlatFile(wd, ms, params, parent);
3322 @@ -1648,7 +1648,7 @@
3323 /* if the menu is up dont update */
3324 if (((mode.cur_menu_mode) || (clickmenu)) && (mode.cur_menu_depth > 0))
3326 - Esnprintf(s, sizeof(s), "__.%s", m->name);
3327 + snprintf(s, sizeof(s), "__.%s", m->name);
3328 DoIn(s, 2.0, FileMenuUpdate, 0, m);
3331 @@ -1668,7 +1668,7 @@
3332 m->last_change = lastmod;
3335 - Esnprintf(s, sizeof(s), "__.%s", m->name);
3336 + snprintf(s, sizeof(s), "__.%s", m->name);
3337 DoIn(s, 2.0, FileMenuUpdate, 0, m);
3340 @@ -1676,7 +1676,7 @@
3344 - Esnprintf(s, sizeof(s), "__.%s", m->name);
3345 + snprintf(s, sizeof(s), "__.%s", m->name);
3346 DoIn(s, 2.0, FileMenuUpdate, 0, m);
3349 @@ -1695,7 +1695,7 @@
3350 EDBUG(5, "CreateMenuFromGnome");
3352 if ((lang = setlocale(LC_MESSAGES, NULL)) != NULL)
3353 - Esnprintf(name_buf, sizeof(name_buf), "Name[%s]=", lang);
3354 + snprintf(name_buf, sizeof(name_buf), "Name[%s]=", lang);
3358 @@ -1707,17 +1707,17 @@
3360 if ((strcmp(list[i], ".")) && (strcmp(list[i], "..")))
3362 - Esnprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
3363 + snprintf(ss, sizeof(ss), "%s/%s", dir, list[i]);
3366 - Esnprintf(s, sizeof(s), "%s/%s:%s", dir, list[i], name);
3367 + snprintf(s, sizeof(s), "%s/%s:%s", dir, list[i], name);
3368 mm = CreateMenuFromGnome(s, ms, ss);
3370 AddItem(mm, mm->name, mm->win, LIST_TYPE_MENU);
3374 - Esnprintf(s, sizeof(s), "%s/.directory", ss);
3375 + snprintf(s, sizeof(s), "%s/.directory", ss);
3376 if ((f = fopen(s, "r")) != NULL)
3378 while (fgets(s, sizeof(s), f))
3379 @@ -1827,7 +1827,7 @@
3380 for (i = 0; i < num; i++)
3382 s = fullfileof(lst[i]);
3383 - Esnprintf(ss, sizeof(ss), "restart_theme %s", s);
3384 + snprintf(ss, sizeof(ss), "restart_theme %s", s);
3387 mi = CreateMenuItem(s, NULL, ACTION_EXIT, ss, NULL);
3388 @@ -1905,7 +1905,7 @@
3389 if ((!lst[i]->menu) && (!lst[i]->pager) && (!lst[i]->skipwinlist)
3390 && (lst[i]->client.title) && (!lst[i]->ibox))
3392 - Esnprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
3393 + snprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
3395 CreateMenuItem(lst[i]->client.title, NULL,
3396 ACTION_FOCUS_SET, s, NULL);
3397 @@ -1942,7 +1942,7 @@
3398 && (!lst[i]->skipwinlist) && (lst[i]->client.title)
3401 - Esnprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
3402 + snprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
3404 CreateMenuItem(lst[i]->client.title, NULL,
3405 ACTION_FOCUS_SET, s, NULL);
3406 @@ -1975,7 +1975,7 @@
3408 mm->name = duplicate("__SUBMENUDESK_E");
3410 - Esnprintf(s, sizeof(s), "%i", j);
3411 + snprintf(s, sizeof(s), "%i", j);
3413 CreateMenuItem(_("Go to this Desktop"), NULL, ACTION_GOTO_DESK, s,
3415 @@ -1986,7 +1986,7 @@
3416 && (!lst[i]->pager) && (!lst[i]->skipwinlist)
3417 && (lst[i]->client.title) && (!lst[i]->ibox))
3419 - Esnprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
3420 + snprintf(s, sizeof(s), "%i", (int)(lst[i]->client.win));
3422 CreateMenuItem(lst[i]->client.title, NULL,
3423 ACTION_FOCUS_SET, s, NULL);
3424 @@ -1994,7 +1994,7 @@
3428 - Esnprintf(s, sizeof(s), _("Desktop %i"), j);
3429 + snprintf(s, sizeof(s), _("Desktop %i"), j);
3430 mi = CreateMenuItem(s, NULL, 0, NULL, mm);
3431 AddItemToMenu(m, mi);
3433 @@ -2056,7 +2056,7 @@
3435 mm->name = duplicate("__SUBMENUGROUP_E");
3437 - Esnprintf(s, sizeof(s), "%i", lst[i]->members[0]->client.win);
3438 + snprintf(s, sizeof(s), "%i", lst[i]->members[0]->client.win);
3440 CreateMenuItem(_("Show/Hide this group"), NULL,
3441 ACTION_SHOW_HIDE_GROUP, s, NULL);
3442 @@ -2068,14 +2068,14 @@
3444 for (j = 0; j < lst[i]->num_members; j++)
3446 - Esnprintf(s, sizeof(s), "%i", lst[i]->members[j]->client.win);
3447 + snprintf(s, sizeof(s), "%i", lst[i]->members[j]->client.win);
3449 CreateMenuItem(lst[i]->members[j]->client.title, NULL,
3450 ACTION_FOCUS_SET, s, NULL);
3451 AddItemToMenu(mm, mi);
3454 - Esnprintf(s, sizeof(s), _("Group %i"), i);
3455 + snprintf(s, sizeof(s), _("Group %i"), i);
3456 mi = CreateMenuItem(s, NULL, 0, NULL, mm);
3457 AddItemToMenu(m, mi);
3459 diff -Nru enlightenment-0.16.6/src/misc.c enlightenment-0.16.6.new/src/misc.c
3460 --- enlightenment-0.16.6/src/misc.c Wed Jul 26 20:00:47 2000
3461 +++ enlightenment-0.16.6.new/src/misc.c Fri Jul 20 05:28:53 2001
3463 for (i = 0; i < 3; i++)
3466 - Esnprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_BIN, bins[i]);
3467 + snprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_BIN, bins[i]);
3469 - Esnprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_BIN),
3470 + snprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_BIN),
3475 "correctly.\n"), s);
3478 - Esnprintf(s, sizeof(s), "%s/dox", ENLIGHTENMENT_BIN);
3479 + snprintf(s, sizeof(s), "%s/dox", ENLIGHTENMENT_BIN);
3481 for (i = 0; i < 3; i++)
3484 - Esnprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_ROOT, docs[i]);
3485 + snprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_ROOT, docs[i]);
3487 - Esnprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
3488 + snprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
3493 for (i = 0; i < 1; i++)
3496 - Esnprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_ROOT, thms[i]);
3497 + snprintf(s, sizeof(s), "%s/%s", ENLIGHTENMENT_ROOT, thms[i]);
3499 - Esnprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
3500 + snprintf(s, sizeof(s), "%s/%s", __XOS2RedirRoot(ENLIGHTENMENT_ROOT),
3505 char *home, buf[4096];
3507 home = homedir(getuid());
3508 - Esnprintf(buf, sizeof(buf), "%s/.enlightenment", home);
3509 + snprintf(buf, sizeof(buf), "%s/.enlightenment", home);
3511 dir = duplicate(buf);
3514 char sss[FILEPATH_LEN_MAX];
3517 - Esnprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
3518 + snprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
3520 - Esnprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
3521 + snprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
3525 @@ -434,93 +434,93 @@
3529 - Esnprintf(s, sizeof(s), "%s/%s", dir, "borders.cfg");
3530 + snprintf(s, sizeof(s), "%s/%s", dir, "borders.cfg");
3533 badreason = _("Theme does not contain a borders.cfg file\n");
3536 - Esnprintf(s, sizeof(s), "%s/%s", dir, "buttons.cfg");
3537 + snprintf(s, sizeof(s), "%s/%s", dir, "buttons.cfg");
3540 badreason = _("Theme does not contain a buttons.cfg file\n");
3543 - Esnprintf(s, sizeof(s), "%s/%s", dir, "colormodifiers.cfg");
3544 + snprintf(s, sizeof(s), "%s/%s", dir, "colormodifiers.cfg");
3547 badreason = _("Theme does not contain a colormodifiers.cfg file\n");
3550 - Esnprintf(s, sizeof(s), "%s/%s", dir, "cursors.cfg");
3551 + snprintf(s, sizeof(s), "%s/%s", dir, "cursors.cfg");
3554 badreason = _("Theme does not contain a cursors.cfg file\n");
3557 - Esnprintf(s, sizeof(s), "%s/%s", dir, "desktops.cfg");
3558 + snprintf(s, sizeof(s), "%s/%s", dir, "desktops.cfg");
3561 badreason = _("Theme does not contain a desktops.cfg file\n");
3564 - Esnprintf(s, sizeof(s), "%s/%s", dir, "imageclasses.cfg");
3565 + snprintf(s, sizeof(s), "%s/%s", dir, "imageclasses.cfg");
3568 badreason = _("Theme does not contain a imageclasses.cfg file\n");
3571 - Esnprintf(s, sizeof(s), "%s/%s", dir, "init.cfg");
3572 + snprintf(s, sizeof(s), "%s/%s", dir, "init.cfg");
3575 badreason = _("Theme does not contain a init.cfg file\n");
3578 - Esnprintf(s, sizeof(s), "%s/%s", dir, "menustyles.cfg");
3579 + snprintf(s, sizeof(s), "%s/%s", dir, "menustyles.cfg");
3582 badreason = _("Theme does not contain a menustyles.cfg file\n");
3585 - Esnprintf(s, sizeof(s), "%s/%s", dir, "slideouts.cfg");
3586 + snprintf(s, sizeof(s), "%s/%s", dir, "slideouts.cfg");
3589 badreason = _("Theme does not contain a slideouts.cfg file\n");
3592 #ifndef __EMX__ /* OS/2 Team will compile ESound after XMMS project */
3593 - Esnprintf(s, sizeof(s), "%s/%s", dir, "sound.cfg");
3594 + snprintf(s, sizeof(s), "%s/%s", dir, "sound.cfg");
3597 badreason = _("Theme does not contain a sound.cfg file\n");
3601 - Esnprintf(s, sizeof(s), "%s/%s", dir, "tooltips.cfg");
3602 + snprintf(s, sizeof(s), "%s/%s", dir, "tooltips.cfg");
3605 badreason = _("Theme does not contain a tooltips.cfg file\n");
3608 - Esnprintf(s, sizeof(s), "%s/%s", dir, "windowmatches.cfg");
3609 + snprintf(s, sizeof(s), "%s/%s", dir, "windowmatches.cfg");
3612 badreason = _("Theme does not contain a windowmatches.cfg file\n");
3615 - Esnprintf(s, sizeof(s), "%s/%s", dir, "menus.cfg");
3616 + snprintf(s, sizeof(s), "%s/%s", dir, "menus.cfg");
3619 badreason = _("Theme contains a menus.cfg file\n");
3622 - Esnprintf(s, sizeof(s), "%s/%s", dir, "control.cfg");
3623 + snprintf(s, sizeof(s), "%s/%s", dir, "control.cfg");
3626 badreason = _("Theme contains a control.cfg file\n");
3629 - Esnprintf(s, sizeof(s), "%s/%s", dir, "keybindings.cfg");
3630 + snprintf(s, sizeof(s), "%s/%s", dir, "keybindings.cfg");
3633 badreason = _("Theme contains a keybindings.cfg file\n");
3634 diff -Nru enlightenment-0.16.6/src/modules.c enlightenment-0.16.6.new/src/modules.c
3635 --- enlightenment-0.16.6/src/modules.c Wed Jul 26 20:00:47 2000
3636 +++ enlightenment-0.16.6.new/src/modules.c Fri Jul 20 05:29:33 2001
3639 char pathoffiletoload[FILEPATH_LEN_MAX];
3641 - Esnprintf(pathoffiletoload, sizeof(pathoffiletoload), "%s/%s",
3642 + snprintf(pathoffiletoload, sizeof(pathoffiletoload), "%s/%s",
3643 FindModulePath(module_name), module_name);
3644 handle = dlopen(pathoffiletoload, RTLD_LAZY);
3646 diff -Nru enlightenment-0.16.6/src/pager.c enlightenment-0.16.6.new/src/pager.c
3647 --- enlightenment-0.16.6/src/pager.c Fri Jul 28 19:23:35 2000
3648 +++ enlightenment-0.16.6.new/src/pager.c Fri Jul 20 05:29:30 2001
3650 static int offsets[8] = { 0, 4, 2, 6, 1, 5, 3, 7 };
3653 - Esnprintf(s, sizeof(s), "__.%x", p->win);
3654 + snprintf(s, sizeof(s), "__.%x", p->win);
3655 /* prevent runaway pager timeouts - dont knwo how it happens - but hack */
3656 /* around to stop it */
3657 cur_time = GetTime();
3662 - Esnprintf(s, sizeof(s), "%i", p->desktop);
3663 + snprintf(s, sizeof(s), "%i", p->desktop);
3664 xch = XAllocClassHint();
3666 xch->res_class = "Enlightenment_Pager";
3668 RememberImportantInfoForEwin(ewin);
3671 - Esnprintf(s, sizeof(s), "__.%x", p->win);
3672 + snprintf(s, sizeof(s), "__.%x", p->win);
3673 if (mode.pager_scanspeed > 0)
3674 DoIn(s, 1 / ((double)mode.pager_scanspeed), PagerUpdateTimeout,
3679 RemoveItem("PAGER", p->win, LIST_FINDBY_ID, LIST_TYPE_PAGER);
3680 - Esnprintf(s, sizeof(s), "__.%x", p->win);
3681 + snprintf(s, sizeof(s), "__.%x", p->win);
3682 RemoveTimerEvent(s);
3685 @@ -1006,7 +1006,7 @@
3688 uniq = GetUniqueBGString(desks.desk[p->desktop].bg);
3689 - Esnprintf(s, sizeof(s), "%s/cached/pager/%s.%i.%i.%s",
3690 + snprintf(s, sizeof(s), "%s/cached/pager/%s.%i.%i.%s",
3692 desks.desk[p->desktop].bg->name, (p->w / ax),
3694 @@ -1270,7 +1270,7 @@
3696 FindItem("DEFAULT", 0, LIST_FINDBY_NAME, LIST_TYPE_MENU_STYLE);
3698 - Esnprintf(s, sizeof(s), "%i", ewin->client.win);
3699 + snprintf(s, sizeof(s), "%i", ewin->client.win);
3700 mi = CreateMenuItem(_("Iconify"), NULL, ACTION_ICONIFY, s, NULL);
3701 AddItemToMenu(pw_menu, mi);
3703 @@ -1284,7 +1284,7 @@
3704 AddItemToMenu(pw_menu, mi);
3706 AddItem(pw_menu, pw_menu->name, 0, LIST_TYPE_MENU);
3707 - Esnprintf(s, sizeof(s), "named %s", pw_menu->name);
3708 + snprintf(s, sizeof(s), "named %s", pw_menu->name);
3712 @@ -1325,7 +1325,7 @@
3713 AddItemToMenu(p_menu, mi);
3715 AddItem(p_menu, p_menu->name, 0, LIST_TYPE_MENU);
3716 - Esnprintf(s, sizeof(s), "named %s", p_menu->name);
3717 + snprintf(s, sizeof(s), "named %s", p_menu->name);
3721 @@ -1713,7 +1713,7 @@
3725 - Esnprintf(s, sizeof(s), "%i", desk);
3726 + snprintf(s, sizeof(s), "%i", desk);
3730 @@ -1734,7 +1734,7 @@
3734 - Esnprintf(s, sizeof(s), "%i", desk);
3735 + snprintf(s, sizeof(s), "%i", desk);
3739 @@ -1865,7 +1865,7 @@
3740 PagerForceUpdate(pl[i]);
3743 - Esnprintf(s, sizeof(s), "__.%x", pl[i]->win);
3744 + snprintf(s, sizeof(s), "__.%x", pl[i]->win);
3745 if (mode.pager_scanspeed > 0)
3746 DoIn(s, 1 / ((double)mode.pager_scanspeed),
3747 PagerUpdateTimeout, 0, pl[i]);
3748 diff -Nru enlightenment-0.16.6/src/progress.c enlightenment-0.16.6.new/src/progress.c
3749 --- enlightenment-0.16.6/src/progress.c Fri Jul 28 19:23:35 2000
3750 +++ enlightenment-0.16.6.new/src/progress.c Fri Jul 20 05:31:13 2001
3755 - Esnprintf(s, sizeof(s), "%i%%", p->value);
3756 + snprintf(s, sizeof(s), "%i%%", p->value);
3759 TclassApply(p->inc, p->n_win, p->h * 5, p->h, 0, 0, STATE_CLICKED, 0,
3760 #diff -Nru enlightenment-0.16.6/src/scursor.c enlightenment-0.16.6.new/src/scursor.c
3761 #--- enlightenment-0.16.6/src/scursor.c Fri Jul 28 21:13:13 2000
3762 #+++ enlightenment-0.16.6.new/src/scursor.c Fri Jul 20 05:31:30 2001
3763 #@@ -136,7 +136,7 @@
3765 # Pixmap pmap, mask;
3767 #- Esnprintf(s, sizeof(s), "pix/wait%i.png", wait_count);
3768 #+ snprintf(s, sizeof(s), "pix/wait%i.png", wait_count);
3770 # if (wait_count > 12)
3772 diff -Nru enlightenment-0.16.6/src/session.c enlightenment-0.16.6.new/src/session.c
3773 --- enlightenment-0.16.6/src/session.c Wed Jul 26 20:00:47 2000
3774 +++ enlightenment-0.16.6.new/src/session.c Fri Jul 20 05:31:10 2001
3779 - Esnprintf(s, sizeof(s), "%s/...e_session-XXXXXX", UserEDir());
3780 + snprintf(s, sizeof(s), "%s/...e_session-XXXXXX", UserEDir());
3781 def_prefix = duplicate(s);
3788 - Esnprintf(ss, sizeof(ss), "%s.clients.%i", GetSMFile(), root.scr);
3789 + snprintf(ss, sizeof(ss), "%s.clients.%i", GetSMFile(), root.scr);
3795 char s[4096], s1[4096];
3797 - Esnprintf(s, sizeof(s), "%s.clients.%i", GetSMFile(), root.scr);
3798 + snprintf(s, sizeof(s), "%s.clients.%i", GetSMFile(), root.scr);
3806 - * Esnprintf(buf, sizeof(buf) / sizeof(char), "rm %s*", GetSMFile());
3807 + * snprintf(buf, sizeof(buf) / sizeof(char), "rm %s*", GetSMFile());
3810 rm(GetGenericSMFile());
3815 - Esnprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
3816 + snprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
3818 - Esnprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
3819 + snprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
3825 if (themepath[0] != 0)
3827 - Esnprintf(sss, sizeof(sss),
3828 + snprintf(sss, sizeof(sss),
3829 "exec %s -single -ext_init_win %i -theme %s "
3830 "-econfdir %s -ecachedir %s -display %s", command,
3831 w, themename, UserEDir(), UserCacheDir(), dstr);
3836 - Esnprintf(sss, sizeof(sss),
3837 + snprintf(sss, sizeof(sss),
3838 "exec %s -single -ext_init_win %i "
3839 "-econfdir %s -ecachedir %s -display %s", command,
3840 w, UserEDir(), UserCacheDir(), dstr);
3842 XCloseDisplay(disp);
3844 sscanf(params, "%*s %1000s", s);
3845 - Esnprintf(sss, sizeof(sss),
3846 + snprintf(sss, sizeof(sss),
3847 "exec %s -single -ext_init_win %i -theme %s "
3848 "-econfdir %s -ecachedir %s -display %s", command, w, s,
3849 UserEDir(), UserCacheDir(), dstr);
3851 priorityVal.value = &priority;
3853 /* Tell session manager how to clean up our old data */
3854 - Esnprintf(buf, sizeof(buf) / sizeof(char), "rm %s*.clients.*", sm_file);
3855 + snprintf(buf, sizeof(buf) / sizeof(char), "rm %s*.clients.*", sm_file);
3857 discardVal[0].length = strlen(sh);
3858 discardVal[0].value = sh;
3863 - Esnprintf(buf, sizeof(buf) / sizeof(char), "%i", init_win_ext);
3864 + snprintf(buf, sizeof(buf) / sizeof(char), "%i", init_win_ext);
3866 restartVal[n].length = strlen(extinitwin);
3867 restartVal[n++].value = extinitwin;
3872 - Esnprintf(s, sizeof(s), "sm_file %s", default_save_prefix());
3873 + snprintf(s, sizeof(s), "sm_file %s", default_save_prefix());
3874 /* fd = Emkstemp(s + 8);
3877 @@ -1304,7 +1304,7 @@
3879 XCloseDisplay(disp);
3881 - Esnprintf(s, sizeof(s), "exec %s -display %s", atword(params, 2), dstr);
3882 + snprintf(s, sizeof(s), "exec %s -display %s", atword(params, 2), dstr);
3883 execl(DEFAULT_SH_PATH, DEFAULT_SH_PATH, "-c", s, NULL);
3885 else if (!strcmp(s, "restart"))
3886 @@ -1321,14 +1321,14 @@
3887 if (themepath[0] != 0)
3890 - Esnprintf(s, sizeof(s),
3891 + snprintf(s, sizeof(s),
3892 "exec %s -single -ext_init_win %i -theme %s "
3893 "-econfdir %s -ecachedir %s "
3894 "-smfile %s -smid %s -display %s", command,
3895 init_win_ext, themename, UserEDir(), UserCacheDir(),
3896 sm_file, sm_client_id, dstr);
3898 - Esnprintf(s, sizeof(s),
3899 + snprintf(s, sizeof(s),
3900 "exec %s -single -ext_init_win %i -theme %s "
3901 "-econfdir %s -ecachedir %s "
3902 "-smfile %s -display %s", command, init_win_ext,
3903 @@ -1338,14 +1338,14 @@
3907 - Esnprintf(s, sizeof(s),
3908 + snprintf(s, sizeof(s),
3909 "exec %s -single -ext_init_win %i "
3910 "-econfdir %s -ecachedir %s "
3911 "-smfile %s -smid %s -display %s", command,
3912 init_win_ext, UserEDir(), UserCacheDir(), sm_file,
3913 sm_client_id, dstr);
3915 - Esnprintf(s, sizeof(s),
3916 + snprintf(s, sizeof(s),
3917 "exec %s -single -ext_init_win %i"
3918 "-econfdir %s -ecachedir %s "
3919 "-smfile %s -display %s", command, init_win_ext,
3920 @@ -1368,14 +1368,14 @@
3924 - Esnprintf(s, sizeof(s),
3925 + snprintf(s, sizeof(s),
3926 "exec %s -single -ext_init_win %i -theme %s "
3927 "-econfdir %s -ecachedir %s "
3928 "-smfile %s -smid %s -display %s", command, init_win_ext,
3929 userthemepath, UserEDir(), UserCacheDir(), sm_file,
3930 sm_client_id, dstr);
3932 - Esnprintf(s, sizeof(s),
3933 + snprintf(s, sizeof(s),
3934 "exec %s -ext_init_win %i -theme %s "
3935 "-econfdir %s -ecachedir %s "
3936 "-smfile %s -single -display %s", command, init_win_ext,
3937 diff -Nru enlightenment-0.16.6/src/settings.c enlightenment-0.16.6.new/src/settings.c
3938 --- enlightenment-0.16.6/src/settings.c Fri Jul 28 23:29:56 2000
3939 +++ enlightenment-0.16.6.new/src/settings.c Fri Jul 20 05:31:27 2001
3944 - Esnprintf(s, sizeof(s), "%s %03i %s", _("Pager scanning speed:"),
3945 + snprintf(s, sizeof(s), "%s %03i %s", _("Pager scanning speed:"),
3946 tmp_pager_scan_speed, _("lines per second"));
3947 DialogItemTextSetText(pager_scan_speed_label, s);
3948 DialogDrawItems(pager_settings_dialog, pager_scan_speed_label, 0, 0, 99999,
3950 DialogItemSetFill(di, 0, 0);
3951 DialogItemSetColSpan(di, 2);
3952 DialogItemSetAlign(di, 0, 512);
3953 - Esnprintf(s, sizeof(s), "%s %03i %s", _("Pager scanning speed:"),
3954 + snprintf(s, sizeof(s), "%s %03i %s", _("Pager scanning speed:"),
3955 tmp_pager_scan_speed, _("lines per second"));
3956 DialogItemTextSetText(di, s);
3958 @@ -1089,9 +1089,9 @@
3959 for (i = tmp_desktops; i < ENLIGHTENMENT_CONF_NUM_DESKTOPS; i++)
3960 EUnmapWindow(disp, wins[i]);
3961 if (tmp_desktops > 1)
3962 - Esnprintf(s, sizeof(s), _("%i Desktops"), tmp_desktops);
3963 + snprintf(s, sizeof(s), _("%i Desktops"), tmp_desktops);
3965 - Esnprintf(s, sizeof(s), _("%i Desktop"), tmp_desktops);
3966 + snprintf(s, sizeof(s), _("%i Desktop"), tmp_desktops);
3967 DialogItemTextSetText(tmp_desk_text, s);
3968 DialogDrawItems(tmp_desk_dialog, tmp_desk_text, 0, 0, 99999, 99999);
3970 @@ -1152,9 +1152,9 @@
3971 DialogItemSetFill(di, 1, 0);
3972 DialogItemSetColSpan(di, 2);
3973 if (tmp_desktops > 1)
3974 - Esnprintf(s, sizeof(s), _("%i Desktops"), tmp_desktops);
3975 + snprintf(s, sizeof(s), _("%i Desktops"), tmp_desktops);
3977 - Esnprintf(s, sizeof(s), _("%i Desktop"), tmp_desktops);
3978 + snprintf(s, sizeof(s), _("%i Desktop"), tmp_desktops);
3979 DialogItemTextSetText(di, s);
3981 di = slider = DialogAddItem(table, DITEM_SLIDER);
3982 @@ -1271,10 +1271,10 @@
3983 EMapWindow(disp, awin);
3985 if ((tmp_area_x > 1) || ((9 - tmp_area_y) > 1))
3986 - Esnprintf(s, sizeof(s), _("%i x %i\nScreens in size"), tmp_area_x,
3987 + snprintf(s, sizeof(s), _("%i x %i\nScreens in size"), tmp_area_x,
3990 - Esnprintf(s, sizeof(s), _("1\nScreen in size"));
3991 + snprintf(s, sizeof(s), _("1\nScreen in size"));
3992 DialogItemTextSetText(tmp_area_text, s);
3993 DialogDrawItems(tmp_area_dialog, tmp_area_text, 0, 0, 99999, 99999);
3995 @@ -1340,10 +1340,10 @@
3996 DialogItemSetPadding(di, 2, 2, 2, 2);
3997 DialogItemSetFill(di, 1, 0);
3998 if ((tmp_area_x > 1) || (tmp_area_y > 1))
3999 - Esnprintf(s, sizeof(s), _("%i x %i\nScreens in size"), tmp_area_x,
4000 + snprintf(s, sizeof(s), _("%i x %i\nScreens in size"), tmp_area_x,
4003 - Esnprintf(s, sizeof(s), _("1\nScreen in size"));
4004 + snprintf(s, sizeof(s), _("1\nScreen in size"));
4005 DialogItemTextSetText(di, s);
4007 table2 = DialogAddItem(table, DITEM_TABLE);
4008 @@ -2520,7 +2520,7 @@
4012 - Esnprintf(s, sizeof(s), "%s/cached/bgsel/%s", UserCacheDir(),
4013 + snprintf(s, sizeof(s), "%s/cached/bgsel/%s", UserCacheDir(),
4015 p2 = ECreatePixmap(disp, root.win, 64, 48, root.depth);
4016 SetBackgroundTo(id, p2, tmp_bg, 0);
4017 @@ -2636,7 +2636,7 @@
4021 - Esnprintf(s, sizeof(s), "__NEWBG_%i\n", time(NULL));
4022 + snprintf(s, sizeof(s), "__NEWBG_%i\n", time(NULL));
4026 @@ -2709,7 +2709,7 @@
4027 stmp = fullfileof(tmp_bg->bg.file);
4029 stmp = duplicate(_("-NONE-"));
4030 - Esnprintf(s, sizeof(s),
4031 + snprintf(s, sizeof(s),
4033 ("Background definition information:\nName: %s\nFile: %s\n"),
4034 tmp_bg->name, stmp);
4035 @@ -2831,7 +2831,7 @@
4036 stmp = fullfileof(tmp_bg->bg.file);
4038 stmp = duplicate(_("-NONE-"));
4039 - Esnprintf(s, sizeof(s),
4040 + snprintf(s, sizeof(s),
4042 ("Background definition information:\nName: %s\nFile: %s\n"),
4043 tmp_bg->name, stmp);
4044 @@ -2973,12 +2973,12 @@
4048 - Esnprintf(s, sizeof(s), "%s/cached/bgsel/%s",
4049 + snprintf(s, sizeof(s), "%s/cached/bgsel/%s",
4050 UserCacheDir(), bglist[i]->name);
4054 - Esnprintf(s, sizeof(s), "%s/cached/bgsel/%s",
4055 + snprintf(s, sizeof(s), "%s/cached/bgsel/%s",
4056 UserCacheDir(), bglist[i]->name);
4057 p2 = ECreatePixmap(disp, pmap, 64, 48, id->x.depth);
4058 SetBackgroundTo(id, p2, bglist[i], 0);
4059 @@ -3088,7 +3088,7 @@
4060 stmp = fullfileof(tmp_bg->bg.file);
4062 stmp = duplicate(_("-NONE-"));
4063 - Esnprintf(s, sizeof(s),
4064 + snprintf(s, sizeof(s),
4066 ("Background definition information:\nName: %s\nFile: %s\n"),
4067 tmp_bg->name, stmp);
4068 @@ -3151,7 +3151,7 @@
4071 di = (DItem *) data;
4072 - Esnprintf(s, sizeof(s), _("Unused backgrounds freed after %2i:%02i:%02i"),
4073 + snprintf(s, sizeof(s), _("Unused backgrounds freed after %2i:%02i:%02i"),
4074 tmp_bg_timeout / 3600,
4075 (tmp_bg_timeout / 60) - (60 * (tmp_bg_timeout / 3600)),
4076 (tmp_bg_timeout) - (60 * (tmp_bg_timeout / 60)));
4077 @@ -3211,7 +3211,7 @@
4078 stmp = fullfileof(tmp_bg->bg.file);
4080 stmp = duplicate(_("-NONE-"));
4081 - Esnprintf(s, sizeof(s),
4082 + snprintf(s, sizeof(s),
4084 ("Background definition information:\nName: %s\nFile: %s\n"),
4085 tmp_bg->name, stmp);
4086 @@ -3455,7 +3455,7 @@
4090 - Esnprintf(s, sizeof(s), "__NEWBG_%i\n", time(NULL));
4091 + snprintf(s, sizeof(s), "__NEWBG_%i\n", time(NULL));
4093 CreateDesktopBG(s, NULL, NULL, 1, 1, 0, 0, 0, 0, NULL, 1, 512, 512,
4095 @@ -3724,7 +3724,7 @@
4096 DialogItemSetPadding(di, 2, 2, 2, 2);
4097 DialogItemSetFill(di, 1, 0);
4098 DialogItemSetAlign(di, 512, 512);
4099 - Esnprintf(s, sizeof(s), _("Unused backgrounds freed after %2i:%02i:%02i"),
4100 + snprintf(s, sizeof(s), _("Unused backgrounds freed after %2i:%02i:%02i"),
4101 tmp_bg_timeout / 3600,
4102 (tmp_bg_timeout / 60) - (60 * (tmp_bg_timeout / 3600)),
4103 (tmp_bg_timeout) - (60 * (tmp_bg_timeout / 60)));
4104 @@ -3834,7 +3834,7 @@
4105 stmp = fullfileof(tmp_bg->bg.file);
4107 stmp = duplicate(_("-NONE-"));
4108 - Esnprintf(s, sizeof(s),
4109 + snprintf(s, sizeof(s),
4110 _("Background definition information:\nName: %s\nFile: %s\n"),
4111 tmp_bg->name, stmp);
4113 diff -Nru enlightenment-0.16.6/src/setup.c enlightenment-0.16.6.new/src/setup.c
4114 --- enlightenment-0.16.6/src/setup.c Sun Jul 30 00:32:36 2000
4115 +++ enlightenment-0.16.6.new/src/setup.c Fri Jul 20 05:31:07 2001
4117 if (NULL != dispstr)
4120 - Esnprintf(subdisplay + strlen(subdisplay), 10, ".%d",
4121 + snprintf(subdisplay + strlen(subdisplay), 10, ".%d",
4123 dstr = duplicate(subdisplay);
4124 disp = XOpenDisplay(dstr);
4126 char s[1024], ss[1024], *home;
4128 EDBUG(6, "SetupDirs");
4129 - Esnprintf(s, sizeof(s), "%s", UserEDir());
4130 + snprintf(s, sizeof(s), "%s", UserEDir());
4131 home = homedir(getuid());
4138 - Esnprintf(ss, sizeof(ss), "%s.old", UserEDir());
4139 + snprintf(ss, sizeof(ss), "%s.old", UserEDir());
4143 @@ -690,37 +690,37 @@
4147 - Esnprintf(s, sizeof(s), "%s/themes", UserEDir());
4148 + snprintf(s, sizeof(s), "%s/themes", UserEDir());
4153 - Esnprintf(s, sizeof(s), "%s/backgrounds", UserEDir());
4154 + snprintf(s, sizeof(s), "%s/backgrounds", UserEDir());
4159 - Esnprintf(s, sizeof(s), "%s/cached", UserCacheDir());
4160 + snprintf(s, sizeof(s), "%s/cached", UserCacheDir());
4165 - Esnprintf(s, sizeof(s), "%s/cached/img", UserCacheDir());
4166 + snprintf(s, sizeof(s), "%s/cached/img", UserCacheDir());
4171 - Esnprintf(s, sizeof(s), "%s/cached/cfg", UserCacheDir());
4172 + snprintf(s, sizeof(s), "%s/cached/cfg", UserCacheDir());
4177 - Esnprintf(s, sizeof(s), "%s/cached/bgsel", UserCacheDir());
4178 + snprintf(s, sizeof(s), "%s/cached/bgsel", UserCacheDir());
4183 - Esnprintf(s, sizeof(s), "%s/cached/pager", UserCacheDir());
4184 + snprintf(s, sizeof(s), "%s/cached/pager", UserCacheDir());
4190 Esetenv("EROOT", ENLIGHTENMENT_ROOT, 1);
4191 Esetenv("EBIN", ENLIGHTENMENT_BIN, 1);
4192 - Esnprintf(s, sizeof(s), "%i", getpid());
4193 + snprintf(s, sizeof(s), "%i", getpid());
4194 Esetenv("EPID", s, 1);
4195 Esetenv("ETHEME", themepath, 1);
4196 Esetenv("ECONFDIR", UserEDir(), 1);
4201 - Esnprintf(s, sizeof(s), "pix/wait%i.png", i);
4202 + snprintf(s, sizeof(s), "pix/wait%i.png", i);
4208 EDBUG(3, "SetupUserInitialization");
4210 - Esnprintf(file, sizeof(file), "%s/.initialized", UserEDir());
4211 + snprintf(file, sizeof(file), "%s/.initialized", UserEDir());
4219 - Esnprintf(file, sizeof(file), "exec %s/e_gen_menu", ENLIGHTENMENT_BIN);
4220 + snprintf(file, sizeof(file), "exec %s/e_gen_menu", ENLIGHTENMENT_BIN);
4221 execl(usershell(getuid()), usershell(getuid()), "-c", (char *)file,
4224 diff -Nru enlightenment-0.16.6/src/snaps.c enlightenment-0.16.6.new/src/snaps.c
4225 --- enlightenment-0.16.6/src/snaps.c Sun Jul 30 00:32:36 2000
4226 +++ enlightenment-0.16.6.new/src/snaps.c Fri Jul 20 05:31:24 2001
4230 if ((ewin->client.name) && (ewin->client.class))
4231 - Esnprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
4232 + snprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
4233 ewin->client.class);
4234 else if (ewin->client.title)
4235 - Esnprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
4236 + snprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
4239 sn = FindItem(buf, 0, LIST_FINDBY_BOTH, LIST_TYPE_SNAPSHOT);
4243 if ((ewin->client.name) && (ewin->client.class))
4244 - Esnprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
4245 + snprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
4246 ewin->client.class);
4247 else if (ewin->client.title)
4248 - Esnprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
4249 + snprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
4250 sn = NewSnapshot(buf);
4251 ListChangeItemID(LIST_TYPE_SNAPSHOT, sn, 1);
4252 if ((ewin->client.name) && (ewin->client.class))
4253 @@ -816,10 +816,10 @@
4256 if ((ewin->client.name) && (ewin->client.class))
4257 - Esnprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
4258 + snprintf(buf, sizeof(buf), "%s.%s", ewin->client.name,
4259 ewin->client.class);
4260 else if (ewin->client.title)
4261 - Esnprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
4262 + snprintf(buf, sizeof(buf), "TITLE.%s", ewin->client.title);
4270 - Esnprintf(buf, sizeof(buf), "%s.snapshots.%i", GetGenericSMFile(), root.scr);
4271 + snprintf(buf, sizeof(buf), "%s.snapshots.%i", GetGenericSMFile(), root.scr);
4279 - Esnprintf(buf, sizeof(buf), "%s.snapshots.%i", GetSMFile(), root.scr);
4280 + snprintf(buf, sizeof(buf), "%s.snapshots.%i", GetSMFile(), root.scr);
4282 - Esnprintf(buf, sizeof(buf), "%s.snapshots.%i", GetGenericSMFile(),
4283 + snprintf(buf, sizeof(buf), "%s.snapshots.%i", GetGenericSMFile(),
4286 f = fopen(buf, "r");
4287 @@ -1240,7 +1240,7 @@
4289 if ((hint.res_name) && (hint.res_class))
4291 - Esnprintf(buf, sizeof(buf), "%s.%s", hint.res_name, hint.res_class);
4292 + snprintf(buf, sizeof(buf), "%s.%s", hint.res_name, hint.res_class);
4293 sn = FindItem(buf, 0, LIST_FINDBY_BOTH, LIST_TYPE_SNAPSHOT);
4296 @@ -1266,7 +1266,7 @@
4298 if ((hint.res_name) && (hint.res_class))
4300 - Esnprintf(buf, sizeof(buf), "%s.%s", hint.res_name, hint.res_class);
4301 + snprintf(buf, sizeof(buf), "%s.%s", hint.res_name, hint.res_class);
4302 sn = FindItem(buf, 0, LIST_FINDBY_BOTH, LIST_TYPE_SNAPSHOT);
4305 diff -Nru enlightenment-0.16.6/src/snprintf.c enlightenment-0.16.6.new/src/snprintf.c
4306 --- enlightenment-0.16.6/src/snprintf.c Wed Jul 26 20:00:47 2000
4307 +++ enlightenment-0.16.6.new/src/snprintf.c Fri Jul 20 05:31:04 2001
4312 -Esnprintf(char *str, size_t count, const char *fmt, ...)
4313 +snprintf(char *str, size_t count, const char *fmt, ...)
4316 -Esnprintf(va_alist)
4321 diff -Nru enlightenment-0.16.6/src/startup.c enlightenment-0.16.6.new/src/startup.c
4322 --- enlightenment-0.16.6/src/startup.c Fri Jul 28 19:23:35 2000
4323 +++ enlightenment-0.16.6.new/src/startup.c Fri Jul 20 05:31:22 2001
4328 - Esnprintf(tmp, 2048, "%s/estrt_%i",
4329 + snprintf(tmp, 2048, "%s/estrt_%i",
4330 (getenv("TMPDIR") == NULL) ? "/tmp" : getenv("TMPDIR"),
4332 f1 = fopen(file, "r");
4333 @@ -142,19 +142,19 @@
4336 h = homedir(getuid());
4337 - Esnprintf(s, 1024, "%s/.xsession", h);
4338 + snprintf(s, 1024, "%s/.xsession", h);
4339 val |= AddEToFile(s);
4340 - Esnprintf(s, 1024, "%s/.xinitrc", h);
4341 + snprintf(s, 1024, "%s/.xinitrc", h);
4342 val |= AddEToFile(s);
4343 - Esnprintf(s, 1024, "%s/.Xclients", h);
4344 + snprintf(s, 1024, "%s/.Xclients", h);
4345 val |= AddEToFile(s);
4348 - Esnprintf(s, 1024, "%s/.xsession", h);
4349 + snprintf(s, 1024, "%s/.xsession", h);
4351 - Esnprintf(s, 1024, "%s/.xinitrc", h);
4352 + snprintf(s, 1024, "%s/.xinitrc", h);
4354 - Esnprintf(s, 1024, "%s/.Xclients", h);
4355 + snprintf(s, 1024, "%s/.Xclients", h);
4359 diff -Nru enlightenment-0.16.6/src/tclass.c enlightenment-0.16.6.new/src/tclass.c
4360 --- enlightenment-0.16.6/src/tclass.c Fri Jul 28 19:23:35 2000
4361 +++ enlightenment-0.16.6.new/src/tclass.c Fri Jul 20 05:31:00 2001
4366 - Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
4367 + snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
4369 DIALOG_OK(_("TextClass Error!"), stuff);
4371 diff -Nru enlightenment-0.16.6/src/text.c enlightenment-0.16.6.new/src/text.c
4372 --- enlightenment-0.16.6/src/text.c Fri Jul 28 19:23:35 2000
4373 +++ enlightenment-0.16.6.new/src/text.c Fri Jul 20 05:31:19 2001
4378 - Esnprintf(s, sizeof(s), "ttfonts/%s.ttf", w);
4379 + snprintf(s, sizeof(s), "ttfonts/%s.ttf", w);
4383 diff -Nru enlightenment-0.16.6/src/theme.c enlightenment-0.16.6.new/src/theme.c
4384 --- enlightenment-0.16.6/src/theme.c Wed Jul 26 20:00:47 2000
4385 +++ enlightenment-0.16.6.new/src/theme.c Fri Jul 20 05:30:57 2001
4388 if (!strcmp(str[i], "DEFAULT"))
4390 - Esnprintf(ss, sizeof(ss), "%s/%s", dir, str[i]);
4391 + snprintf(ss, sizeof(ss), "%s/%s", dir, str[i]);
4393 if (readlink(ss, s, sizeof(s)) > 0)
4399 - Esnprintf(s, sizeof(s), "%s/%s", dir, s);
4400 + snprintf(s, sizeof(s), "%s/%s", dir, s);
4408 - Esnprintf(s, sizeof(s), "%s/%s", dir, str[i]);
4409 + snprintf(s, sizeof(s), "%s/%s", dir, str[i]);
4410 if ((isdir(s)) && (SanitiseThemeDir(s)))
4412 else if ((isfile(s)) && (FileExtension(s))
4413 @@ -112,12 +112,12 @@
4417 - Esnprintf(s, sizeof(s), "%s/themes", UserEDir());
4418 + snprintf(s, sizeof(s), "%s/themes", UserEDir());
4419 def = append_merge_dir(s, &list, &count);
4421 - Esnprintf(s, sizeof(s), "%s/themes", ENLIGHTENMENT_ROOT);
4422 + snprintf(s, sizeof(s), "%s/themes", ENLIGHTENMENT_ROOT);
4424 - Esnprintf(s, sizeof(s), "%s/themes", __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
4425 + snprintf(s, sizeof(s), "%s/themes", __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
4427 def2 = append_merge_dir(s, &list, &count);
4433 - Esnprintf(ss, sizeof(ss), "%s/themes/DEFAULT", UserEDir());
4434 + snprintf(ss, sizeof(ss), "%s/themes/DEFAULT", UserEDir());
4436 count = readlink(ss, s, sizeof(s));
4437 if ((exists(ss)) && (count > 0))
4442 - Esnprintf(ss, sizeof(ss), "%s/themes/%s", UserEDir(), s);
4443 + snprintf(ss, sizeof(ss), "%s/themes/%s", UserEDir(), s);
4444 def = duplicate(ss);
4451 - Esnprintf(ss, sizeof(ss), "%s/themes/DEFAULT", ENLIGHTENMENT_ROOT);
4452 + snprintf(ss, sizeof(ss), "%s/themes/DEFAULT", ENLIGHTENMENT_ROOT);
4454 - Esnprintf(ss, sizeof(ss), "%s/themes/DEFAULT",
4455 + snprintf(ss, sizeof(ss), "%s/themes/DEFAULT",
4456 __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
4463 - Esnprintf(ss, sizeof(ss), "%s/themes/%s", ENLIGHTENMENT_ROOT,
4464 + snprintf(ss, sizeof(ss), "%s/themes/%s", ENLIGHTENMENT_ROOT,
4466 def = duplicate(ss);
4470 char ss[FILEPATH_LEN_MAX];
4472 - Esnprintf(ss, sizeof(ss), "%s/themes/DEFAULT", UserEDir());
4473 + snprintf(ss, sizeof(ss), "%s/themes/DEFAULT", UserEDir());
4477 @@ -241,14 +241,14 @@
4478 /* make the temp dir */
4480 themename = fileof(theme);
4481 - Esnprintf(th, sizeof(th), "%s/themes/%s", UserEDir(), themename);
4482 + snprintf(th, sizeof(th), "%s/themes/%s", UserEDir(), themename);
4485 /* check magic numbers */
4486 if ((buf[0] == 31) && (buf[1] == 139))
4488 /*gzipped tarball */
4489 - Esnprintf(s, sizeof(s),
4490 + snprintf(s, sizeof(s),
4491 "gzip -d -c < %s | (cd %s ; tar -xf -)", theme, th);
4493 else if ((buf[257] == 'u') && (buf[258] == 's')
4495 && (buf[261] == 'r'))
4497 /*vanilla tarball */
4498 - Esnprintf(s, sizeof(s), "(cd %s ; tar -xf %s)", th, theme);
4499 + snprintf(s, sizeof(s), "(cd %s ; tar -xf %s)", th, theme);
4501 /* exec the untar if tarred */
4504 char sss[FILEPATH_LEN_MAX];
4507 - Esnprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
4508 + snprintf(sss, sizeof(sss), "/bin/rm -rf %s", themepath);
4510 - Esnprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
4511 + snprintf(sss, sizeof(sss), "rm.exe -rf %s", themepath);
4519 - Esnprintf(s, sizeof(s), "%s/themes/DEFAULT", ENLIGHTENMENT_ROOT);
4520 + snprintf(s, sizeof(s), "%s/themes/DEFAULT", ENLIGHTENMENT_ROOT);
4522 - Esnprintf(s, sizeof(s), "%s/themes/DEFAULT",
4523 + snprintf(s, sizeof(s), "%s/themes/DEFAULT",
4524 __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
4526 EDBUG_RETURN(duplicate(s));
4528 ret = ExtractTheme(theme);
4531 - Esnprintf(s, sizeof(s), "%s/themes/%s", UserEDir(), theme);
4532 + snprintf(s, sizeof(s), "%s/themes/%s", UserEDir(), theme);
4534 ret = ExtractTheme(s);
4540 - Esnprintf(s, sizeof(s), "%s/themes/%s", ENLIGHTENMENT_ROOT, theme);
4541 + snprintf(s, sizeof(s), "%s/themes/%s", ENLIGHTENMENT_ROOT, theme);
4543 - Esnprintf(s, sizeof(s), "%s/themes/%s",
4544 + snprintf(s, sizeof(s), "%s/themes/%s",
4545 __XOS2RedirRoot(ENLIGHTENMENT_ROOT), theme);
4552 - Esnprintf(s, sizeof(s),
4553 + snprintf(s, sizeof(s),
4554 _("The theme:\n" "%s\n"
4555 "Is a badly formed theme package and is thus not being used.\n"
4556 "Enlightenment has fallen back to using the DEFAULT theme.\n"
4557 diff -Nru enlightenment-0.16.6/src/tooltips.c enlightenment-0.16.6.new/src/tooltips.c
4558 --- enlightenment-0.16.6/src/tooltips.c Fri Jul 28 21:13:13 2000
4559 +++ enlightenment-0.16.6.new/src/tooltips.c Fri Jul 20 05:31:16 2001
4560 @@ -1046,7 +1046,7 @@
4564 - Esnprintf(stuff, sizeof(stuff), _("%u references remain\n"),
4565 + snprintf(stuff, sizeof(stuff), _("%u references remain\n"),
4567 DIALOG_OK(_("ToolTip Error!"), stuff);
4569 diff -Nru enlightenment-0.16.6/stamp-h enlightenment-0.16.6.new/stamp-h
4570 --- enlightenment-0.16.6/stamp-h Thu Jan 1 01:00:00 1970
4571 +++ enlightenment-0.16.6.new/stamp-h Fri Jul 20 05:11:30 2001
4574 diff -Nru enlightenment-0.16.6/src/snprintf.c enlightenment-0.16.6.new/src/snprintf.c
4575 --- enlightenment-0.16.6/src/snprintf.c Thu Aug 9 19:44:49 2001
4576 +++ enlightenment-0.16.6.new/src/snprintf.c Thu Aug 9 19:47:30 2001
4581 +#ifndef HAVE_SNPRINTF
4591 +#endif /* HAVE_SNPRINTF */