search for: strmode

Displaying 20 results from an estimated 37 matches for "strmode".

Did you mean: st_mode
2008 Jan 07
0
[PATCH] Replaced int with mode_t as requested
...-compat.h,v retrieving revision 1.43 diff -u -p -r1.43 openbsd-compat.h --- openssh/openbsd-compat/openbsd-compat.h 25 Jun 2007 12:15:13 -0000 1.43 +++ openssh/openbsd-compat/openbsd-compat.h 7 Jan 2008 06:58:54 -0000 @@ -84,7 +84,7 @@ int setenv(register const char *name, re #endif #ifndef HAVE_STRMODE -void strmode(int mode, char *p); +void strmode(mode_t mode, char *p); #endif #if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) Index: openssh/openbsd-compat/strmode.c =================================================================== RCS file: /cvs/openssh/openbsd-compat/strmode.c,v r...
2001 Jun 06
2
Failure to compile OpenSSH.
...ptypedef) typedef unsigned int u_int32_t; /* 32 bits */ ---------------------^ gmake: *** [radix.o] Error 1 (5) cc -Ae -I/afs/bi/p/include -Ae -I. -I.. -I. -I./.. -I/afs/bi/v/@sys/libraries/openssl/latest/include -D_HPUX_SOURCE -I/usr/athena/include -I/usr/afsws/include -DHAVE_CONFIG_H -c strmode.c cc: "../openbsd-compat/glob.h", line 48: warning 617: Redeclaration of tag "stat" ignored. cc: "strmode.c", line 45: error 1711: Inconsistent parameter list declaration for "strmode". gmake[1]: *** [strmode.o] Error 1 gmake[1]: Leaving directory `/scratch/o...
2001 Jun 07
0
non-ansi function in openbsd-compat
I ran across one file in the openbsd-compat directory, strmode.c, that was not using an ANSI C function declaration. One compiler (HPUX's cc -Ae) wouldn't let it pass. Here's a patch. - Dave Dykstra *** openbsd-compat/strmode.c.O Wed Jun 6 17:32:44 2001 --- openbsd-compat/strmode.c Wed Jun 6 17:32:59 2001 *************** *** 43,51 **** #in...
2001 Sep 12
3
lastlog with hp-ux 10.20
i haven't heard of problems with configure/lastlog on 10.20. i'll copy the development list as there are folks there who use 10.20. On Thu, 6 Sep 2001, Jesse Caldwell wrote: :one last problem with openssh -- building openssh on HPUX 10.20 fails :on loginrec.c (i don't have the errors handy but i would be more than :happy to recreate them). i get the same error with 2.9p2 and 9/6/2001
2001 Jun 07
0
Patch for systems with no setreuid()
...rusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp utimes vsnprintf vhangup vis waitpid _getpty __b64_ntop +for ac_func in arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glo...
2001 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
...rusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp utimes vsnprintf vhangup vis waitpid _getpty __b64_ntop) +AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell gl...
2001 Jan 23
11
cc & no 64bit int patches
Here are a couple of patches against the CVS (Jan 22 18:41 PST) Some C++ comments found their way into ssh.h The no64.patch puts ifdefs around buffer_get_int64() now in bufaux.[c,h] -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net -------------- next part -------------- --- ssh.h.old Mon Jan 22 18:40:58 2001 +++ ssh.h Mon Jan 22 19:02:02 2001 @@ -25,8 +25,10 @@ # include
2019 Oct 26
2
ls permissions format changed in CentOS 8
...eutils SRPM and it won't build because it wants texinfo and dnf says it doesn't exist, using either the builddep or search subcommands. (There may be other builddep issues but texinfo is notable for being in the vault's SRPMs but not on the mirrors.) I think the problem likes in the strmode API used in ls.c and it seems like that comes from libbsd, but I can't be sure until I get a workable build tree so the coreutils SRPM will install. BTW, another data point: I chmod'd a file to 0000 and now all I get is "-." for the mode string. It completely chops everything...
2001 Sep 29
0
configure.in fixes for 2.9.9p2
...ttyent glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty readpassphrase realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid setvbuf sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep sysconf tcgetpgrp utimes vsnprintf vhangup waitpid _getpty __b64_ntop) +AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getopt getnameinfo getrlimit getrusage getttyent glob inet_aton inet_n...
2002 Jun 25
2
Linux 2.2 + borken mmap() round 1
...==================================================== RCS file: /var/cvs/openssh/configure.ac,v retrieving revision 1.69 diff -u -r1.69 configure.ac --- configure.ac 24 Jun 2002 16:26:49 -0000 1.69 +++ configure.ac 25 Jun 2002 00:16:06 -0000 @@ -574,6 +574,30 @@ socketpair strerror strlcat strlcpy strmode strsep sysconf tcgetpgrp \ truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty) +if test $ac_cv_func_mmap = yes ; then +AC_MSG_CHECKING([for mmap anon shared]) +AC_TRY_RUN( + [ +#include <stdio.h> +#include <sys/mman.h> +#if !defined(MAP_ANON) && defined(MAP_ANONYMOU...
2001 Feb 12
5
SCO OS3 build broken (CVS 01/12/01)
It looks like something got broken in openbsd-compat/bsd-snprintf.c ... gcc -g -O2 -Wall -Dftruncate=chsize -I/usr/local/include -I/usr/local/ssl/includ e -I. -I.. -I../src/openbsd-compat -I../src/openbsd-compat/.. -DHAVE_CONFIG_H -c ../src/openbsd-compat/bsd-snprintf.c In file included from ../src/openbsd-compat/bsd-snprintf.c:72:
2019 Oct 26
0
Can't rebuild coreutils package under CentOS 8: Missing build dependencies
...man. I can't find either a source or binary package for that. (I see one in the CentOS 7 repo.) Another missing dependency is 'perl(Unicode::EastAsianWidth)'. dnf can't find a package that supplies that. (The end goal is to figure out where ls.c is getting an implementation of strmode() which is doing weird things, truncating the mode string when the user or group field is zero.)
2002 Oct 25
0
NeXT Community
...\ + mkdtemp ngetaddrinfo openpty ogetaddrinfo readpassphrase \ realpath recvmsg rresvport_af sendmsg setdtablesize setegid \ setenv seteuid setgroups setlogin setproctitle setresgid setreuid \ setrlimit setsid setpcred setvbuf sigaction sigvec snprintf \ socketpair strerror strlcat strlcpy strmode sysconf tcgetpgrp \ truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty) + +dnl Make sure that mmap prototype is defined before defining HAVE_MMAP +AC_CHECK_DECL(mmap, [AC_CHECK_FUNCS(mmap)]) dnl Make sure strsep prototype is defined before defining HAVE_STRSEP AC_CHECK_DECL(strsep, [...
2003 Dec 22
0
(no subject)
...d-wai tpid.o fake-rfc2553.o xmmap.o xcrypt.o base64.o basename.o bindresvport.o daemon .o dirname.o getcwd.o getgrouplist.o getopt.o getrrsetbyname.o glob.o inet_aton. o inet_ntoa.o inet_ntop.o mktemp.o readpassphrase.o realpath.o rresvport.o seten v.o setproctitle.o sigact.o strlcat.o strlcpy.o strmode.o strsep.o vis.o port-ir ix.o port-aix.o /usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libfl.sl /usr/lib/dld.sl: No such file or directory *** Termination signal 134 Stop. *** Error exit code 1 Stop. Terry Buckley Software - Contractor B. Braun Medical Inc. HC-RD-US03 Phone: 9...
2015 Aug 31
0
[ANNOUNCE] xf86-input-libinput 0.14.0
...s for users the feature is implemented here. Aside from that, a couple of cleanups in preparation for BSD support. Though expect lots more work needed before libinput is usable on BSD, these were just some low-hanging fruit. Martin Pieuchot (2): Rename a local variable to not shadow the BSD strmode(3) function. Remove unneeded header, epoll(7) interface is not directly used. Peter Hutterer (7): Rename main source file to x86libinput.c gitignore: add patterns for automake test suite and misc other bits Add drag lock support Add an option to disable horizontal scr...
2019 Oct 26
2
ls permissions format changed in CentOS 8
Found it. It happens from the process buffer inside Lugaru Epsilon. I think ls thinks it's doing a DIRED output instead of a shell output. Now I need to figure out why it thinks that. This wasn't happening in CentOS 7.
2001 Feb 13
1
configure.in reorder patch
...ddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent inet_aton inet_ntoa innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv seteuid setlogin setproctitle setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp utimes vsnprintf vhangup vis waitpid _getpty __b64_ntop) -dnl Checks for time functions -AC_CHECK_FUNCS(gettimeofday time) -dnl Checks for libutil functions -AC_CHECK_HEADERS(libutil.h) -AC_CHECK_FUNCS(login logout updwtmp logwtmp) -dnl Checks for utmp fun...
2002 Jun 06
9
[Bug 261] AIX capabilities + port-aix.c cleanup
http://bugzilla.mindrot.org/show_bug.cgi?id=261 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|other |AIX ------- Additional Comments From dtucker at zip.com.au 2002-06-06 21:22 ------- I finally got a chance to try this. I got compile
2002 Feb 15
1
IRIX cleanup.
...penbsd-compat/Makefile.in Thu Feb 14 22:50:17 2002 @@ -18,7 +18,7 @@ OPENBSD=base64.o bindresvport.o daemon.o dirname.o getcwd.o getgrouplist.o getopt.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o readpassphrase.o realpath.o rresvport.o setenv.o setproctitle.o sigact.o strlcat.o strlcpy.o strmode.o strsep.o -COMPAT=bsd-arc4random.o bsd-cray.o bsd-cygwin_util.o bsd-misc.o bsd-nextstep.o bsd-snprintf.o bsd-waitpid.o fake-getaddrinfo.o fake-getnameinfo.o +COMPAT=bsd-arc4random.o bsd-cray.o bsd-cygwin_util.o bsd-irix.o bsd-misc.o bsd-nextstep.o bsd-snprintf.o bsd-waitpid.o fake-getaddrinfo.o f...
2008 Jan 08
2
have configure generate header dependencies automatically
...OMPAT_INCLUDES=@COMPAT_INCLUDES@ OPENBSD=base64.o basename.o bindresvport.o daemon.o dirname.o getcwd.o getgrouplist.o getopt.o getrrsetbyname.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o readpassphrase.o realpath.o rresvport.o setenv.o setproctitle.o sha2.o sigact.o strlcat.o strlcpy.o strmode.o strsep.o strtonum.o strtoll.o strtoul.o vis.o @@ -22,14 +23,14 @@ COMPAT=bsd-arc4random.o bsd-asprintf.o b PORTS=port-aix.o port-irix.o port-linux.o port-solaris.o port-tun.o port-uw.o -.c.o: +.c.o: ../config.h $(COMPAT_INCLUDES) $(CC) $(CFLAGS) $(CPPFLAGS) -c $< all: libopenbsd-co...