From: Petter Reinholdtsen
Date: Sun, 8 Aug 2010 22:22:27 +0000 (+0000)
Subject: Fix HTML encoding issue.
X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/bb3e234d6d631c32018521ee1c789e0c513e4a15
Fix HTML encoding issue.
---
diff --git a/blog/data/2010-08-08-fs-sematics.txt b/blog/data/2010-08-08-fs-sematics.txt
index be14807fae..30d538e323 100644
--- a/blog/data/2010-08-08-fs-sematics.txt
+++ b/blog/data/2010-08-08-fs-sematics.txt
@@ -41,24 +41,24 @@ help you find your way out again. This is the fs-test.c source:
#define _GNU_SOURCE /* for asprintf() */
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include <errno.h>
+#include <fcntl.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <sys/file.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
#ifdef TEST_SQLITE
/*
* Test sqlite open, as done by gcompris require the libsqlite3-dev
* package and linking with -lsqlite3. A more low level test is
* below.
- * See also .
+ * See also <URL: http://www.sqlite.org./faq.html#q5 >.
*/
-#include
+#include <sqlite3.h>
#define CREATE_TABLE_USERS \
"CREATE TABLE users (user_id INT UNIQUE, login TEXT, lastname TEXT, firstname TEXT, birthdate TEXT, class_id INT ); "
int test_sqlite_open(void) {
@@ -91,9 +91,9 @@ int test_sqlite_open(void) {
* work with ext3, but not with cifs server on Windows 2003. This is
* done in the sqlite3 library.
* See also
- * and the
+ * <URL:http://www.cygwin.com/ml/cygwin/2001-08/msg00854.html> and the
* POSIX specification
- * .
+ * <URL:http://www.opengroup.org/onlinepubs/009695399/functions/fcntl.html>.
*/
int test_gcompris_locking(void) {
struct flock fl;
@@ -155,7 +155,7 @@ int test_subdirectory_creation(void) {
char *dirs[LEVELS];
int level;
printf("info: testing subdirectory creation\n");
- for (level = 0; level < LEVELS; level++) {
+ for (level = 0; level < LEVELS; level++) {
char *newpath = NULL;
if (-1 == mkdir(path, 0777)) {
printf(" error: Unable to create directory '%s': %s\n",