Check-in [8e0da47996]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:latest upstream fnc 26adf1707c
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8e0da47996461a2b7d1b3b4493672dd69d8be82e815ac226cf68204bbdbf716b
User & Date: mark 2024-09-15 11:11:56
Original Comment: latest upstream fnc [26adf1707c]
Context
2024-09-16
10:07
Doc typo fix reported in the forum. check-in: 391184a785 user: stephan tags: trunk
2024-09-15
11:11
latest upstream fnc 26adf1707c check-in: 8e0da47996 user: mark tags: trunk
09:55
Remove -DSQLITE_USE_ALLOCA from build flags. No idea why it was there but it causes grief (see /forumpost/f4f1fdb1df). check-in: 6f743f092d user: stephan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to client/fnc/fnc.c.

13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832

			lower = strdup(option);
			if (lower == NULL) {
				free(optval);
				return RC_ERRNO("strdup");
			}
			for (t = lower; *t != '\0'; ++t)
				*t = tolower(*t);
			envval = getenv(lower);
			free(lower);
		}
	}

	if (ls && (optval != NULL || envval != NULL)) {
		char *showopt;







|







13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832

			lower = strdup(option);
			if (lower == NULL) {
				free(optval);
				return RC_ERRNO("strdup");
			}
			for (t = lower; *t != '\0'; ++t)
				*t = tolower((unsigned char)*t);
			envval = getenv(lower);
			free(lower);
		}
	}

	if (ls && (optval != NULL || envval != NULL)) {
		char *showopt;

Changes to client/fnc/fnc_compat.h.

43
44
45
46
47
48
49




50
51
52
53
54
55
56

#if __has_include("linux/landlock.h")
#define HAVE_LANDLOCK
#endif

#endif  /* __has_include */
#endif  /* __linux__ */





#if !defined(__linux__) && !defined(__APPLE__)
#define HAVE_REALLOCARRAY
#define HAVE_BSD_STRING
#define HAVE_STRTONUM
#endif








>
>
>
>







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

#if __has_include("linux/landlock.h")
#define HAVE_LANDLOCK
#endif

#endif  /* __has_include */
#endif  /* __linux__ */

#ifdef __NetBSD__
#define _OPENBSD_SOURCE		/* strtonum(3) */
#endif

#if !defined(__linux__) && !defined(__APPLE__)
#define HAVE_REALLOCARRAY
#define HAVE_BSD_STRING
#define HAVE_STRTONUM
#endif