[Bug] str(n)dup(3) typo in feature test macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey, folks.

I just stumbled upon a typo in strdup(3)-family manual page.  Took me an
hour and much cursing on flex, that strndup wasn't defined when building
with -std=c99 since it's spelled _POSIX_C_SOURCE, not POSIX_C_SOURCE.  I
should've known myself, indeed… :/

--- /usr/share/man/man3/strdup.3	2013-09-02 15:04:48.736602203 +0200
+++ strdup.3	2013-09-03 09:26:50.210203381 +0200
@@ -63,7 +63,7 @@
 .RS 4
 .TP 4
 Since glibc 2.10:
-POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700
+_POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700
 .TP
 Before glibc 2.10:
 _GNU_SOURCE


Best regards, a.
--
This signature is intentionally left blank.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux