plan9fox/sys/src
cinap_lenrek 6118d77858 ape: reimplement rename() - fixing compiler warnings and handling more error cases
handle empty filename, dot and dotdot. handle mismatching from/to directory/file
type. cleanup destination file on error. error when attempting to copy non-empty
directories.

little test program:

#include <unistd.h>
#include <stdio.h>

int
main(int argc, char *argv[])
{
	if(argc != 3){
		fprintf(stderr, "usage: %s old new\n", argv[0]);
		return 1;
	}
	if(rename(argv[1], argv[2])){
		perror("rename");
		return 1;
	}
	return 0;
}
2019-06-24 20:09:04 +02:00
..
9 bcm, kw, omap, teg2: implement setregisters() 2019-06-20 13:17:36 +02:00
ape ape: reimplement rename() - fixing compiler warnings and handling more error cases 2019-06-24 20:09:04 +02:00
boot add /sys/src/boot/bcm/mkfile to download raspberry pi bootcode firmware 2018-10-22 00:15:39 +02:00
cmd 8c, 6c: LEA x, R; MOV (R), R -> MOV x, R 2019-06-24 19:38:46 +02:00
games wadfs: avoid comma operator after PBIT32() macros 2019-05-07 21:49:49 +02:00
lib9p lib9p: fix zero msize abort() due to unknown version (thanks kivik) 2019-03-01 01:43:55 +01:00
libaml libaml: allow amlmapio() to re-enter the interpreter (can happen by pciadd() -> amleval()) 2018-11-04 19:48:27 +01:00
libauth separate MSCHAP(v2) and NTLM(v2) authentication 2018-05-20 22:49:24 +02:00
libauthsrv libauthsrv: authdial smprint() out of memory autism 2019-04-06 20:23:00 +02:00
libavl replica: use libavl for avl tree implementation 2017-04-22 14:28:02 -05:00
libbin
libbio bio: add support for custom I/O handler via Biofn 2017-05-04 17:42:12 +00:00
libc Add test for pow.c 2019-06-16 18:21:52 -07:00
libcomplete
libcontrol /sys/src/lib*: clean up 2016-11-17 22:58:16 +01:00
libdisk libdisk: catch null bytes in proto file, fix memory leaks 2018-10-20 20:32:22 +02:00
libdraw libdraw: avoid deadlock for mouse ioproc sending on resizec 2018-11-18 03:37:04 +01:00
libdtracy dtracy: avoid dmachlock() race 2019-03-30 09:17:46 +01:00
libfis libfis: fix inverted CHS bit 2017-06-25 23:23:56 +00:00
libflate libflate: force non-empty huffman table in mkzprecode() for deflate 2017-12-09 18:20:29 +01:00
libframe /sys/src/lib*: clean up 2016-11-17 22:58:16 +01:00
libgeometry
libhtml libhtml: increase Nestmax to render some convoluted pages (thanks fernan) 2018-09-23 23:35:41 +02:00
libhttpd
libip libip: move optimized 386 assembly version of ptclbsum() from kernel to libip 2019-02-27 18:29:08 +01:00
libjson
liblex
libmach libmach: remove newline 2019-05-09 10:27:17 +02:00
libmemdraw libmemdraw: remove static Point p00 and use ZP instead 2019-03-09 17:36:19 +01:00
libmemlayer libmemdraw/libmemlayer: get rid of drawdebug prints 2017-04-29 21:10:28 +02:00
libmp libmp: add dummy mkfile for arm64 2019-05-03 21:02:13 +02:00
libndb ip/ipconfig, ndb/dns, libndb: handle parseipmask() errors 2019-02-12 21:44:57 +01:00
libplumb libplumb: fix plumbunpackpartial() 2018-05-10 19:46:38 +02:00
libregexp libregexp: fix lexer so it doesnt move past the string when it gets a \ escape 2017-07-31 06:56:22 +02:00
libsat libsat, forp: fix va_list hack on amd64 2018-04-24 12:20:07 +01:00
libscribble /sys/src/lib*: clean up 2016-11-17 22:58:16 +01:00
libsec libsec: dummy mkfile for arm64 2019-05-03 21:01:29 +02:00
libstdio stdio: fix sclose() buffer overrun when terminating string, realloc() error handling (thanks porlock) 2016-11-27 21:20:27 +01:00
libString
libsunrpc
libthread libthread: initial support for arm64 2019-05-03 21:03:12 +02:00
libttf ttf: SHZ also uses 0x36 2018-10-16 19:26:40 +00:00
libventi /sys/src/lib*: clean up 2016-11-17 22:58:16 +01:00
mkfile add dtracy to mkfile 2018-11-11 10:10:30 +00:00
mkfile.proto arm64: add mkfile 2019-05-03 21:12:31 +02:00