1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-01 11:32:34 +01:00

- added strcasecmp() to WINGs (only on systems that don't have it)

- removed some redundant includes of ../src/config.h where wconfig.h
  is also included
This commit is contained in:
dan
2001-11-17 04:26:08 +00:00
parent 7688a9f626
commit af287fb8eb
9 changed files with 24 additions and 10 deletions

View File

@@ -16,6 +16,7 @@ Changes since version 0.70.0:
- SIGTERM is now handled and saves the internal state before exiting (like
SIGHUP and SIGINT already do). Now a "kill wmaker_pid" will exit cleanly
saving dock/clip/session information on exit.
- added an internal strcasecmp() to WINGs (only on systems where's not present)
Changes since version 0.65.1:

View File

@@ -1,3 +1,11 @@
Changes since wmaker 0.70.0:
............................
- added an internal strcasecmp() (only on systems where is not present)
- removed some redundant includes of ../src/config.h when wconfig.h is
included too
Changes since wmaker 0.65.0:
............................

View File

@@ -28,7 +28,6 @@
*/
#include "../src/config.h"
#include "wconfig.h"
#include <unistd.h>

View File

@@ -19,8 +19,6 @@
*/
#include "../src/config.h"
#include "wconfig.h"
#include <stdio.h>

View File

@@ -19,8 +19,6 @@
*/
#include "../src/config.h"
#include "wconfig.h"
#include "WUtil.h"

View File

@@ -19,8 +19,6 @@
*/
#include "../src/config.h"
#include "wconfig.h"
#include <unistd.h>

View File

@@ -1,4 +1,6 @@
#include "wconfig.h"
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
@@ -217,4 +219,17 @@ wstrappend(char *dst, char *src)
}
#ifndef HAVE_STRCASECMP
int
strcasecmp(const char *s1, const char *s2)
{
while (*s1 && *s2 && (tolower(*s1)==tolower(*s2))) {
s1++;
s2++;
}
return (tolower(*s1) - tolower(*s2));
}
#endif

View File

@@ -7,8 +7,6 @@
#include <sys/stat.h>
#include "../src/config.h"
#include "wconfig.h"
#include "WINGs.h"

View File

@@ -24,7 +24,6 @@
* - Resizing
*/
#include "../src/config.h"
#include "wconfig.h"
#include "WINGsP.h"
#include <math.h>