Fix tagging bug.

This commit is contained in:
Kris Maglione 2008-03-22 13:21:29 -04:00
parent a95494a9f7
commit c017512c11
2 changed files with 5 additions and 1 deletions

View File

@ -124,6 +124,10 @@ spawn3l(int fd[3], const char *file, ...) {
return spawn3(fd, file, argv);
}
/* Only works on *BSD (only FreeBSD confirmed). GDB on my Linux
* doesn't like -x <pipe>, and /proc/%d/exe is the correct /proc
* path.
*/
void
backtrace(char *btarg) {
char *proc, *spid;

View File

@ -1085,7 +1085,7 @@ apply_tags(Client *c, const char *tags) {
if(last == '-')
add = false;
if(last == '\0')
buf[n] = '\0';
break;
}
toks[j] = nil;